This bug was fixed in the package python3.5 - 3.5.2-2~16.01 --------------- python3.5 (3.5.2-2~16.01) xenial-proposed; urgency=medium * SRU: LP: #1591887. Backport 3.5.2 to 16.04 LTS. python3.5 (3.5.2-2) unstable; urgency=medium * asyncio: Fix callbacks race in SelectorLoop.sock_connect, proposed patch taken from https://github.com/python/asyncio/pull/366. * asyncio: Fix NameError in asyncio.sslproto. Closes: #827453. python3.5 (3.5.2-1) unstable; urgency=medium * Python 3.5.2 release. - Issue #26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test. - Issue #27365: Allow non-ascii in idlelib/NEWS.txt. python3.5 (3.5.2~rc1-3) unstable; urgency=medium * Fix building with the wheel files in the source package. python3.5 (3.5.2~rc1-1) unstable; urgency=medium * Python 3.5.2 release candidate 1. - Issue #15657: Delete incorrect statement from PyMethodDef documentation. - Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplib. - Issue #25455: Clean up reference loops created in tests for recursive. - Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1. - Issue #27188: Fix various sqlite3 documentation errors. - Issue #15476: Make "code object" its own entry in the index. - Issue #8491: Add link to Gnu Readline configuration documentation. - Issue #24617: Add comment for os.mkdir about mode quirks. - Issue #27280: Fix typo in IPv6Network documentation. - Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove unused and outdated icons. - Issue #20900: distutils register command now decodes HTTP responses correctly. - Issue #5124: Paste with selection should always replace. This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets. The exception was X11 tk widgets. - Issue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost. - Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait. - Issue #22558: Add remaining doc links to source code for Python-coded modules. - Issue #21386: Implement missing IPv4Address.is_global property. - Issue #27194: superfluous truncate calls in tarfile.py slow down extraction. - Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages. - Issue #24136: Document generalized unpacking, PEP 448. - Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling function with generalized unpacking (PEP 448) and conflicting keyword names could cause undefined behavior. - Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag. * Extend debian/copyright to the files shipped in the wheel files. python3.5 (3.5.1-16) unstable; urgency=high * Restore the distutils-init patch, only applied on upstream trunk. python3.5 (3.5.1-15) unstable; urgency=high * Fix bad update of the distutils-install-layout patch. python3.5 (3.5.1-14) unstable; urgency=medium * Update to 20160609 from the 3.5 branch. - A new version of typing.py provides several new classes and features: @overload outside stubs, Reversible, DefaultDict, Text, ContextManager, Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of the new features are not yet implemented in mypy or other static analyzers). Also classes for PEP 492 (Awaitable, AsyncIterable, AsyncIterator) have been added (in fact they made it into 3.5.1 but were never mentioned). - Issue #25738: Stop http.server.BaseHTTPRequestHandler.send_error() from sending a message body for 205 Reset Content. Also, don't send Content header fields in responses that don't have a body. - Issue #21313: Fix the "platform" module to tolerate when sys.version contains truncated build information. - Issue #26839: On Linux, :func:`os.urandom` now calls ``getrandom()`` with ``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom entropy pool is not initialized yet. Closes: #824379. - Issue #27164: In the zlib module, allow decompressing raw Deflate streams with a predefined zdict. - Issue #24291: Fix wsgiref.simple_server.WSGIRequestHandler to completely write data to the client. Previously it could do partial writes and truncate data. Also, wsgiref.handler.ServerHandler can now handle stdout doing partial writes, but this is deprecated. - Issue #26809: Add ``__all__`` to :mod:`string`. - Issue #26373: subprocess.Popen.communicate now correctly ignores BrokenPipeError when the child process dies before .communicate() is called in more/all circumstances. - Issue #24759: Make clear in idlelib.idle_test.__init__ that the directory is a private implementation of test.test_idle and tool for maintainers. - Issue #27196: Stop 'ThemeChanged' warnings when running IDLE tests. These persisted after other warnings were suppressed in #20567. - Issue #20567: Revise idle_test/README.txt with advice about avoiding tk warning messages from tests. Apply advice to several IDLE tests. - Issue #26884: Fix linking extension modules for cross builds. - Issue #26014: Update 3.x packaging documentation: * "See also" links to the new docs are now provided in the legacy pages * links to setuptools documentation have been updated - Issue #27229: Fix the cross-compiling pgen rule for in-tree builds. * Don't run multiprocessing tests during the profiling build. python3.5 (3.5.1-13) unstable; urgency=medium * Update to 20160603 from the 3.5 branch. - Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit. - Issue #26991: Fix possible refleak when creating a function with annotations. - Issue #27039: Fixed bytearray.remove() for values greater than 127. - Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses. - Issue #27138: Fix the doc comment for FileFinder.find_spec(). - Issue #27147: Mention PEP 420 in the importlib docs. - Issue #21776: distutils.upload now correctly handles HTTPError. - Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError. - Issue #18383: Avoid creating duplicate filters when using filterwarnings and simplefilter. - Issue #27057: Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails with EACCESS. The function now falls back to fcntl(). - Issue #27014: Fix infinite recursion using typing.py. - Issue #14132: Fix urllib.request redirect handling when the target only has a query string. - Issue #17214: The "urllib.request" module now percent-encodes non-ASCII bytes found in redirect target URLs. Some servers send Location header fields with non-ASCII bytes, but "http.client" requires the request target to be ASCII-encodable, otherwise a UnicodeEncodeError is raised. - Issue #26892: Honor debuglevel flag in urllib.request.HTTPHandler. - Issue #22274: In the subprocess module, allow stderr to be redirected to stdout even when stdout is not redirected. - Issue #26807: mock_open 'files' no longer error on readline at end of file. - Issue #26977: Removed unnecessary, and ignored, call to sum of squares helper in statistics.pvariance. - Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input. - Issue #27040: Add loop.get_exception_handler method - Issue #27041: asyncio: Add loop.create_future method * IDLE changes: - Issue #27117: Make colorizer htest and turtledemo work with dark themes. Move code for configuring text widget colors to a new function. - Issue #26673: When tk reports font size as 0, change to size 10. Such fonts on Linux prevented the configuration dialog from opening. - Issue #21939: Add test for IDLE's percolator. - Issue #21676: Add test for IDLE's replace dialog. - Issue #18410: Add test for IDLE's search dialog. - Issue #21703: Add test for IDLE's undo delegator. - Issue #27044: Add ConfigDialog.remove_var_callbacks to stop memory leaks. - Issue #23977: Add more asserts to test_delegator. - Issue #20640: Add tests for idlelib.configHelpSourceEdit. - In the 'IDLE-console differences' section of the IDLE doc, clarify how running with IDLE affects sys.modules and the standard streams. - Issue #25507: fix incorrect change in IOBinding that prevented printing. Augment IOBinding htest to include all major IOBinding functions. - Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'. * Rebuild to pick up the GNU triplet change on i386 archs. Addresses: #826128. python3.5 (3.5.1-12) unstable; urgency=medium * Update to 20160509 from the 3.5 branch. - Issue #26811: gc.get_objects() no longer contains a broken tuple with NULL pointer. - Issue #20120: Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0. - Issue #25745: Fixed leaking a userptr in curses panel destructor. - Issue #26881: The modulefinder module now supports extended opcode arguments. - Issue #23815: Fixed crashes related to directly created instances of types in _tkinter and curses.panel modules. - Issue #17765: weakref.ref() no longer silently ignores keyword arguments. - Issue #26873: xmlrpc now raises ResponseError on unsupported type tags instead of silently return incorrect result. - Issue #26881: modulefinder now works with bytecode with extended args. - Issue #26711: Fixed the comparison of plistlib.Data with other types. - Issue #24114: Fix an uninitialized variable in `ctypes.util`. - Issue #26864: In urllib.request, change the proxy bypass host checking against no_proxy to be case-insensitive, and to not match unrelated host names that happen to have a bypassed hostname as a suffix. - Issue #26634: recursive_repr() now sets __qualname__ of wrapper. - Issue #26804: urllib.request will prefer lower_case proxy environment variables over UPPER_CASE or Mixed_Case ones. - Issue #26837: assertSequenceEqual() now correctly outputs non-stringified differing items (like bytes in the -b mode). This affects assertListEqual() and assertTupleEqual(). - Issue #26041: Remove "will be removed in Python 3.7" from deprecation messages of platform.dist() and platform.linux_distribution(). - Issue #26822: itemgetter, attrgetter and methodcaller objects no longer silently ignore keyword arguments. - Issue #26733: Disassembling a class now disassembles class and static methods. - Issue #26801: Fix error handling in :func:`shutil.get_terminal_size`, catch :exc:`AttributeError` instead of :exc:`NameError`. - Issue #24838: tarfile's ustar and gnu formats now correctly calculate name and link field limits for multibyte character encodings like utf-8. - Issue #26657: Fix directory traversal vulnerability with http.server on Windows. - Issue #26736: Used HTTPS for external links in the documentation if possible. - Issue #22359: Disable the rules for running _freeze_importlib and pgen when cross-compiling. The output of these programs is normally saved with the source code anyway, and is still regenerated when doing a native build. Closes: #820509. - Issue #21668: Link audioop, _datetime, _ctypes_test modules to libm. - Issue #26799: Fix python-gdb.py: don't get C types once when the Python code is loaded, but get C types on demand. The C types can change if python-gdb.py is loaded before the Python executable. * Fix issue #26673, runtime error in idle3. LP: #1574892. * Update symbols files. python3.5 (3.5.1-11) unstable; urgency=medium * Update to 20160330 from the 3.5 branch. - Issue #26659: Make the builtin slice type support cycle collection. - Issue #26718: super.__init__ no longer leaks memory if called multiple times. NOTE: A direct call of super.__init__ is not endorsed! - Issue #25339: PYTHONIOENCODING now has priority over locale in setting the error handler for stdin and stdout. - Issue #26717: Stop encoding Latin-1-ized WSGI paths with UTF-8. - Issue #26735: Fix :func:`os.urandom` on Solaris 11.3 and newer when reading more than 1,024 bytes: call ``getrandom()`` multiple times with a limit of 1024 bytes per call. - Issue #16329: Add .webm to mimetypes.types_map. - Issue #13952: Add .csv to mimetypes.types_map. - Issue #26709: Fixed Y2038 problem in loading binary PLists. - Issue #23735: Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH handler. - Issue #26586: In http.server, respond with "413 Request header fields too large" if there are too many header fields to parse, rather than killing the connection and raising an unhandled exception. - Issue #22854: Change BufferedReader.writable() and BufferedWriter.readable() to always return False. - Issue #6953: Rework the Readline module documentation to group related functions together, and add more details such as what underlying Readline functions and variables are accessed. -- Matthias Klose