From: Serhiy Storchaka Date: Sat, 21 Mar 2015 07:41:19 +0000 (+0200) Subject: Issue #22351: The nntplib.NNTP constructor no longer leaves the connection X-Git-Tag: v3.5.0a3~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a9e2721fa8605e7e8957bf658718a63c286c8b1;p=python Issue #22351: The nntplib.NNTP constructor no longer leaves the connection and socket open until the garbage collector cleans them up. Patch by Martin Panter. --- 0a9e2721fa8605e7e8957bf658718a63c286c8b1 diff --cc Misc/NEWS index 0f098c5e6d,a4ebd72b48..5053fc59f9 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -23,19 -18,10 +23,23 @@@ Core and Builtin Library ------- + - Issue #22351: The nntplib.NNTP constructor no longer leaves the connection + and socket open until the garbage collector cleans them up. Patch by + Martin Panter. + +- Issue #23715: :func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` are + now retried when interrupted by a signal not in the *sigset* parameter, if + the signal handler does not raise an exception. signal.sigtimedwait() + recomputes the timeout with a monotonic clock when it is retried. + +- Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and + codecs, that accepted only read-only bytes-like object now accept writable + bytes-like object too. + +- Issue #23646: If time.sleep() is interrupted by a signal, the sleep is now + retried with the recomputed delay, except if the signal handler raises an + exception (PEP 475). + - Issue #23136: _strptime now uniformly handles all days in week 0, including Dec 30 of previous year. Based on patch by Jim Carroll.