launches a submake for _freeze_importlib before all the object files have
been compiled. List $(LIBRARY_OBJS_OMIT_FROZEN) as dependencies to make it
wait until it is safe to launch the submake.
Should fix occasional errors of the sort:
Python/Python-ast.o: file not recognized: File truncated
*** [Modules/_freeze_importlib] Error code 1
python27. From J. Lewis Muir.
Note that the correct way to solve this is to do this in the Darwin
specific config files, but until that has landed, this at least fixes the
build.
Python 3.3.6 was released on October 11, 2014.
Python 3.3.6 includes fixes for a few of our previously added patches,
as well as other important security-related fixes. Local changes:
rename the configure patch, remove now-included patches.
Upstream list of changes for this version:
Core and Builtins
-----------------
- Issue #22518: Fixed integer overflow issues in "backslashreplace",
"xmlcharrefreplace", and "surrogatepass" error handlers.
- Issue #22520: Fix overflow checking when generating the repr of a unicode
object.
- Issue #22519: Fix overflow checking in PyBytes_Repr.
- Issue #22518: Fix integer overflow issues in latin-1 encoding.
Library
-------
- Issue #22517: When a io.BufferedRWPair object is deallocated, clear its
weakrefs.
- Issue #22419: Limit the length of incoming HTTP request in wsgiref server to
65536 bytes and send a 414 error code for higher lengths. Patch contributed
by Devin Cook.
- Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers. Reported by
Sergey Bobrov.
- Issue #21766: Prevent a security hole in CGIHTTPServer by URL unquoting paths
before checking for a CGI script at that path.
- Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second
parameter. Bug reported by Guido Vranken.
- Issue #20633: Replace relative import by absolute import.
- Issue #21082: In os.makedirs, do not set the process-wide umask. Note this
changes behavior of makedirs when exist_ok=True.
- Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa.
- Issue #11599: When an external command (e.g. compiler) fails, distutils now
prints out the whole command line (instead of just the command name) if the
environment variable DISTUTILS_DEBUG is set.
- Issue #4931: distutils should not produce unhelpful "error: None" messages
anymore. distutils.util.grok_environment_error is kept but doc-deprecated.
- Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
- Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435. Patch by Zach Byrne.
Tests
-----
- Issue #17752: Fix distutils tests when run from the installed location.
- Issue #20946: Correct alignment assumptions of some ctypes tests.
- Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
Python 3.3.5 was released on March 9th, 2014.
Python 3.3.5 includes fixes for these important issues:
a 3.3.4 regression in zipimport (see http://bugs.python.org/issue20621)
a 3.3.4 regression executing scripts with a coding declared
and Windows newlines (see http://bugs.python.org/issue20731)
potential DOS using compression codecs in bytes.decode() (see
http://bugs.python.org/issue19619 and
http://bugs.python.org/issue20404)
and also fixes quite a few other bugs.
This release fully supports OS X 10.9 Mavericks. In particular,
this release fixes an issue that could cause previous versions of
Python to crash when typing in interactive mode on OS X 10.9.
PEP 380, syntax for delegating to a subgenerator (yield from)
PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds)
A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications
The import system (__import__) is based on importlib by default
The new "lzma" module with LZMA/XZ support
PEP 397, a Python launcher for Windows
PEP 405, virtual environment support in core
PEP 420, namespace package support
PEP 3151, reworking the OS and IO exception hierarchy
PEP 3155, qualified name for classes and functions
PEP 409, suppressing exception context
PEP 414, explicit Unicode literals to help with porting
PEP 418, extended platform-independent clocks in the "time" module
PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code
PEP 362, the function-signature object
The new "faulthandler" module that helps diagnosing crashes
The new "unittest.mock" module
The new "ipaddress" module
The "sys.implementation" attribute
A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing
A "collections.ChainMap" class for linking mappings to a single unit
Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()"
Hash randomization, introduced in earlier bugfix releases, is now switched on by default
PEP 380, syntax for delegating to a subgenerator (yield from)
PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds)
A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications
The import system (__import__) is based on importlib by default
The new "lzma" module with LZMA/XZ support
PEP 397, a Python launcher for Windows
PEP 405, virtual environment support in core
PEP 420, namespace package support
PEP 3151, reworking the OS and IO exception hierarchy
PEP 3155, qualified name for classes and functions
PEP 409, suppressing exception context
PEP 414, explicit Unicode literals to help with porting
PEP 418, extended platform-independent clocks in the "time" module
PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code
PEP 362, the function-signature object
The new "faulthandler" module that helps diagnosing crashes
The new "unittest.mock" module
The new "ipaddress" module
The "sys.implementation" attribute
A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing
A "collections.ChainMap" class for linking mappings to a single unit
Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()"
Hash randomization, introduced in earlier bugfix releases, is now switched on by default
* building some modules (lzma) on Darwin (use PREFIX, instead of /usr/local, to look for libraries)
* building decimal module on certain enviroments (use relative path to look for includes, as absolute path might get rejected by a wrapper)
are replaced with .include "../../devel/readline/buildlink3.mk", and
USE_GNU_READLINE are removed,
* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
are replaced with .include "../../mk/readline.buildlink3.mk".
remove unnecessary conditional that broke build on NetBSD-6.99.15/amd64.
While here, replace another interpreter and skip one more file since
it gets replaced much later.
Bump PKGREVISION.