Serhiy Storchaka [Mon, 27 Jan 2014 09:21:54 +0000 (11:21 +0200)]
Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails when
called during shutdown. Emitting resource warning in __del__ no longer fails.
Original patch by Antoine Pitrou.
Serhiy Storchaka [Mon, 27 Jan 2014 09:18:27 +0000 (11:18 +0200)]
Issue #19077: tempfile.TemporaryDirectory cleanup is now most likely
successful when called during nulling out of modules during shutdown.
Misleading exception no longer raised when resource warning is emitted
during shutdown.
Terry Jan Reedy [Mon, 27 Jan 2014 03:27:38 +0000 (22:27 -0500)]
Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
Terry Jan Reedy [Mon, 27 Jan 2014 03:24:26 +0000 (22:24 -0500)]
Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
Christian Heimes [Mon, 27 Jan 2014 00:12:00 +0000 (01:12 +0100)]
Issue #20394: Attempt to silence CID 1164423: Division or modulo by zero in audioop_ratecv_impl()
Serhiy and I had the same idea so it's most likely right. ;)
Serhiy Storchaka [Sun, 26 Jan 2014 17:27:56 +0000 (19:27 +0200)]
Issue #8260: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
Serhiy Storchaka [Sun, 26 Jan 2014 17:21:00 +0000 (19:21 +0200)]
Issue #8260: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
Victor Stinner [Sat, 25 Jan 2014 14:32:06 +0000 (15:32 +0100)]
Update asyncio from the Tulip project
Major changes:
- StreamReader.readexactly() now raises an IncompleteReadError if the
end of stream is reached before we received enough bytes, instead of
returning less bytes than requested.
- Unit tests use the main asyncio module instead of submodules like events
- _UnixWritePipeTransport now also supports character devices, as
_UnixReadPipeTransport. Patch written by Jonathan Slenders.
- Export more symbols: BaseEventLoop, BaseProactorEventLoop,
BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
Victor Stinner [Sat, 25 Jan 2014 14:01:33 +0000 (15:01 +0100)]
Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximum
between the resolution of the BaseEventLoop.time() method and the resolution of
the selector. The granuarility is used in the scheduler to round time and
deadline.
Larry Hastings [Fri, 24 Jan 2014 14:17:25 +0000 (06:17 -0800)]
Issue #20189: Four additional builtin types (PyTypeObject,
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
Nick Coghlan [Fri, 24 Jan 2014 13:05:45 +0000 (23:05 +1000)]
Issue 20317: Remove debugging code from contextlib
- Alex J Burke noticed a debugging raise in the commit that
fixed the original bug reported in issue 20317
- this showed that multiple iterations through the affected
loop wasn't actually being tested
Victor Stinner [Thu, 23 Jan 2014 16:40:03 +0000 (17:40 +0100)]
asyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() now
raise a RuntimeError, instead of using an assertion, if another coroutine is
already waiting for incoming data
Victor Stinner [Thu, 23 Jan 2014 16:26:06 +0000 (17:26 +0100)]
Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X
older than 10.9 (Maverick). kqueue doesn't support character devices (PTY) on
Mac OS X older than 10.9.