]> granicus.if.org Git - python/log
python
9 years agoMerge
Antoine Pitrou [Thu, 19 Mar 2015 23:10:23 +0000 (00:10 +0100)]
Merge

9 years agoIssue #23708: Fix _Py_read() compilation error on Windows
Victor Stinner [Thu, 19 Mar 2015 22:53:04 +0000 (23:53 +0100)]
Issue #23708: Fix _Py_read() compilation error on Windows

Fix typo: self->fd => fd

9 years agoIssue #23707: On UNIX, os.urandom() now calls the Python signal handler when
Victor Stinner [Thu, 19 Mar 2015 22:36:33 +0000 (23:36 +0100)]
Issue #23707: On UNIX, os.urandom() now calls the Python signal handler when
read() is interrupted by a signal.

dev_urandom_python() now calls _Py_read() helper instead of calling directly
read().

9 years agoIssue #23708: select.devpoll now retries its internal write() when interrupted
Victor Stinner [Thu, 19 Mar 2015 22:33:09 +0000 (23:33 +0100)]
Issue #23708: select.devpoll now retries its internal write() when interrupted
by a signal (EINTR).

Modify devpoll_flush() to use _Py_write() instead of calling directly write().

9 years agoIssue #23632: Memoryviews now allow tuple indexing (including for multi-dimensional...
Antoine Pitrou [Thu, 19 Mar 2015 22:29:36 +0000 (23:29 +0100)]
Issue #23632: Memoryviews now allow tuple indexing (including for multi-dimensional memoryviews).

9 years agoIssue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before
Victor Stinner [Thu, 19 Mar 2015 22:24:45 +0000 (23:24 +0100)]
Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before
opening /dev/urandom.

9 years agoIssue #23708: Add _Py_read() and _Py_write() functions to factorize code handle
Victor Stinner [Thu, 19 Mar 2015 21:53:20 +0000 (22:53 +0100)]
Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle
EINTR error and special cases for Windows.

These functions now truncate the length to PY_SSIZE_T_MAX to have a portable
and reliable behaviour. For example, read() result is undefined if counter is
greater than PY_SSIZE_T_MAX on Linux.

9 years agoIssue #22181: The availability of the getrandom() is now checked in configure,
Victor Stinner [Thu, 19 Mar 2015 21:21:49 +0000 (22:21 +0100)]
Issue #22181: The availability of the getrandom() is now checked in configure,
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.

Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().

9 years agoIssue #23646: If time.sleep() is interrupted by a signal, the sleep is now
Victor Stinner [Thu, 19 Mar 2015 20:54:09 +0000 (21:54 +0100)]
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).

Modify also test_signal to use a monotonic clock instead of the system clock.

9 years agoFixed Misc/NEWS entry for issue #23136.
Serhiy Storchaka [Thu, 19 Mar 2015 17:54:51 +0000 (19:54 +0200)]
Fixed Misc/NEWS entry for issue #23136.

9 years agoFixed Misc/NEWS entry for issue #23136.
Serhiy Storchaka [Thu, 19 Mar 2015 17:52:50 +0000 (19:52 +0200)]
Fixed Misc/NEWS entry for issue #23136.

9 years agoIssue #23136: _strptime now uniformly handles all days in week 0, including
Serhiy Storchaka [Thu, 19 Mar 2015 17:14:15 +0000 (19:14 +0200)]
Issue #23136: _strptime now uniformly handles all days in week 0, including
Jan 30 of previous year.  Based on patch by Jim Carroll.

9 years agoIssue #23136: _strptime now uniformly handles all days in week 0, including
Serhiy Storchaka [Thu, 19 Mar 2015 17:13:37 +0000 (19:13 +0200)]
Issue #23136: _strptime now uniformly handles all days in week 0, including
Jan 30 of previous year.  Based on patch by Jim Carroll.

9 years agoIssue #23700: Iterator of NamedTemporaryFile now keeps a reference to
Serhiy Storchaka [Thu, 19 Mar 2015 13:24:27 +0000 (15:24 +0200)]
Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to
NamedTemporaryFile instance.  Patch by Bohuslav Kabrda.

9 years agoIssue #23700: Iterator of NamedTemporaryFile now keeps a reference to
Serhiy Storchaka [Thu, 19 Mar 2015 13:23:15 +0000 (15:23 +0200)]
Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to
NamedTemporaryFile instance.  Patch by Bohuslav Kabrda.

9 years agomerge 3.4
Benjamin Peterson [Thu, 19 Mar 2015 02:36:23 +0000 (21:36 -0500)]
merge 3.4

9 years agowrap properly
Benjamin Peterson [Thu, 19 Mar 2015 02:35:38 +0000 (21:35 -0500)]
wrap properly

9 years agonull merge from 3.4
Ethan Furman [Thu, 19 Mar 2015 01:26:08 +0000 (18:26 -0700)]
null merge from 3.4

9 years agoissue23673
Ethan Furman [Thu, 19 Mar 2015 01:19:30 +0000 (18:19 -0700)]
issue23673
add private method to enum to support replacing global constants with Enum members:
- search for candidate constants via supplied filter
- create new enum class and members
- insert enum class and replace constants with members via supplied module name
- replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle
modify IntEnum classes to use new method

9 years agoissue23673
Ethan Furman [Thu, 19 Mar 2015 00:27:57 +0000 (17:27 -0700)]
issue23673
add private method to enum to support replacing global constants with Enum members:
- search for candidate constants via supplied filter
- create new enum class and members
- insert enum class and replace constants with members via supplied module name
- replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle
modify IntEnum classes to use new method

9 years agoIssue #22903: The fake test case created by unittest.loader when it fails importing...
Antoine Pitrou [Wed, 18 Mar 2015 23:01:37 +0000 (00:01 +0100)]
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.

9 years agoIssue #22903: The fake test case created by unittest.loader when it fails importing...
Antoine Pitrou [Wed, 18 Mar 2015 22:56:46 +0000 (23:56 +0100)]
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.

9 years agoIssue #23353: improve exceptions tests for generators
Antoine Pitrou [Wed, 18 Mar 2015 21:23:40 +0000 (22:23 +0100)]
Issue #23353: improve exceptions tests for generators

9 years agoIssue #23353: improve exceptions tests for generators
Antoine Pitrou [Wed, 18 Mar 2015 21:22:46 +0000 (22:22 +0100)]
Issue #23353: improve exceptions tests for generators

9 years agoRemoved unintentional trailing spaces in non-external and non-generated C files.
Serhiy Storchaka [Wed, 18 Mar 2015 19:53:15 +0000 (21:53 +0200)]
Removed unintentional trailing spaces in non-external and non-generated C files.

9 years agoRestored backward compatibility of pickling http.cookies.Morsel. It was
Serhiy Storchaka [Wed, 18 Mar 2015 16:03:40 +0000 (18:03 +0200)]
Restored backward compatibility of pickling http.cookies.Morsel.  It was
broken after converting instance attributes to properies in issue #2211.

9 years agoMerge 3.4 (tracemalloc typo)
Victor Stinner [Wed, 18 Mar 2015 15:05:32 +0000 (16:05 +0100)]
Merge 3.4 (tracemalloc typo)

9 years ago_tracemalloc.c: Fix typo
Victor Stinner [Wed, 18 Mar 2015 15:05:18 +0000 (16:05 +0100)]
_tracemalloc.c: Fix typo

9 years agoFix compiler warning in mmapmodule.c (compare signed/unsigned integers)
Victor Stinner [Wed, 18 Mar 2015 14:04:34 +0000 (15:04 +0100)]
Fix compiler warning in mmapmodule.c (compare signed/unsigned integers)

9 years agoInitialize variables to prevent GCC warnings
Victor Stinner [Wed, 18 Mar 2015 14:02:06 +0000 (15:02 +0100)]
Initialize variables to prevent GCC warnings

9 years agoFix compiler warning in dtoa.c
Victor Stinner [Wed, 18 Mar 2015 14:01:44 +0000 (15:01 +0100)]
Fix compiler warning in dtoa.c

9 years agoIssue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if
Victor Stinner [Wed, 18 Mar 2015 13:39:33 +0000 (14:39 +0100)]
Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if
available, syscall introduced in the Linux kernel 3.17. It is more reliable
and more secure, because it avoids the need of a file descriptor and waits
until the kernel has enough entropy.

9 years agoMerge 3.4 (linecache doc)
Victor Stinner [Wed, 18 Mar 2015 13:19:19 +0000 (14:19 +0100)]
Merge 3.4 (linecache doc)

9 years agoIssue #11726: Fix linecache example in the doc
Victor Stinner [Wed, 18 Mar 2015 13:16:50 +0000 (14:16 +0100)]
Issue #11726: Fix linecache example in the doc

Use a Python source file (linecache.__file__) instead of /etc/passwd.

Modify also linecache docstrings to clarify the linecache is written to cache
Python source files, not any text files.

9 years agoMerge 3.4 (linecache doc)
Victor Stinner [Wed, 18 Mar 2015 13:14:52 +0000 (14:14 +0100)]
Merge 3.4 (linecache doc)

9 years agoIssue #11726: clarify linecache doc: linecache is written to cache Python
Victor Stinner [Wed, 18 Mar 2015 13:14:42 +0000 (14:14 +0100)]
Issue #11726: clarify linecache doc: linecache is written to cache Python
source files, even if "it works" with other text files encoded to UTF-8.

9 years agoIssue #12155: Fix queue doc example to join threads
Victor Stinner [Wed, 18 Mar 2015 13:05:43 +0000 (14:05 +0100)]
Issue #12155: Fix queue doc example to join threads

Use None as a sentinel to stop a worker.

9 years agoMerge 3.4 (marshal doc)
Victor Stinner [Wed, 18 Mar 2015 12:59:02 +0000 (13:59 +0100)]
Merge 3.4 (marshal doc)

9 years agoIssue #19428: Document that PyMarshal_ReadLongFromFile() and
Victor Stinner [Wed, 18 Mar 2015 12:58:49 +0000 (13:58 +0100)]
Issue #19428: Document that PyMarshal_ReadLongFromFile() and
PyMarshal_ReadShortFromFile() can fail.

9 years agoIssue #19428: Handle PyMarshal_Read*() errors in run_pyc_file()
Victor Stinner [Wed, 18 Mar 2015 12:56:25 +0000 (13:56 +0100)]
Issue #19428: Handle PyMarshal_Read*() errors in run_pyc_file()

Detect also earlier PyMarshal_Read*() errors in zipimport.

9 years agoMerge 3.4 (asyncio)
Victor Stinner [Wed, 18 Mar 2015 10:37:54 +0000 (11:37 +0100)]
Merge 3.4 (asyncio)

9 years agoIssue #23456: Add missing @coroutine decorators in asyncio
Victor Stinner [Wed, 18 Mar 2015 10:37:42 +0000 (11:37 +0100)]
Issue #23456: Add missing @coroutine decorators in asyncio

9 years agoIssue #23605: Fix os.walk(topdown=True), don't cache entry.is_symlink() because
Victor Stinner [Wed, 18 Mar 2015 10:29:47 +0000 (11:29 +0100)]
Issue #23605: Fix os.walk(topdown=True), don't cache entry.is_symlink() because
the caller can replace the directory with a different file kind.

The bottom-up way, os.walk(topdown=False), still uses entry.is_symlink(), and
so can be faster than Python 3.4.

9 years agoIssue #23694: Handle EINTR in _Py_open() and _Py_fopen_obj()
Victor Stinner [Wed, 18 Mar 2015 08:52:54 +0000 (09:52 +0100)]
Issue #23694: Handle EINTR in _Py_open() and _Py_fopen_obj()

Retry open()/fopen() if it fails with EINTR and the Python signal handler
doesn't raise an exception.

9 years agoIssue #2211: Updated the implementation of the http.cookies.Morsel class.
Serhiy Storchaka [Wed, 18 Mar 2015 08:59:57 +0000 (10:59 +0200)]
Issue #2211: Updated the implementation of the http.cookies.Morsel class.
Setting attributes key, value and coded_value directly now is deprecated.
update() and setdefault() now transform and check keys.  Comparing for
equality now takes into account attributes key, value and coded_value.
copy() now returns a Morsel, not a dict.  repr() now contains all attributes.
Optimized checking keys and quoting values.  Added new tests.
Original patch by Demian Brecht.

9 years agoIssue #23207: merged fix from 3.4.
Vinay Sajip [Wed, 18 Mar 2015 08:49:57 +0000 (08:49 +0000)]
Issue #23207: merged fix from 3.4.

9 years agoIssue #23207: Improved kwarg validation.
Vinay Sajip [Wed, 18 Mar 2015 08:47:58 +0000 (08:47 +0000)]
Issue #23207: Improved kwarg validation.

9 years agoIssue #23694: Enhance _Py_fopen(), it now raises an exception on error
Victor Stinner [Wed, 18 Mar 2015 00:39:23 +0000 (01:39 +0100)]
Issue #23694: Enhance _Py_fopen(), it now raises an exception on error

* If fopen() fails, OSError is raised with the original filename object.
* The GIL is now released while calling fopen()

9 years agoIssue #23694: Enhance _Py_open(), it now raises exceptions
Victor Stinner [Tue, 17 Mar 2015 23:22:14 +0000 (00:22 +0100)]
Issue #23694: Enhance _Py_open(), it now raises exceptions

* _Py_open() now raises exceptions on error. If open() fails, it raises an
  OSError with the filename.
* _Py_open() now releases the GIL while calling open()
* Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not
  held

9 years agoIssue #23644: Fix issues with C++ when compiling Python extensions
Victor Stinner [Tue, 17 Mar 2015 21:53:27 +0000 (22:53 +0100)]
Issue #23644: Fix issues with C++ when compiling Python extensions

Disable completly pyatomic.h on C++, because <stdatomic.h> is not compatible with C++.

<pyatomic.h> is only needed by the optimized PyThreadState_GET() macro in
pystate.h. Instead, declare PyThreadState_GET() as an alias to
PyThreadState_Get(), as done for limited API.

9 years agoFix patch attribution for issue 18983.
Robert Collins [Tue, 17 Mar 2015 20:59:33 +0000 (09:59 +1300)]
Fix patch attribution for issue 18983.

9 years agoIssue #18983: Allow selection of output units in timeit.
Robert Collins [Tue, 17 Mar 2015 20:54:50 +0000 (09:54 +1300)]
Issue #18983: Allow selection of output units in timeit.

This allows manual selection of a specific unit such as usecs rather than the
use of a heuristic. This is intended to aid machine processing of timeit
output.

Patch by Serhiy Storchaka.

9 years agoIssue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat
Victor Stinner [Tue, 17 Mar 2015 16:48:27 +0000 (17:48 +0100)]
Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat
_codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw
modules.

pyexpat.c doesn't need to redeclare PyMODINIT_FUNC, it's already declared in
Include/pyport.h.

9 years agoIssue #22585: null merge
Ned Deily [Tue, 17 Mar 2015 11:32:30 +0000 (04:32 -0700)]
Issue #22585: null merge

9 years agoIssue #22585: make URandomFDTests test case actually run
Ned Deily [Tue, 17 Mar 2015 11:30:08 +0000 (04:30 -0700)]
Issue #22585: make URandomFDTests test case actually run

9 years agoRevert changeset d927047b1d8eb87738676980a24930d053ba2150
Victor Stinner [Tue, 17 Mar 2015 09:49:17 +0000 (10:49 +0100)]
Revert changeset d927047b1d8eb87738676980a24930d053ba2150

Sorry, it was a mistake, the patch is still under review: issue #23646.

9 years agoIssue #23682: Delete Python 2.2 mention from distutils documentation.
Berker Peksag [Tue, 17 Mar 2015 04:56:11 +0000 (06:56 +0200)]
Issue #23682: Delete Python 2.2 mention from distutils documentation.

Patch by Thomas Kluyver.

9 years agoIssue #23682: Delete Python 2.2 mention from distutils documentation.
Berker Peksag [Tue, 17 Mar 2015 04:55:48 +0000 (06:55 +0200)]
Issue #23682: Delete Python 2.2 mention from distutils documentation.

Patch by Thomas Kluyver.

9 years agomerge 3.4 (#23679)
Benjamin Peterson [Mon, 16 Mar 2015 17:45:27 +0000 (12:45 -0500)]
merge 3.4 (#23679)

9 years agoversionchanged for rc4 removal (closes #23679)
Benjamin Peterson [Mon, 16 Mar 2015 17:43:38 +0000 (12:43 -0500)]
versionchanged for rc4 removal (closes #23679)

9 years agoIssue #23680: Reduce risk of race condition in check_interrupted_write() of
Victor Stinner [Mon, 16 Mar 2015 17:03:06 +0000 (18:03 +0100)]
Issue #23680: Reduce risk of race condition in check_interrupted_write() of
test_io. Allocate the large data before scheduling an alarm in 1 second.

On very slow computer, the alarm rings sometimes during the memory allocation.

9 years agoIssue #23680: Reduce risk of race condition in check_interrupted_write_retry()
Victor Stinner [Mon, 16 Mar 2015 16:57:49 +0000 (17:57 +0100)]
Issue #23680: Reduce risk of race condition in check_interrupted_write_retry()
of test_io. Allocate the large data before scheduling an alarm in 1 second.

On very slow computer, the alarm rings sometimes during the memory allocation.

9 years agoIssue #23571: Restore removed assert(!PyErr_Occurred()); in
Victor Stinner [Mon, 16 Mar 2015 10:52:32 +0000 (11:52 +0100)]
Issue #23571: Restore removed assert(!PyErr_Occurred()); in
PyEval_CallObjectWithKeywords()

Sorry Serhiy, I missed your explanation because the review email was moved to
my Spam folder :-(

9 years agoUse non-zero and non-last positions in error handler tests.
Serhiy Storchaka [Mon, 16 Mar 2015 06:31:38 +0000 (08:31 +0200)]
Use non-zero and non-last positions in error handler tests.

9 years agoUse non-zero and non-last positions in error handler tests.
Serhiy Storchaka [Mon, 16 Mar 2015 06:29:47 +0000 (08:29 +0200)]
Use non-zero and non-last positions in error handler tests.

9 years agoIssue #23585: make patchcheck will ensure the interpreter is built.
Robert Collins [Mon, 16 Mar 2015 02:30:31 +0000 (15:30 +1300)]
Issue #23585: make patchcheck will ensure the interpreter is built.

9 years agoIssue #23631: Fix traceback.format_list when a traceback has been mutated.
Robert Collins [Mon, 16 Mar 2015 02:27:16 +0000 (15:27 +1300)]
Issue #23631: Fix traceback.format_list when a traceback has been mutated.

9 years agoIncreased coverage of standard codec error handlers.
Serhiy Storchaka [Sun, 15 Mar 2015 21:43:34 +0000 (23:43 +0200)]
Increased coverage of standard codec error handlers.

9 years agoIncreased coverage of standard codec error handlers.
Serhiy Storchaka [Sun, 15 Mar 2015 21:41:37 +0000 (23:41 +0200)]
Increased coverage of standard codec error handlers.

9 years agoIssue #23549: Clarify confusion in heapq doc - accessing the mininmal element
Eli Bendersky [Sun, 15 Mar 2015 03:17:38 +0000 (20:17 -0700)]
Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element

Merge 3.4

The current documentation only mentions heap[0] as the smallest element in the
beginning, and not in any of the methods' docs. There's no method to access the
minimal element without popping it, and the documentation of nsmallest is
confusing because it may suggest that min() is the way to go for n==1.

9 years agoIssue #23549: Clarify confusion in heapq doc - accessing the mininmal element
Eli Bendersky [Sun, 15 Mar 2015 03:14:23 +0000 (20:14 -0700)]
Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element

The current documentation only mentions heap[0] as the smallest element in the
beginning, and not in any of the methods' docs. There's no method to access the
minimal element without popping it, and the documentation of nsmallest is
confusing because it may suggest that min() is the way to go for n==1.

9 years agoIssue #23568: Add rdivmod support to MagicMock() objects.
Berker Peksag [Sat, 14 Mar 2015 23:57:38 +0000 (01:57 +0200)]
Issue #23568: Add rdivmod support to MagicMock() objects.

Patch by Håkan Lövdahl.

9 years agoIssue #23568: Add rdivmod support to MagicMock() objects.
Berker Peksag [Sat, 14 Mar 2015 23:51:56 +0000 (01:51 +0200)]
Issue #23568: Add rdivmod support to MagicMock() objects.

Patch by Håkan Lövdahl.

9 years agoIssue #2052: Add charset parameter to HtmlDiff.make_file().
Berker Peksag [Sat, 14 Mar 2015 23:18:47 +0000 (01:18 +0200)]
Issue #2052: Add charset parameter to HtmlDiff.make_file().

9 years agoFix minor docs markup errors.
Serhiy Storchaka [Sat, 14 Mar 2015 19:34:25 +0000 (21:34 +0200)]
Fix minor docs markup errors.

9 years agoFix minor docs markup errors.
Serhiy Storchaka [Sat, 14 Mar 2015 19:32:57 +0000 (21:32 +0200)]
Fix minor docs markup errors.

9 years agoIssue #23606: Temporarily suppress test for CRT name.
Steve Dower [Sat, 14 Mar 2015 18:48:44 +0000 (11:48 -0700)]
Issue #23606: Temporarily suppress test for CRT name.

9 years agoFixes incorrect use of GetLastError where errno should be used.
Steve Dower [Sat, 14 Mar 2015 18:39:18 +0000 (11:39 -0700)]
Fixes incorrect use of GetLastError where errno should be used.

9 years agoFixes incorrect use of GetLastError where errno should be used.
Steve Dower [Sat, 14 Mar 2015 18:38:27 +0000 (11:38 -0700)]
Fixes incorrect use of GetLastError where errno should be used.

9 years agomerge 3.4
Benjamin Peterson [Fri, 13 Mar 2015 21:21:29 +0000 (16:21 -0500)]
merge 3.4

9 years ago__getslice__ certainly won't appear in the output
Benjamin Peterson [Fri, 13 Mar 2015 21:21:23 +0000 (16:21 -0500)]
__getslice__ certainly won't appear in the output

9 years agoMerge 3.4
Brett Cannon [Fri, 13 Mar 2015 16:50:16 +0000 (12:50 -0400)]
Merge 3.4

9 years agoMake the case to only support Python 2.7 when supporting 2/3 simultaneously
Brett Cannon [Fri, 13 Mar 2015 16:49:44 +0000 (12:49 -0400)]
Make the case to only support Python 2.7 when supporting 2/3 simultaneously

9 years agoAdd some periods to the ends of a couple comments
Brett Cannon [Fri, 13 Mar 2015 15:13:20 +0000 (11:13 -0400)]
Add some periods to the ends of a couple comments

9 years agoStrip trailing whitespace
Brett Cannon [Fri, 13 Mar 2015 14:42:08 +0000 (10:42 -0400)]
Strip trailing whitespace

9 years agoIssue #23491: Implement PEP 441: Improving Python Zip Application Support
Brett Cannon [Fri, 13 Mar 2015 14:40:49 +0000 (10:40 -0400)]
Issue #23491: Implement PEP 441: Improving Python Zip Application Support

Thanks to Paul Moore for the PEP and implementation.

9 years agoIssue #23566: Skip "fd" tests of test_faulthandler on Windows
Victor Stinner [Fri, 13 Mar 2015 10:01:30 +0000 (11:01 +0100)]
Issue #23566: Skip "fd" tests of test_faulthandler on Windows

subprocess doesn't support pass_fds on Windows.

9 years agoIssue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Serhiy Storchaka [Fri, 13 Mar 2015 07:05:01 +0000 (09:05 +0200)]
Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.

9 years agoIssue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
Serhiy Storchaka [Fri, 13 Mar 2015 06:25:26 +0000 (08:25 +0200)]
Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator.  Patch by Alon Diamant and Davin
Potts.

9 years agouse the meth role for ZipFile.open
Benjamin Peterson [Fri, 13 Mar 2015 03:41:06 +0000 (22:41 -0500)]
use the meth role for ZipFile.open

9 years agoIssue #23081: Document that PySequence_List also accepts iterables.
Berker Peksag [Fri, 13 Mar 2015 00:55:45 +0000 (02:55 +0200)]
Issue #23081: Document that PySequence_List also accepts iterables.

Patch by Lars Buitinck.

9 years agoIssue #22154: Add an example to show context management protocol support of ZipFile...
Berker Peksag [Fri, 13 Mar 2015 00:29:54 +0000 (02:29 +0200)]
Issue #22154: Add an example to show context management protocol support of ZipFile.open().

Patch by Mike Short.

9 years agoIssue #23641: Cleaned out legacy dunder names from tests and docs.
Serhiy Storchaka [Thu, 12 Mar 2015 19:56:08 +0000 (21:56 +0200)]
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.

9 years agoIssue #20617: Remove unused import in test_ssl.
Berker Peksag [Thu, 12 Mar 2015 16:50:49 +0000 (18:50 +0200)]
Issue #20617: Remove unused import in test_ssl.

Patch by Mark Lawrence.

9 years agotest
Victor Stinner [Thu, 12 Mar 2015 15:19:01 +0000 (16:19 +0100)]
test

9 years agoIssue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Serhiy Storchaka [Fri, 13 Mar 2015 07:09:35 +0000 (09:09 +0200)]
Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.

9 years agoIssue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
Serhiy Storchaka [Fri, 13 Mar 2015 06:30:33 +0000 (08:30 +0200)]
Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator.  Patch by Alon Diamant and Davin
Potts.

9 years agomerge 3.4
Benjamin Peterson [Fri, 13 Mar 2015 03:41:14 +0000 (22:41 -0500)]
merge 3.4

9 years agoIssue #23081: Document that PySequence_List also accepts iterables.
Berker Peksag [Fri, 13 Mar 2015 00:56:12 +0000 (02:56 +0200)]
Issue #23081: Document that PySequence_List also accepts iterables.

Patch by Lars Buitinck.

9 years agoIssue #22154: Add an example to show context management protocol support of ZipFile...
Berker Peksag [Fri, 13 Mar 2015 00:30:17 +0000 (02:30 +0200)]
Issue #22154: Add an example to show context management protocol support of ZipFile.open().

Patch by Mike Short.