python3.5 (3.5.4~rc1-1) unstable; urgency=medium
* Python 3.5.4 release candidate 1.
- bpo-30500: Fix urllib.parse.splithost() to correctly parse fragments. For
example, ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
authentification (``login@host``).
- bpo-30876: Relative import from unloaded package now reimports the package
instead of failing with SystemError. Relative import from non-package now
fails with ImportError rather than SystemError.
- bpo-30765: Avoid blocking in pthread_mutex_lock() when
PyThread_acquire_lock() is asked not to block.
- bpo-29403: Fix ``unittest.mock``'s autospec to not fail on method-bound
builtin functions.
- bpo-30961: Fix decrementing a borrowed reference in tracemalloc.
- bpo-30886: Fix multiprocessing.Queue.join_thread(): it now waits until the
thread completes, even if the thread was started by the same process which
created the queue.
- bpo-29854: Fix segfault in readline when using readline's history-size
option.
- bpo-30807: signal.setitimer() may disable the timer when passed a tiny
value.
Tiny values (such as 1e-6) are valid non-zero values for setitimer(),
which is specified as taking microsecond-resolution intervals. However, on
some platform, our conversion routine could convert 1e-6 into a zero
interval, therefore disabling the timer instead of (re-)scheduling it.
- bpo-30441: Fix bug when modifying os.environ while iterating over it
- bpo-30532: Fix email header value parser dropping folding white space in
certain cases.
- bpo-30879: os.listdir() and os.scandir() now emit bytes names when called
with bytes- like argument.
- bpo-30746: Prohibited the '=' character in environment variable names in
``os.putenv()`` and ``os.spawn*()``.
- bpo-29755: Fixed the lgettext() family of functions in the gettext module.
They now always return bytes.
- bpo-30645: Fix path calculation in imp.load_package(), fixing it for cases
when a package is only shipped with bytecodes.
- bpo-23890: unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
- bpo-30149: inspect.signature() now supports callables with variable-
argument parameters wrapped with partialmethod.
- bpo-29931: Fixed comparison check for ipaddress.ip_interface objects.
- bpo-24484: Avoid race condition in multiprocessing cleanup.
- bpo-28994: The traceback no longer displayed for SystemExit raised in a
callback registered by atexit.
- bpo-30508: Don't log exceptions if Task/Future "cancel()" method was
called.
- bpo-28556: Updates to typing module: Add generic AsyncContextManager, add
support for ContextManager on all versions.
- bpo-29870: Fix ssl sockets leaks when connection is aborted in asyncio/ssl
implementation.
- bpo-29743: Closing transport during handshake process leaks open socket.
- bpo-27585: Fix waiter cancellation in asyncio.Lock.
- bpo-30418: On Windows, subprocess.Popen.communicate() now also ignore
EINVAL on stdin.write() if the child process is still running but closed
the pipe.
- bpo-28969: Fixed race condition in C implementation of
functools.lru_cache. KeyError could be raised when cached function with
full cache was simultaneously called from differen threads with the same
uncached arguments.
- bpo-29142: In urllib.request, suffixes in no_proxy environment variable
with leading dots could match related hostnames again (e.g. .b.c matches
a.b.c).
- bpo-30176: Add missing attribute related constants in curses
documentation.
- bpo-30822: Fix regrtest command line parser to allow passing -u
extralargefile to run test_zipfile64.
- bpo-30383: regrtest: Enhance regrtest and backport features from the
master branch.
Add options: --coverage, --testdir, --list-tests (list test files, don't
run them), --list-cases (list test identifiers, don't run them,
:issue:`30523`), --matchfile (load a list of test filters from a text
file, :issue:`30540`), --slowest (alias to --slow).
Enhance output: add timestamp, test result, currently running tests,
"Tests result: xxx" summary with total duration, etc.
Fix reference leak hunting in regrtest, --huntrleaks: regrtest now warms
up caches, create explicitly all internal singletons which are created on
demand to prevent false positives when checking for reference leaks.
(:issue:`30675`).
- bpo-30357: test_thread: setUp() now uses support.threading_setup() and
support.threading_cleanup() to wait until threads complete to avoid random
side effects on following tests.
- bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. Skip
some tests of select.poll when running on macOS due to unresolved issues
with the underlying system poll function on some macOS versions.
- bpo-30197: Enhanced functions swap_attr() and swap_item() in the
test.support module. They now work when delete replaced attribute or item
inside the with statement. The old value of the attribute or item (or
None if it doesn't exist) now will be assigned to the target of the "as"
clause, if there is one.
- bpo-29571: to match the behaviour of the ``re.LOCALE`` flag,
test_re.test_locale_flag now uses ``locale.getpreferredencoding(False)``
to determine the candidate encoding for the test regex (allowing it to
correctly skip the test when the default locale encoding is a multi-byte
encoding)
* Build using -fexceptions on ppc64 and ppc64el.
Closes: #862925. LP: #1691848.
* Update symbols files.
* Move test_support.py from libpython3.5-testsuite to libpython3.5-stdlib.
-- Matthias Klose <email address hidden> Tue, 25 Jul 2017 10:53:34 +0200