]> granicus.if.org Git - python/log
python
10 years agoIssue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous...
Victor Stinner [Wed, 19 Feb 2014 17:32:03 +0000 (18:32 +0100)]
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)

10 years agoClose #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
Victor Stinner [Wed, 19 Feb 2014 17:10:32 +0000 (18:10 +0100)]
Close #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger

On Mac OS X Tiger (and older), getsockname() returns a zero-length address for
UNIX socket, and so 'sockname' extra info is None.

10 years agoNull merge
Serhiy Storchaka [Wed, 19 Feb 2014 17:04:28 +0000 (19:04 +0200)]
Null merge

10 years agoMerge heads
Serhiy Storchaka [Wed, 19 Feb 2014 17:04:12 +0000 (19:04 +0200)]
Merge heads

10 years agoMerge heads
Serhiy Storchaka [Wed, 19 Feb 2014 17:03:58 +0000 (19:03 +0200)]
Merge heads

10 years agoIssue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.
Serhiy Storchaka [Wed, 19 Feb 2014 16:50:35 +0000 (18:50 +0200)]
Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.

10 years agoIssue #20510: Merge with 3.3
Zachary Ware [Wed, 19 Feb 2014 16:46:05 +0000 (10:46 -0600)]
Issue #20510: Merge with 3.3

10 years agoIssue #20510: Confirm that the code attribute of the SystemExit
Zachary Ware [Wed, 19 Feb 2014 16:44:47 +0000 (10:44 -0600)]
Issue #20510: Confirm that the code attribute of the SystemExit
exception raised by sys.exit is None when no code is given.

As suggested by Serhiy Storchaka.

10 years agoIssue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.
Serhiy Storchaka [Wed, 19 Feb 2014 16:44:12 +0000 (18:44 +0200)]
Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.

10 years agoFixed grid_columnconfigure() and grid_rowconfigure() methods of
Serhiy Storchaka [Wed, 19 Feb 2014 16:35:10 +0000 (18:35 +0200)]
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.

10 years agoFixed grid_columnconfigure() and grid_rowconfigure() methods of
Serhiy Storchaka [Wed, 19 Feb 2014 16:34:05 +0000 (18:34 +0200)]
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.

10 years agoasyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol
Yury Selivanov [Wed, 19 Feb 2014 16:10:52 +0000 (11:10 -0500)]
asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol

10 years agoasyncio: document new create_unix_connection() and create_unix_server() methods
Victor Stinner [Wed, 19 Feb 2014 12:32:34 +0000 (13:32 +0100)]
asyncio: document new create_unix_connection() and create_unix_server() methods
of BaseEventLoop

10 years agoasyncio: pep8-ify the code.
Yury Selivanov [Wed, 19 Feb 2014 03:56:15 +0000 (22:56 -0500)]
asyncio: pep8-ify the code.

10 years agoasyncio: Fix spelling and typos.
Yury Selivanov [Wed, 19 Feb 2014 03:27:48 +0000 (22:27 -0500)]
asyncio: Fix spelling and typos.

Thanks to Vajrasky Kok for discovering some of them.

10 years agoIssue #20682: test_asyncio, _basetest_create_connection() checks also the
Victor Stinner [Wed, 19 Feb 2014 01:21:08 +0000 (02:21 +0100)]
Issue #20682: test_asyncio, _basetest_create_connection() checks also the
sockname, as _basetest_create_ssl_connection().

10 years agoasyncio, Tulip issue 143: UNIX domain methods, fix ResourceWarning and
Victor Stinner [Wed, 19 Feb 2014 00:45:59 +0000 (01:45 +0100)]
asyncio, Tulip issue 143: UNIX domain methods, fix ResourceWarning and
DeprecationWarning warnings. create_unix_server() closes the socket on any
error, not only on OSError.

10 years agoasyncio, Tulip issue 139: Improve error messages on "fatal errors"
Victor Stinner [Wed, 19 Feb 2014 00:40:41 +0000 (01:40 +0100)]
asyncio, Tulip issue 139: Improve error messages on "fatal errors"

Mention if the error was caused by a read or a write, and be more specific on
the object (ex: "pipe transport" instead of "transport").

10 years agoasyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin
Yury Selivanov [Tue, 18 Feb 2014 23:41:13 +0000 (18:41 -0500)]
asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin

10 years agoasyncio: New error handling API. Issue #20681.
Yury Selivanov [Tue, 18 Feb 2014 23:02:19 +0000 (18:02 -0500)]
asyncio: New error handling API. Issue #20681.

10 years agoIssue #20625: Fix compilation issue
Victor Stinner [Tue, 18 Feb 2014 21:07:56 +0000 (22:07 +0100)]
Issue #20625: Fix compilation issue

10 years ago(Merge 3.3) Issue #19612: On Windows, subprocess.Popen.communicate() now
Victor Stinner [Tue, 18 Feb 2014 21:06:35 +0000 (22:06 +0100)]
(Merge 3.3) Issue #19612: On Windows, subprocess.Popen.communicate() now
ignores OSError(22, 'Invalid argument') when writing input data into stdin,
whereas the process already exited.

10 years agoIssue #19612: On Windows, subprocess.Popen.communicate() now ignores
Victor Stinner [Tue, 18 Feb 2014 21:00:53 +0000 (22:00 +0100)]
Issue #19612: On Windows, subprocess.Popen.communicate() now ignores
OSError(22, 'Invalid argument') when writing input data into stdin, whereas
the process already exited.

10 years agoClose issue20653: allow Enum subclasses to override __reduce_ex__
Ethan Furman [Tue, 18 Feb 2014 20:37:12 +0000 (12:37 -0800)]
Close issue20653: allow Enum subclasses to override __reduce_ex__

10 years agoasyncio: Make tests pass on Windows.
Guido van Rossum [Tue, 18 Feb 2014 18:24:30 +0000 (10:24 -0800)]
asyncio: Make tests pass on Windows.

10 years agoMangle __parameters in __annotations__ dict properly. Issue #20625.
Yury Selivanov [Tue, 18 Feb 2014 17:49:41 +0000 (12:49 -0500)]
Mangle __parameters in __annotations__ dict properly. Issue #20625.

10 years agoIssue #20609: Merge with 3.3.
Zachary Ware [Tue, 18 Feb 2014 17:35:15 +0000 (11:35 -0600)]
Issue #20609: Merge with 3.3.

10 years agoIssue #20609: Fix building 64-bit binaries on 32-bit Windows.
Zachary Ware [Tue, 18 Feb 2014 17:33:18 +0000 (11:33 -0600)]
Issue #20609: Fix building 64-bit binaries on 32-bit Windows.

10 years agoMisc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.
Yury Selivanov [Tue, 18 Feb 2014 17:21:57 +0000 (12:21 -0500)]
Misc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.

10 years agoasyncio: Add support for UNIX Domain Sockets.
Yury Selivanov [Tue, 18 Feb 2014 17:15:06 +0000 (12:15 -0500)]
asyncio: Add support for UNIX Domain Sockets.

10 years agoIssue #20510: Merge with 3.3.
Zachary Ware [Tue, 18 Feb 2014 14:41:21 +0000 (08:41 -0600)]
Issue #20510: Merge with 3.3.

10 years agoIssue #20510: Rewrote test_exit in test_sys to match existing comments
Zachary Ware [Tue, 18 Feb 2014 14:39:04 +0000 (08:39 -0600)]
Issue #20510: Rewrote test_exit in test_sys to match existing comments
and to modernize.  Patch by Gareth Rees.

10 years agoIssue #20493: Document that asyncio should not exceed one day
Victor Stinner [Tue, 18 Feb 2014 08:37:43 +0000 (09:37 +0100)]
Issue #20493: Document that asyncio should not exceed one day

10 years agoIssue #20656: Restore explicit downcast in select_select().
Victor Stinner [Tue, 18 Feb 2014 08:30:33 +0000 (09:30 +0100)]
Issue #20656: Restore explicit downcast in select_select().

Cast from time_t (64 bit) to long (32 bit). It should fix a compiler warning.

10 years agoClose #20649: Fix typo in asyncio doc. Patch written by Brett Cannon.
Victor Stinner [Tue, 18 Feb 2014 08:22:00 +0000 (09:22 +0100)]
Close #20649: Fix typo in asyncio doc. Patch written by Brett Cannon.

10 years agoIssue #20564: Skip tests on lock+signals on OpenBSD
Victor Stinner [Tue, 18 Feb 2014 08:19:48 +0000 (09:19 +0100)]
Issue #20564: Skip tests on lock+signals on OpenBSD

10 years agoIssue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5.
Victor Stinner [Tue, 18 Feb 2014 08:13:47 +0000 (09:13 +0100)]
Issue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5.

10 years agoMerge with 3.3
Terry Jan Reedy [Tue, 18 Feb 2014 04:12:37 +0000 (23:12 -0500)]
Merge with 3.3

10 years agoIssue #8478: Untokenizer.compat now processes first token from iterator input.
Terry Jan Reedy [Tue, 18 Feb 2014 04:12:16 +0000 (23:12 -0500)]
Issue #8478: Untokenizer.compat now processes first token from iterator input.
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.

10 years agoClose #20656: Fix select.select() on OpenBSD 64-bit
Victor Stinner [Tue, 18 Feb 2014 00:35:40 +0000 (01:35 +0100)]
Close #20656: Fix select.select() on OpenBSD 64-bit

10 years agoIssue #20667: test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on
Victor Stinner [Tue, 18 Feb 2014 00:30:03 +0000 (01:30 +0100)]
Issue #20667: test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on
OpenBSD older than 5.5

10 years agoIssue #20655: Fix test_asyncio, run also subprocess tests. Patch written by
Victor Stinner [Mon, 17 Feb 2014 23:11:21 +0000 (00:11 +0100)]
Issue #20655: Fix test_asyncio, run also subprocess tests. Patch written by
Vajrasky Kok.

10 years agoMerge with 3.3
Terry Jan Reedy [Mon, 17 Feb 2014 21:49:26 +0000 (16:49 -0500)]
Merge with 3.3

10 years agowhitespace
Terry Jan Reedy [Mon, 17 Feb 2014 21:49:06 +0000 (16:49 -0500)]
whitespace

10 years agoUntokenize, bad assert: Merge with 3.3
Terry Jan Reedy [Mon, 17 Feb 2014 21:46:43 +0000 (16:46 -0500)]
Untokenize, bad assert: Merge with 3.3

10 years agoUntokenize: An logically incorrect assert tested user input validity.
Terry Jan Reedy [Mon, 17 Feb 2014 21:45:48 +0000 (16:45 -0500)]
Untokenize: An logically incorrect assert tested user input validity.
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.

10 years agoClose #20652: asyncio doc: close the event loop in run_forever() example. Fix
Victor Stinner [Mon, 17 Feb 2014 09:54:30 +0000 (10:54 +0100)]
Close #20652: asyncio doc: close the event loop in run_forever() example. Fix
also typo. Patch written by Vajrasky Kok.

10 years agoIssue #20320: select.select() and select.kqueue.control() now round the timeout
Victor Stinner [Sun, 16 Feb 2014 23:02:43 +0000 (00:02 +0100)]
Issue #20320: select.select() and select.kqueue.control() now round the timeout
aways from zero, instead of rounding towards zero.

It should make test_asyncio more reliable, especially test_timeout_rounding() test.

10 years agoIssue #20616: Add a format() method to tracemalloc.Traceback.
Victor Stinner [Sun, 16 Feb 2014 22:53:38 +0000 (23:53 +0100)]
Issue #20616: Add a format() method to tracemalloc.Traceback.

10 years agomerge 3.3
Benjamin Peterson [Sun, 16 Feb 2014 19:53:55 +0000 (14:53 -0500)]
merge 3.3

10 years agobackout fafac90b69c4
Benjamin Peterson [Sun, 16 Feb 2014 19:52:01 +0000 (14:52 -0500)]
backout fafac90b69c4

10 years agomerge backout for #20621
Benjamin Peterson [Sun, 16 Feb 2014 19:17:28 +0000 (14:17 -0500)]
merge backout for #20621

10 years agobackout 2807a5f011e4 for causing #20621
Benjamin Peterson [Sun, 16 Feb 2014 19:12:57 +0000 (14:12 -0500)]
backout 2807a5f011e4 for causing #20621

10 years agobackout d28242a636c7 so I can backout 2807a5f011e4
Benjamin Peterson [Sun, 16 Feb 2014 19:11:56 +0000 (14:11 -0500)]
backout d28242a636c7 so I can backout 2807a5f011e4

10 years agolook up __getnewargs__ and __getnewargs_ex__ on the object type (#16251)
Benjamin Peterson [Sun, 16 Feb 2014 18:49:16 +0000 (13:49 -0500)]
look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251)

10 years agomerge 3.3
Benjamin Peterson [Sun, 16 Feb 2014 17:46:38 +0000 (12:46 -0500)]
merge 3.3

10 years agodo not line break reference
Benjamin Peterson [Sun, 16 Feb 2014 17:46:30 +0000 (12:46 -0500)]
do not line break reference

10 years agoMerge from 3.3
Andrew Kuchling [Sun, 16 Feb 2014 17:18:17 +0000 (12:18 -0500)]
Merge from 3.3

10 years ago#12211: remove paragraph about NaNs
Andrew Kuchling [Sun, 16 Feb 2014 17:09:35 +0000 (12:09 -0500)]
#12211: remove paragraph about NaNs

10 years agoMerge from 3.3
Andrew Kuchling [Sun, 16 Feb 2014 16:15:13 +0000 (11:15 -0500)]
Merge from 3.3

10 years ago#12211: clarify math.copysign() documentation and docstring
Andrew Kuchling [Sun, 16 Feb 2014 16:11:25 +0000 (11:11 -0500)]
#12211: clarify math.copysign() documentation and docstring

10 years agoDoc: do not rely on checked-out Sphinx toolchain from svn.python.org anymore
Georg Brandl [Sun, 16 Feb 2014 08:46:36 +0000 (09:46 +0100)]
Doc: do not rely on checked-out Sphinx toolchain from svn.python.org anymore

Nowadays it is likely that people will have Sphinx installed,
and if not, they will know how to install it.

This also simplifies life a lot for distribution packagers,
who typically do not want the doc build process to connect
to external web resources.

10 years agoMerge from 3.3
Andrew Kuchling [Sat, 15 Feb 2014 22:22:41 +0000 (17:22 -0500)]
Merge from 3.3

10 years ago#20241: use correct RFC number
Andrew Kuchling [Sat, 15 Feb 2014 22:11:06 +0000 (17:11 -0500)]
#20241: use correct RFC number

10 years ago#16728: Mention collections.abc.Sequence in 'sequence' glossary entry
Andrew Kuchling [Sat, 15 Feb 2014 22:05:26 +0000 (17:05 -0500)]
#16728: Mention collections.abc.Sequence in 'sequence' glossary entry

10 years agoMerge from 3.3
Andrew Kuchling [Sat, 15 Feb 2014 21:40:08 +0000 (16:40 -0500)]
Merge from 3.3

10 years agoClarify versionchanged sentence. Closes #20497.
Andrew Kuchling [Sat, 15 Feb 2014 21:39:37 +0000 (16:39 -0500)]
Clarify versionchanged sentence.  Closes #20497.

10 years agomerge 3.3
Benjamin Peterson [Sat, 15 Feb 2014 20:39:01 +0000 (15:39 -0500)]
merge 3.3

10 years ago#20237: make a revision pass over the XML vulnerabilities section
Andrew Kuchling [Sat, 15 Feb 2014 20:33:44 +0000 (15:33 -0500)]
#20237: make a revision pass over the XML vulnerabilities section

10 years agomerge 3.3 (#20080)
Benjamin Peterson [Sat, 15 Feb 2014 18:20:28 +0000 (13:20 -0500)]
merge 3.3 (#20080)

10 years agoadd missing test assertion (closes #20080)
Benjamin Peterson [Sat, 15 Feb 2014 18:19:59 +0000 (13:19 -0500)]
add missing test assertion (closes #20080)

Patch by Vajrasky Kok.

10 years agomerge 3.3 (#20507)
Benjamin Peterson [Sat, 15 Feb 2014 18:03:20 +0000 (13:03 -0500)]
merge 3.3 (#20507)

10 years agogive non-iterable TypeError a message (closes #20507)
Benjamin Peterson [Sat, 15 Feb 2014 18:02:52 +0000 (13:02 -0500)]
give non-iterable TypeError a message (closes #20507)

10 years ago#19890: merge with 3.3.
Ezio Melotti [Sat, 15 Feb 2014 14:59:39 +0000 (16:59 +0200)]
#19890: merge with 3.3.

10 years ago#19890: fix typo in multiprocessing docs. Patch by Mike Short.
Ezio Melotti [Sat, 15 Feb 2014 14:58:52 +0000 (16:58 +0200)]
#19890: fix typo in multiprocessing docs.  Patch by Mike Short.

10 years ago#20634: merge with 3.3.
Ezio Melotti [Sat, 15 Feb 2014 11:01:41 +0000 (13:01 +0200)]
#20634: merge with 3.3.

10 years ago#20634: fix typo in IDLE README noticed by Saimadhav Heblikar.
Ezio Melotti [Sat, 15 Feb 2014 11:01:08 +0000 (13:01 +0200)]
#20634: fix typo in IDLE README noticed by Saimadhav Heblikar.

10 years agoIssue #19744: Handle missing SSL/TLS in ensurepip
Nick Coghlan [Fri, 14 Feb 2014 23:14:54 +0000 (09:14 +1000)]
Issue #19744: Handle missing SSL/TLS in ensurepip

- now also allows POSIX installation with SSL/TLS missing
- a goal for pip 1.6 is to allow local use without SSL/TLS

10 years agoIssue #20605: Make test_socket getaddrinfo OS X segfault test more robust.
Ned Deily [Fri, 14 Feb 2014 06:53:42 +0000 (22:53 -0800)]
Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.

10 years agoIssue #20605: Make test_socket getaddrinfo OS X segfault test more robust.
Ned Deily [Fri, 14 Feb 2014 06:50:42 +0000 (22:50 -0800)]
Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.

10 years agoset line and column numbers for keyword-only arg nodes (closes #20619)
Benjamin Peterson [Fri, 14 Feb 2014 00:22:14 +0000 (19:22 -0500)]
set line and column numbers for keyword-only arg nodes (closes #20619)

10 years agoIssue #20526, #19466: Revert changes of issue #19466 which introduces a
Victor Stinner [Thu, 13 Feb 2014 11:48:54 +0000 (12:48 +0100)]
Issue #20526, #19466: Revert changes of issue #19466 which introduces a
regression: don't clear anymore the state of Python threads early during the
Python shutdown.

10 years agoIssue #20599: Don't clear environment in test_cleanup() of test_builtin
Victor Stinner [Thu, 13 Feb 2014 09:54:32 +0000 (10:54 +0100)]
Issue #20599: Don't clear environment in test_cleanup() of test_builtin

10 years agoFix test_asyncio/test_events.py: skip IPv6 if IPv6 is disabled on the host
Victor Stinner [Thu, 13 Feb 2014 09:46:05 +0000 (10:46 +0100)]
Fix test_asyncio/test_events.py: skip IPv6 if IPv6 is disabled on the host

10 years agoMerge heads
Serhiy Storchaka [Thu, 13 Feb 2014 08:49:30 +0000 (10:49 +0200)]
Merge heads

10 years agoFixed typo in previous commit (issue #6815).
Serhiy Storchaka [Thu, 13 Feb 2014 08:45:48 +0000 (10:45 +0200)]
Fixed typo in previous commit (issue #6815).

10 years agoFixed typo in previous commit (issue #6815).
Serhiy Storchaka [Thu, 13 Feb 2014 08:45:14 +0000 (10:45 +0200)]
Fixed typo in previous commit (issue #6815).

10 years agoayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
Victor Stinner [Thu, 13 Feb 2014 08:24:37 +0000 (09:24 +0100)]
ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
the address is not resolved (hostname instead of an IP address) for AF_INET and
AF_INET6 address families.

10 years agoIssue #6815: os.path.expandvars() now supports non-ASCII environment
Serhiy Storchaka [Thu, 13 Feb 2014 08:14:48 +0000 (10:14 +0200)]
Issue #6815: os.path.expandvars() now supports non-ASCII environment
variables names and values.

10 years agoIssue #6815: os.path.expandvars() now supports non-ASCII environment
Serhiy Storchaka [Thu, 13 Feb 2014 08:13:53 +0000 (10:13 +0200)]
Issue #6815: os.path.expandvars() now supports non-ASCII environment
variables names and values.

10 years agoasyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue...
Guido van Rossum [Thu, 13 Feb 2014 01:58:19 +0000 (17:58 -0800)]
asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue #20566.

10 years agoasyncio.events: Use __slots__ in Handle and TimerHandle
Yury Selivanov [Wed, 12 Feb 2014 22:01:52 +0000 (17:01 -0500)]
asyncio.events: Use __slots__ in Handle and TimerHandle

10 years agowhatsnew: 'other improvements' and 'optimizations' belong under CPython heading.
R David Murray [Wed, 12 Feb 2014 18:41:01 +0000 (13:41 -0500)]
whatsnew: 'other improvements' and 'optimizations' belong under CPython heading.

10 years agowhatsnew: PyUnicode_FromFormat width/precision, thread cleanup after fork.
R David Murray [Wed, 12 Feb 2014 18:39:11 +0000 (13:39 -0500)]
whatsnew: PyUnicode_FromFormat width/precision, thread cleanup after fork.

10 years agowhatsnew: LOAD_CLASSDEREF, -X showrefcount
R David Murray [Wed, 12 Feb 2014 18:00:36 +0000 (13:00 -0500)]
whatsnew: LOAD_CLASSDEREF, -X showrefcount

10 years agoIssue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin
Victor Stinner [Wed, 12 Feb 2014 17:27:55 +0000 (18:27 +0100)]
Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin

On Windows, the codec of sys.stdout is implemented in Python. At exit, the
codec may be unloaded before the destructor tries to write something to
sys.stdout.

10 years agoTry to fix test_cleanup (issue #20599).
Serhiy Storchaka [Wed, 12 Feb 2014 10:40:22 +0000 (12:40 +0200)]
Try to fix test_cleanup (issue #20599).

10 years agoIssue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Serhiy Storchaka [Wed, 12 Feb 2014 08:55:07 +0000 (10:55 +0200)]
Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.

10 years agoIssue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Serhiy Storchaka [Wed, 12 Feb 2014 08:52:35 +0000 (10:52 +0200)]
Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.

10 years agoIssue #19255: Clear error after failed PyDict_SetItem() on shutdown.
Serhiy Storchaka [Wed, 12 Feb 2014 07:55:45 +0000 (09:55 +0200)]
Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.