Commit graph

20 commits

Author SHA1 Message Date
bsiegert
0ca281f42f Disable nis module entirely on ChromeOS. 2017-11-22 18:57:05 +00:00
wiz
4afd9f4686 python*: remove patch for py_curses.h that doesn't make sense to me
(nor upstream)

If this is still needed, please explain it. Thanks.
2017-11-01 21:51:21 +00:00
adam
7bd4da0f00 python36: update to 3.6.3
Python 3.6.3 final
Library
* bpo-31641: Re-allow arbitrary iterables in concurrent.futures.as_completed(). Fixes regression in 3.6.3rc1.

Build
* bpo-31662: Fix typos in Windows uploadrelease.bat script. Fix Windows Doc build issues in Doc/make.bat.
* bpo-31423: Fix building the PDF documentation with newer versions of Sphinx.

More here https://docs.python.org/3.6/whatsnew/changelog.html
2017-10-05 08:17:25 +00:00
wiz
42426a5a45 Follow some redirects. 2017-09-03 08:53:04 +00:00
adam
af59e928be Python 3.6.2 is the second maintenance release of Python 3.6, which was initially released in 2016-12 to great interest. With the release of 3.6.2, we are now providing the second set of bugfixes and documentation updates to 3.6. Detailed information about the changes made in 3.6.2 can be found in its change log. 2017-07-18 13:43:39 +00:00
maya
e9763a67cf python36: bump PKGREVISION for socketcan support on netbsd 2017-05-30 14:08:26 +00:00
wiz
01b12b42ce Remove unnecessary chunk. 2017-05-30 13:57:16 +00:00
bouyer
e6ac265631 Add support for NetBSD's socketcan implementation.
Tested with the example from
http://www.bencz.com/hacks/2016/07/10/python-and-socketcan/
Needs <netcan/can.h> rev 1.3 or newer.
2017-05-30 13:36:39 +00:00
he
4549cc4bd4 Fix a build issue observed on NetBSD/macppc, in that alloca() is left
as an unresolved undefined symbol, causing the install to fail due to
PLIST issues.  Change from -std=c99 to -std=gnu99 to work around this
problem, based on hint from joerg@.
Bump PKGREVISION.
2017-05-29 23:06:45 +00:00
jperkin
86e6e149db Add support for the dtrace option. 2017-05-23 10:53:56 +00:00
adam
caad1fde4c Python 3.6.1 is the first maintenance release of Python 3.6. The Python 3.6 series contains many new features and optimizations. See the What’s New In Python 3.6 document for more information.
Major new features of the 3.6 series, compared to 3.5
Among the new major new features in Python 3.6 are:

PEP 468, Preserving Keyword Argument Order
PEP 487, Simpler customization of class creation
PEP 495, Local Time Disambiguation
PEP 498, Literal String Formatting
PEP 506, Adding A Secrets Module To The Standard Library
PEP 509, Add a private version to dict
PEP 515, Underscores in Numeric Literals
PEP 519, Adding a file system path protocol
PEP 520, Preserving Class Attribute Definition Order
PEP 523, Adding a frame evaluation API to CPython
PEP 524, Make os.urandom() blocking on Linux (during system startup)
PEP 525, Asynchronous Generators (provisional)
PEP 526, Syntax for Variable Annotations (provisional)
PEP 528, Change Windows console encoding to UTF-8
PEP 529, Change Windows filesystem encoding to UTF-8
PEP 530, Asynchronous Comprehensions
2017-03-30 11:42:58 +00:00
jperkin
58be9cd02d Put back bdb bl3, required for the dbm module. 2017-02-01 11:47:45 +00:00
jperkin
ed8ad44d8f Remove obsolete bsddb bits carried over from python2. Patch from jcea in
joyent/pkgsrc#457.
2017-01-26 09:45:23 +00:00
adam
f7c0d6050f Again, remove platform name from config path; also remove _multiarch component in get_makefile_filename() to reflect the former change. 2017-01-26 09:13:27 +00:00
ryoon
648713031c Fix packaging on NetBSD (and hopefully other platforms)
* Always include a platform string in a config directory name
2017-01-25 21:40:24 +00:00
adam
17facb89ef Revert config directory naming to include platform name, so sysconfig.get_makefile_filename() works again. 2017-01-25 19:35:49 +00:00
leot
f81fdea9c7 Update PLIST.{Linux,SunOS} to reflect removed plat-* modules.
According to Python 3.6 changelog:

 The undocumented IN, CDROM, DLFCN, TYPES, CDIO, and STROPTS modules have been
 removed. They had been available in the platform specific Lib/plat-*/
 directories, but were chronically out of date, inconsistently available across
 platforms, and unmaintained. The script that created these modules is still
 available in the source distribution at Tools/scripts/h2py.py.

No PKGREVISION bump since they failed to install on these platforms.

TODO: PLIST.IRIX entries seems to still contains plat-* modules but the ones
TODO: contained are not explicitly documented in the changelog, so they can
TODO: maybe still installed.

Pointed out by Joyent's Linux and SmartOS bulk builds and thanks to <jperkin>
for testing it!
2017-01-19 11:15:52 +00:00
roy
29ae3646e0 Fix prior patches to use is_pad(3) rather than is_keypad(3).
Bump py-curses.
2017-01-05 23:16:42 +00:00
roy
542734c11b Update curses patch from prior python35 patch. 2017-01-02 21:14:53 +00:00
adam
a03b1eff53 What’s New In Python 3.6
Summary – Release highlights
New syntax features:

PEP 498, formatted string literals.
PEP 515, underscores in numeric literals.
PEP 526, syntax for variable annotations.
PEP 525, asynchronous generators.
PEP 530: asynchronous comprehensions.
New library modules:

secrets: PEP 506 – Adding A Secrets Module To The Standard Library.
CPython implementation improvements:

The dict type has been reimplemented to use a more compact representation based on a proposal by Raymond Hettinger and similar to the PyPy dict implementation. This resulted in dictionaries using 20% to 25% less memory when compared to Python 3.5.
Customization of class creation has been simplified with the new protocol.
The class attribute definition order is now preserved.
The order of elements in **kwargs now corresponds to the order in which keyword arguments were passed to the function.
DTrace and SystemTap probing support has been added.
The new PYTHONMALLOC environment variable can now be used to debug the interpreter memory allocation and access errors.
Significant improvements in the standard library:

The asyncio module has received new features, significant usability and performance improvements, and a fair amount of bug fixes. Starting with Python 3.6 the asyncio module is no longer provisional and its API is considered stable.
A new file system path protocol has been implemented to support path-like objects. All standard library functions operating on paths have been updated to work with the new protocol.
The datetime module has gained support for Local Time Disambiguation.
The typing module received a number of improvements and is no longer provisional.
The tracemalloc module has been significantly reworked and is now used to provide better output for ResourceWarning as well as provide better diagnostics for memory allocation errors. See the PYTHONMALLOC section for more information.
Security improvements:

The new secrets module has been added to simplify the generation of cryptographically strong pseudo-random numbers suitable for managing secrets such as account authentication, tokens, and similar.
On Linux, os.urandom() now blocks until the system urandom entropy pool is initialized to increase the security. See the PEP 524 for the rationale.
The hashlib and ssl modules now support OpenSSL 1.1.0.
The default settings and feature set of the ssl module have been improved.
The hashlib module received support for the BLAKE2, SHA-3 and SHAKE hash algorithms and the scrypt() key derivation function.
2017-01-01 14:34:26 +00:00