--- - branch: MAIN date: Sat Jul 2 15:05:43 UTC 2016 files: - new: '1.61' old: '1.60' path: pkgsrc/lang/python27/Makefile pathrev: pkgsrc/lang/python27/Makefile@1.61 type: modified - new: '1.15' old: '1.14' path: pkgsrc/lang/python27/PLIST.common pathrev: pkgsrc/lang/python27/PLIST.common@1.15 type: modified - new: '1.12' old: '1.11' path: pkgsrc/lang/python27/dist.mk pathrev: pkgsrc/lang/python27/dist.mk@1.12 type: modified - new: '1.55' old: '1.54' path: pkgsrc/lang/python27/distinfo pathrev: pkgsrc/lang/python27/distinfo@1.55 type: modified - new: '1.4' old: '1.3' path: pkgsrc/lang/python27/patches/patch-Lib_distutils_unixccompiler.py pathrev: pkgsrc/lang/python27/patches/patch-Lib_distutils_unixccompiler.py@1.4 type: modified id: 20160702T150543Z.d8c786a800426fe7c3ccdd57b5fc1d4b2ff5933a log: "Changes 2.7.2:\n\nCore and Builtins\n-----------------\n- Issue 20041: Fixed TypeError when frame.f_trace is set to None.\n Patch by Xavier de Gaye.\n\n- Issue 25702: A --with-lto configure option has been added that will\n enable link time optimizations at build time during a make profile-opt.\n Some compilers and toolchains are known to not produce stable code when\n using LTO, be sure to test things thoroughly before relying on it.\n It can provide a few % speed up over profile-opt alone.\n\n- Issue 26168: Fixed possible refleaks in failing Py_BuildValue() with the \"N\"\n format unit.\n\n- Issue 27039: Fixed bytearray.remove() for values greater than 127. Patch by\n Joe Jevnik.\n\n- Issue 4806: Avoid masking the original TypeError exception when using star\n (*) unpacking and the exception was raised from a generator. Based on\n patch by Hagen Fürstenau.\n\n- Issue 26659: Make the builtin slice type support cycle collection.\n\n- Issue 26718: super.__init__ no longer leaks memory if called multiple times.\n NOTE: A direct call of super.__init__ is not endorsed!\n\n- Issue 13410: Fixed a bug in PyUnicode_Format where it failed to properly\n ignore errors from a __int__() method.\n\n- Issue 26494: Fixed crash on iterating exhausting iterators.\n Affected classes are generic sequence iterators, iterators of bytearray,\n list, tuple, set, frozenset, dict, OrderedDict and corresponding views.\n\n- Issue 26581: If coding cookie is specified multiple times on a line in\n Python source code file, only the first one is taken to account.\n\n- Issue 22836: Ensure exception reports from PyErr_Display() and\n PyErr_WriteUnraisable() are sensible even when formatting them produces\n secondary errors. This affects the reports produced by\n sys.__excepthook__() and when __del__() raises an exception.\n\n- Issue 22847: Improve method cache efficiency.\n\n- Issue 25843: When compiling code, don't merge constants if they are equal\n but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0``\n is now correctly compiled to two different functions: ``f1()`` returns ``1``\n (``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0``\n \ are equal.\n\n- Issue 22995: [UPDATE] Remove the one of the pickleability tests in\n _PyObject_GetState() due to regressions observed in Cython-based projects.\n\n- Issue 25961: Disallowed null characters in the type name.\n\n- Issue 22995: Instances of extension types with a state that aren't\n subclasses of list or dict and haven't implemented any pickle-related\n methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,\n or __getstate__), can no longer be pickled. \ Including memoryview.\n\n- Issue 20440: Massive replacing unsafe attribute setting code with special\n macro Py_SETREF.\n\n- Issue 25421: __sizeof__ methods of builtin types now use dynamic basic size.\n This allows sys.getsize() to work correctly with their subclasses with\n __slots__ defined.\n\n- Issue 19543: Added Py3k warning for decoding unicode.\n\n- Issue 24097: Fixed crash in object.__reduce__() if slot name is freed inside\n __getattr__.\n\n- Issue 24731: Fixed crash on converting objects with special methods\n __str__, __trunc__, and __float__ returning instances of subclasses of\n str, long, and float to subclasses of str, long, and float correspondingly.\n\n- Issue 26478: Fix semantic bugs when using binary operators with dictionary\n views and tuples.\n\n- Issue 26171: Fix possible integer overflow and heap corruption in\n zipimporter.get_data().\n\nLibrary\n-------\n- Issue 26556: Update expat to 2.1.1, fixes CVE-2015-1283.\n\n- Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team\n Oststrom\n\n- Issue 7356: ctypes.util: Make parsing of ldconfig output independent of the\n locale.\n\n- Issue 25738: Stop BaseHTTPServer.BaseHTTPRequestHandler.send_error() from\n sending a message body for 205 Reset Content. Also, don't send the\n Content-Type header field in responses that don't have a body. Based on\n patch by Susumu Koshiba.\n\n- Issue 21313: Fix the \"platform\" module to tolerate when sys.version\n contains truncated build information.\n\n- Issue 27211: Fix possible memory corruption in io.IOBase.readline().\n\n- Issue 27114: Fix SSLContext._load_windows_store_certs fails with\n PermissionError\n\n- Issue 14132: Fix urllib.request redirect handling when the target only has\n a query string. Fix by Ján Janech.\n\n- Removed the requirements for the ctypes and modulefinder modules to be\n compatible with earlier Python versions.\n\n- Issue 22274: In the subprocess module, allow stderr to be redirected to\n stdout even when stdout is not redirected. Patch by Akira Li.\n\n- Issue 12045: Avoid duplicate execution of command in ctypes.util._get_soname().\n \ Patch by Sijin Joseph.\n\n- Issue 26960: Backported 16270 from Python 3 to Python 2, to prevent urllib\n from hanging when retrieving certain FTP files.\n\n- Issue 25745: Fixed leaking a userptr in curses panel destructor.\n\n- Issue 17765: weakref.ref() no longer silently ignores keyword arguments.\n Patch by Georg Brandl.\n\n- Issue 26873: xmlrpclib now raises ResponseError on unsupported type tags\n instead of silently return incorrect result.\n\n- Issue 24114: Fix an uninitialized variable in `ctypes.util`.\n\n The bug only occurs on SunOS when the ctypes implementation searches\n for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by\n \ Kees Bos.\n\n- Issue 26864: In urllib, change the proxy bypass host checking against\n no_proxy to be case-insensitive, and to not match unrelated host names that\n happen to have a bypassed hostname as a suffix. Patch by Xiang Zhang.\n\n- Issue 26804: urllib will prefer lower_case proxy environment variables over\n \ UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen.\n\n- Issue 26837: assertSequenceEqual() now correctly outputs non-stringified\n differing items. This affects assertListEqual() and assertTupleEqual().\n\n- Issue 26822: itemgetter, attrgetter and methodcaller objects no longer\n silently ignore keyword arguments.\n\n- Issue 26657: Fix directory traversal vulnerability with SimpleHTTPServer\n \ on Windows. This fixes a regression that was introduced in 2.7.7. Based\n \ on patch by Philipp Hagemeister.\n\n- Issue 19377: Add .svg to mimetypes.types_map.\n\n- Issue 13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson.\n\n- Issue 16329: Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'.\n\n- Issue 23735: Handle terminal resizing with Readline 6.3+ by installing our\n own SIGWINCH handler. Patch by Eric Price.\n\n- Issue 26644: Raise ValueError rather than SystemError when a negative\n length is passed to SSLSocket.recv() or read().\n\n- Issue 23804: Fix SSL recv(0) and read(0) methods to return zero bytes\n instead of up to 1024.\n\n- Issue 24266: Ctrl+C during Readline history search now cancels the search\n mode when compiled with Readline 7.\n\n- Issue 23857: Implement PEP 493, adding a Python-2-only ssl module API and\n environment variable to configure the default handling of SSL/TLS certificates\n for HTTPS connections.\n\n- Issue 26313: ssl.py _load_windows_store_certs fails if windows cert store\n is empty. Patch by Baji.\n\n- Issue 26513: Fixes platform module detection of Windows Server\n\n- Issue 23718: Fixed parsing time in week 0 before Jan 1. Original patch by\n Tamás Bence Gedai.\n\n- Issue 26177: Fixed the keys() method for Canvas and Scrollbar widgets.\n\n- Issue 15068: Got rid of excessive buffering in the fileinput module.\n The bufsize parameter is no longer used.\n\n- Issue 2202: Fix UnboundLocalError in\n AbstractDigestAuthHandler.get_algorithm_impls. \ Initial patch by Mathieu Dupuy.\n\n- Issue 26475: Fixed debugging output for regular expressions with the (?x)\n flag.\n\n- Issue 26385: Remove the file if the internal fdopen() call in\n NamedTemporaryFile() fails. Based on patch by Silent Ghost.\n\n- Issue 26309: In the \"socketserver\" module, shut down the request (closing\n the connected socket) when verify_request() returns false. \ Based on patch\n by Aviv Palivoda.\n\n- Issue 25939: On Windows open the cert store readonly in ssl.enum_certificates.\n\n- Issue 24303: Fix random EEXIST upon multiprocessing semaphores creation with\n Linux PID namespaces enabled.\n\n- Issue 25698: Importing module if the stack is too deep no longer replaces\n imported module with the empty one.\n\n- Issue 12923: Reset FancyURLopener's redirect counter even if there is an\n exception. Based on patches by Brian Brazil and Daniel Rocco.\n\n- Issue 25945: Fixed a crash when unpickle the functools.partial object with\n wrong state. Fixed a leak in failed functools.partial constructor.\n \ \"args\" and \"keywords\" attributes of functools.partial have now always types\n \ tuple and dict correspondingly.\n\n- Issue 19883: Fixed possible integer overflows in zipimport.\n\n- Issue 26147: xmlrpclib now works with unicode not encodable with used\n non-UTF-8 encoding.\n\n- Issue 16620: Fixed AttributeError in msilib.Directory.glob().\n\n- Issue 21847: Fixed xmlrpclib on Unicode-disabled builds.\n\n- Issue 6500: Fixed infinite recursion in urllib2.Request.__getattr__().\n\n- Issue 26083: Workaround a subprocess bug that raises an incorrect\n \"ValueError: insecure string pickle\" exception instead of the actual\n exception on some platforms such as Mac OS X when an exception raised\n in the forked child process prior to the exec() was large enough that\n it overflowed the internal errpipe_read pipe buffer.\n\n- Issue 24103: Fixed possible use after free in ElementTree.iterparse().\n\n- Issue 20954: _args_from_interpreter_flags used by multiprocessing and some\n tests no longer behaves incorrectly in the presence of the PYTHONHASHSEED\n environment variable.\n\n- Issue 14285: When executing a package with the \"python -m package\" option,\n and package initialization raises ImportError, a proper traceback is now\n reported.\n\n- Issue 6478: _strptime's regexp cache now is reset after changing timezone\n with time.tzset().\n\n- Issue 25718: Fixed copying object with state with boolean value is false.\n\n- Issue 25742: :func:`locale.setlocale` now accepts a Unicode string for\n its second parameter.\n\n- Issue 10131: Fixed deep copying of minidom documents. Based on patch\n by Marian Ganisin.\n\n- Issue 25725: Fixed a reference leak in cPickle.loads() when unpickling\n invalid data including tuple instructions.\n\n- Issue 25663: In the Readline completer, avoid listing duplicate global\n names, and search the global namespace before searching builtins.\n\n- Issue 25688: Fixed file leak in ElementTree.iterparse() raising an error.\n\n- Issue 23914: Fixed SystemError raised by CPickle unpickler on broken data.\n\n- Issue 25924: Avoid unnecessary serialization of getaddrinfo(3) calls on\n OS X versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis.\n\n- Issue 26406: Avoid unnecessary serialization of getaddrinfo(3) calls on\n current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.\n\nIDLE\n----\n- Issue 5124: Paste with text selected now replaces the selection on X11.\n This matches how paste works on Windows, Mac, most modern Linux apps,\n and ttk widgets. \ Original patch by Serhiy Storchaka.\n\n- Issue 24759: Make clear in idlelib.idle_test.__init__ that the directory\n is a private implementation of test.test_idle and tool for maintainers.\n\n- Issue 26673: When tk reports font size as 0, change to size 10.\n Such fonts on Linux prevented the configuration dialog from opening.\n\n- Issue 27044: Add ConfigDialog.remove_var_callbacks to stop memory leaks.\n\n- In the 'IDLE-console differences' section of the IDLE doc, clarify\n how running with IDLE affects sys.modules and the standard streams.\n\n- Issue 25507: fix incorrect change in IOBinding that prevented printing.\n Change also prevented saving shell window with non-ascii characters.\n Augment IOBinding htest to include all major IOBinding functions.\n\n- Issue 25905: Revert unwanted conversion of ' to â\x80\x99 RIGHT SINGLE QUOTATION\n MARK in README.txt and open this and NEWS.txt with 'ascii'.\n Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.\n\n- Issue 26417: Prevent spurious errors and incorrect defaults when\n installing IDLE 2.7 on OS X: default configuration settings are\n no longer installed from OS X specific copies.\n\nDocumentation\n-------------\n- Issue 26736: Used HTTPS for external links in the documentation if possible.\n\n- Issue 6953: Rework the Readline module documentation to group related\n functions together, and add more details such as what underlying Readline\n functions and variables are accessed.\n\n- Issue 26014: Guide users to the newer packaging documentation as was done\n for Python 3.x. In particular, the top-level 2.7 documentation page now\n links to the newer installer and distributions pages rather than the\n legacy install and Distutils pages; these are still linked to in the\n library/distutils doc page.\n\nTests\n-----\n- Issue 21916: Added tests for the turtle module. Patch by ingrid,\n Gregory Loyse and Jelle Zijlstra.\n\n- Issue 25940: Changed test_ssl to use self-signed.pythontest.net. This\n avoids relying on svn.python.org, which recently changed root certificate.\n\n- Issue 25616: Tests for OrderedDict are extracted from test_collections\n into separate file test_ordered_dict.\n\nBuild\n-----\n- Issue 22359: Avoid incorrect recursive $(MAKE), and disable the rules for\n running pgen when cross-compiling. The pgen output is normally saved with\n the source code anyway, and is still regenerated when doing a native build.\n Patch by Jonas Wagner and Xavier de Gaye.\n\n- Issue 19450: Update Windows builds to use SQLite 3.8.11.0.\n\n- Issue 27229: Fix the cross-compiling pgen rule for in-tree builds. \ Patch\n by Xavier de Gaye.\n\n- Issue 17603: Avoid error about nonexistant fileblocks.o file by using a\n lower-level check for st_blocks in struct stat.\n\n- Issue 26465: Update Windows builds to use OpenSSL 1.0.2g.\n\n- Issue 24421: Compile Modules/_math.c once, before building extensions.\n Previously it could fail to compile properly if the math and cmath builds\n were concurrent.\n\n- Issue 25824: Fixes sys.winver to not include any architecture suffix.\n\n- Issue 25348: Added ``--pgo`` and ``--pgo-job`` arguments to\n ``PCbuild\\build.bat`` for building with Profile-Guided Optimization. The\n old ``PCbuild\\build_pgo.bat`` script is now deprecated, and simply calls\n ``PCbuild\\build.bat --pgo %*``.\n\n- Issue 25827: Add support for building with ICC to ``configure``, including\n a new ``--with-icc`` flag.\n\n- Issue 25696: Fix installation of Python on UNIX with make -j9.\n\n- Issue 26930: Update OS X 10.5+ 32-bit-only installer to build\n \ and link with OpenSSL 1.0.2h.\n\n- Issue 26268: Update Windows builds to use OpenSSL 1.0.2f.\n\n- Issue 25136: Support Apple Xcode 7's new textual SDK stub libraries.\n\nTools/Demos\n-----------\n- Issue 26799: Fix python-gdb.py: don't get C types once when the Python code\n is loaded, but get C types on demand. The C types can change if\n python-gdb.py is loaded before the Python executable. Patch written by Thomas\n Ilsche.\n\nC API\n-----\n- Issue 26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.\n Patch by Jeroen Demeyer.\n\nMisc\n----\n- Issue 17500, and https://github.com/python/pythondotorg/issues/945: Remove\n unused and outdated icons.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/lang/python27' unixtime: '1467471943' user: adam