]> granicus.if.org Git - python/log
python
9 years agoIssue #23728: binascii.crc_hqx() could return an integer outside of the range
Serhiy Storchaka [Mon, 20 Apr 2015 06:26:49 +0000 (09:26 +0300)]
Issue #23728: binascii.crc_hqx() could return an integer outside of the range
0-0xffff for empty data.

9 years agoIssue #23842: Added tests for os.major(), os.minor() and os.makedev().
Serhiy Storchaka [Mon, 20 Apr 2015 06:22:13 +0000 (09:22 +0300)]
Issue #23842: Added tests for os.major(), os.minor() and os.makedev().

9 years agofix grammar
Benjamin Peterson [Mon, 20 Apr 2015 03:14:37 +0000 (23:14 -0400)]
fix grammar

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:12:14 +0000 (21:12 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:08:42 +0000 (21:08 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years agoFixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 18:11:30 +0000 (21:11 +0300)]
Fixed error message for the "u#" format code.

9 years agoMark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:37:35 +0000 (04:37 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.

9 years agoIssue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Berker Peksag [Sun, 19 Apr 2015 01:32:23 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().

Patch by Andy Holst.

9 years agoIssue #23536: Clarified scope of fileConfig()'s API.
Vinay Sajip [Sat, 18 Apr 2015 12:14:10 +0000 (13:14 +0100)]
Issue #23536: Clarified scope of fileConfig()'s API.

9 years agoBackported tests from issue #20175.
Serhiy Storchaka [Thu, 16 Apr 2015 08:54:14 +0000 (11:54 +0300)]
Backported tests from issue #20175.

9 years ago#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
R David Murray [Tue, 14 Apr 2015 21:57:41 +0000 (17:57 -0400)]
#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.

Patch by Jamiel Almeida.

9 years agoIssue #23956: Fix typo in imp.py docstring.
Zachary Ware [Tue, 14 Apr 2015 20:43:00 +0000 (15:43 -0500)]
Issue #23956: Fix typo in imp.py docstring.

Patch by Jacinda Shelly.

9 years ago#23957: fix typo.
R David Murray [Tue, 14 Apr 2015 20:42:08 +0000 (16:42 -0400)]
#23957: fix typo.

9 years agoissue9014: Include more formatting on :c:type:`PyObject` etc.
Gregory P. Smith [Tue, 14 Apr 2015 18:21:05 +0000 (11:21 -0700)]
issue9014: Include more formatting on :c:type:`PyObject` etc.

9 years agoissue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
Gregory P. Smith [Tue, 14 Apr 2015 18:12:53 +0000 (11:12 -0700)]
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.

9 years agoremove trailing space :)
Gregory P. Smith [Tue, 14 Apr 2015 17:04:30 +0000 (10:04 -0700)]
remove trailing space :)

9 years agoissue22046: mention that zipfile can raise NotImplementedError on unsupported
Gregory P. Smith [Tue, 14 Apr 2015 17:02:20 +0000 (10:02 -0700)]
issue22046: mention that zipfile can raise NotImplementedError on unsupported
compression algorithms.

9 years agoIssue #23811: Add missing newline to the PyCompileError error message.
Berker Peksag [Tue, 14 Apr 2015 15:57:55 +0000 (18:57 +0300)]
Issue #23811: Add missing newline to the PyCompileError error message.

Patch by Alex Shkop.

9 years agoReword NEWS item a bit
Andrew Kuchling [Tue, 14 Apr 2015 14:18:46 +0000 (10:18 -0400)]
Reword NEWS item a bit

9 years ago#17898: reset k and v so that the loop doesn't use an old value
Andrew Kuchling [Mon, 13 Apr 2015 14:38:56 +0000 (10:38 -0400)]
#17898: reset k and v so that the loop doesn't use an old value

9 years ago#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)
Andrew Kuchling [Mon, 13 Apr 2015 13:58:36 +0000 (09:58 -0400)]
#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)

9 years agoIssue #23310: Fix MagicMock's initializer to work with __methods__.
Łukasz Langa [Tue, 14 Apr 2015 07:12:57 +0000 (00:12 -0700)]
Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock().  Patch by Kasia Jachim.

9 years agoIssue #23943: Fix typos. Patch by Piotr Kasprzyk.
Berker Peksag [Tue, 14 Apr 2015 06:30:01 +0000 (09:30 +0300)]
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.

9 years agoremove useless word (closes #23929)
Benjamin Peterson [Tue, 14 Apr 2015 00:24:10 +0000 (20:24 -0400)]
remove useless word (closes #23929)

9 years agoMake Argument Clinic's '--make' option work on Windows.
Zachary Ware [Mon, 13 Apr 2015 23:33:41 +0000 (18:33 -0500)]
Make Argument Clinic's '--make' option work on Windows.

9 years agoIssue #23730: Document the return value of ZipFile.extract
Zachary Ware [Mon, 13 Apr 2015 21:40:49 +0000 (16:40 -0500)]
Issue #23730: Document the return value of ZipFile.extract

Patch by Stéphane Wirtel.

9 years ago - Makefile.pre.in (LIBPL): Use the definition from configure.ac
doko@ubuntu.com [Mon, 13 Apr 2015 20:10:21 +0000 (22:10 +0200)]
 - Makefile.pre.in (LIBPL): Use the definition from configure.ac

9 years ago - Use PLATDIR for the platform directory everywhere (refactoring only)
doko@ubuntu.com [Mon, 13 Apr 2015 19:59:57 +0000 (21:59 +0200)]
 - Use PLATDIR for the platform directory everywhere (refactoring only)

9 years ago - merge heads
doko@ubuntu.com [Mon, 13 Apr 2015 19:48:44 +0000 (21:48 +0200)]
 - merge heads

9 years agoFix duplicate doc entry for SSLContext.get_ca_certs()
Antoine Pitrou [Mon, 13 Apr 2015 19:06:15 +0000 (21:06 +0200)]
Fix duplicate doc entry for SSLContext.get_ca_certs()

(closes #18147)

9 years ago - the PKG_PROG_PKG_CONFIG macro is not part of autoconf, but comes from third
doko@ubuntu.com [Mon, 13 Apr 2015 18:53:43 +0000 (20:53 +0200)]
 - the PKG_PROG_PKG_CONFIG macro is not part of autoconf, but comes from third
   party sources. Run aclocal to import it to aclocal.m4 and add aclocal.m4
   to the archive.

9 years agoIssue #22982: Improve BOM handling when seeking to multiple positions of a writable...
Antoine Pitrou [Mon, 13 Apr 2015 18:01:21 +0000 (20:01 +0200)]
Issue #22982: Improve BOM handling when seeking to multiple positions of a writable text file.

9 years agoMerge
Antoine Pitrou [Mon, 13 Apr 2015 17:48:52 +0000 (19:48 +0200)]
Merge

9 years agoIssue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
Antoine Pitrou [Mon, 13 Apr 2015 17:41:47 +0000 (19:41 +0200)]
Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
while it is holding a lock to a buffered I/O object, and the main thread
tries to use the same I/O object (typically stdout or stderr).  A fatal
error is emitted instead.

9 years agoForce the Windows readme to CRLF
Zachary Ware [Mon, 13 Apr 2015 17:28:11 +0000 (12:28 -0500)]
Force the Windows readme to CRLF

9 years agoIssue #17202: Add .bat to .hgeol to force them to CRLF.
Zachary Ware [Mon, 13 Apr 2015 16:59:54 +0000 (11:59 -0500)]
Issue #17202: Add .bat to .hgeol to force them to CRLF.

Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.

9 years agoIssue #23932: Update the tutorial section on function annotations.
Zachary Ware [Mon, 13 Apr 2015 16:30:47 +0000 (11:30 -0500)]
Issue #23932: Update the tutorial section on function annotations.

Patch by Juti Noppornpitak.

9 years agoAttribute Michael Dorman for his initial patch on issue #18402.
Zachary Ware [Mon, 13 Apr 2015 16:07:35 +0000 (11:07 -0500)]
Attribute Michael Dorman for his initial patch on issue #18402.

9 years agoMerge heads
Zachary Ware [Mon, 13 Apr 2015 15:51:37 +0000 (10:51 -0500)]
Merge heads

9 years agoIssue #18402: Also look for 64 bit Perl in build_ssl.py.
Zachary Ware [Mon, 13 Apr 2015 15:46:40 +0000 (10:46 -0500)]
Issue #18402: Also look for 64 bit Perl in build_ssl.py.

It's still not necessary to build, but may be useful to some.

9 years agoDon't gitignore the Python directory on case insensitive file systems.
R David Murray [Mon, 13 Apr 2015 01:52:44 +0000 (21:52 -0400)]
Don't gitignore the Python directory on case insensitive file systems.

9 years ago#17380: Document tp_init return value in extending docs.
R David Murray [Mon, 13 Apr 2015 01:51:36 +0000 (21:51 -0400)]
#17380: Document tp_init return value in extending docs.

Patch by James Powell.

9 years agoIssue #12955: Change the urlopen() examples to use context managers where appropriate.
Berker Peksag [Sun, 12 Apr 2015 10:52:49 +0000 (13:52 +0300)]
Issue #12955: Change the urlopen() examples to use context managers where appropriate.

Patch by Martin Panter.

9 years agoClose #23904: fix pathlib documentation misleadingly mentioning that bytes objects...
Antoine Pitrou [Sat, 11 Apr 2015 22:08:02 +0000 (00:08 +0200)]
Close #23904: fix pathlib documentation misleadingly mentioning that bytes objects are accepted in the PurePath constructor

9 years agoUnittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com.
Guido van Rossum [Sat, 11 Apr 2015 21:44:01 +0000 (17:44 -0400)]
Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com.

9 years agoIssue #23912: Fix code formatting in datamodel.rst.
Berker Peksag [Sat, 11 Apr 2015 11:59:30 +0000 (14:59 +0300)]
Issue #23912: Fix code formatting in datamodel.rst.

Patch by James Edwards.

9 years agouse imperative
Benjamin Peterson [Sat, 11 Apr 2015 11:42:42 +0000 (07:42 -0400)]
use imperative

9 years agoMerge heads
Serhiy Storchaka [Fri, 10 Apr 2015 13:21:58 +0000 (16:21 +0300)]
Merge heads

9 years agoIssue #23025: Add a mention of os.urandom to RAND_bytes and RAND_pseudo_bytes docs.
Berker Peksag [Fri, 10 Apr 2015 13:19:13 +0000 (16:19 +0300)]
Issue #23025: Add a mention of os.urandom to RAND_bytes and RAND_pseudo_bytes docs.

Patch by Alex Gaynor.

9 years agoMerge heads
Serhiy Storchaka [Fri, 10 Apr 2015 13:18:33 +0000 (16:18 +0300)]
Merge heads

9 years agoIssue #23062: Add a test for suppressing --version with argparse.SUPPRESS.
Berker Peksag [Fri, 10 Apr 2015 13:11:12 +0000 (16:11 +0300)]
Issue #23062: Add a test for suppressing --version with argparse.SUPPRESS.

TestHelpVersionOptional was redundant.

9 years agoIssue #21859: Corrected FileIO docstrings.
Serhiy Storchaka [Fri, 10 Apr 2015 13:08:43 +0000 (16:08 +0300)]
Issue #21859: Corrected FileIO docstrings.

9 years agoIssue #23865: close() methods in multiple modules now are idempotent and more
Serhiy Storchaka [Fri, 10 Apr 2015 10:24:41 +0000 (13:24 +0300)]
Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.

9 years agoPut the NASM pulled from svn.python.org at the front of the PATH.
Zachary Ware [Fri, 10 Apr 2015 01:16:05 +0000 (20:16 -0500)]
Put the NASM pulled from svn.python.org at the front of the PATH.

This will prevent failures from the version of NASM installed on buildbots,
if the ability to override the version used is desired again later, we can
figure out a way to opt in.

9 years agoReplaced "string" with "bytes object" in docstrings of binary I/O objects.
Serhiy Storchaka [Thu, 9 Apr 2015 23:18:44 +0000 (02:18 +0300)]
Replaced "string" with "bytes object" in docstrings of binary I/O objects.

9 years agoBacked out changeset bc41a4d6c58f after buildbots have new OpenSSL source.
Zachary Ware [Thu, 9 Apr 2015 20:55:56 +0000 (15:55 -0500)]
Backed out changeset bc41a4d6c58f after buildbots have new OpenSSL source.

9 years agoRefresh OpenSSL sources on the buildbots
Zachary Ware [Thu, 9 Apr 2015 20:51:17 +0000 (15:51 -0500)]
Refresh OpenSSL sources on the buildbots

9 years agoIssue #23686: Update Windows build to use OpenSSL 1.0.2a.
Zachary Ware [Wed, 8 Apr 2015 00:59:37 +0000 (19:59 -0500)]
Issue #23686: Update Windows build to use OpenSSL 1.0.2a.

9 years agoFix typo in telnet docs (reported by Keith Briggs)
Tim Golden [Wed, 8 Apr 2015 15:52:27 +0000 (16:52 +0100)]
Fix typo in telnet docs (reported by Keith Briggs)

9 years agoactually ssl3 is just completely broken
Benjamin Peterson [Wed, 8 Apr 2015 15:11:00 +0000 (11:11 -0400)]
actually ssl3 is just completely broken

9 years agoIssue #23400: Raise same exception on both Python 2 and 3 if sem_open is not available.
Berker Peksag [Wed, 8 Apr 2015 14:56:30 +0000 (17:56 +0300)]
Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not available.

Patch by Davin Potts.

9 years agoSkip nntplib tests when transient errors captured.
Berker Peksag [Wed, 8 Apr 2015 08:24:27 +0000 (11:24 +0300)]
Skip nntplib tests when transient errors captured.

9 years agoIssue #23879, asyncio: SelectorEventLoop.sock_connect() must not call connect()
Victor Stinner [Tue, 7 Apr 2015 19:38:04 +0000 (21:38 +0200)]
Issue #23879, asyncio: SelectorEventLoop.sock_connect() must not call connect()
again if the first call to connect() raises an InterruptedError.

When the C function connect() fails with EINTR, the connection runs in
background. We have to wait until the socket becomes writable to be notified
when the connection succeed or fails.

9 years agoremove smtpd dead code (closes #23873)
Benjamin Peterson [Tue, 7 Apr 2015 15:59:06 +0000 (11:59 -0400)]
remove smtpd dead code (closes #23873)

Patch by Hoolean.

9 years agoUpdate pip to 6.1.1
Donald Stufft [Tue, 7 Apr 2015 11:09:59 +0000 (07:09 -0400)]
Update pip to 6.1.1

9 years agoIssue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
Victor Stinner [Tue, 7 Apr 2015 10:52:50 +0000 (12:52 +0200)]
Issue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
are down, don't use anymore in test_urllib2net

9 years agoIssue #23881: urllib.request.ftpwrapper constructor now closes the socket if
Victor Stinner [Tue, 7 Apr 2015 10:49:27 +0000 (12:49 +0200)]
Issue #23881: urllib.request.ftpwrapper constructor now closes the socket if
the FTP connection failed to fix a ResourceWarning.

9 years agoUpgrade pip to 6.1.0 and setuptools to 15.0
Donald Stufft [Tue, 7 Apr 2015 05:29:33 +0000 (01:29 -0400)]
Upgrade pip to 6.1.0 and setuptools to 15.0

9 years agoIssue #22977: Remove unconditional import of ctypes.
Serhiy Storchaka [Mon, 6 Apr 2015 17:37:16 +0000 (20:37 +0300)]
Issue #22977: Remove unconditional import of ctypes.

9 years agoremove extra arguments in arg parsing format codes (closes #23875)
Benjamin Peterson [Mon, 6 Apr 2015 17:05:22 +0000 (13:05 -0400)]
remove extra arguments in arg parsing format codes (closes #23875)

9 years agoAdded missing right bracket (reported by Daryl Klakouski)
Tim Golden [Mon, 6 Apr 2015 10:04:49 +0000 (11:04 +0100)]
Added missing right bracket (reported by Daryl Klakouski)

9 years agofix extended command syntax (closes #23872)
Benjamin Peterson [Sun, 5 Apr 2015 14:01:48 +0000 (10:01 -0400)]
fix extended command syntax (closes #23872)

9 years agoIssue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
Serhiy Storchaka [Sat, 4 Apr 2015 09:43:01 +0000 (12:43 +0300)]
Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
returns bool.  tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj).  tkinter.BooleanVar.get() now always returns bool.

9 years agoOpen files in binary mode to avoid newlines transformation.
Serhiy Storchaka [Sat, 4 Apr 2015 07:36:25 +0000 (10:36 +0300)]
Open files in binary mode to avoid newlines transformation.

9 years agoIssue #23338: Fixed formatting ctypes error messages on Cygwin.
Serhiy Storchaka [Sat, 4 Apr 2015 07:05:48 +0000 (10:05 +0300)]
Issue #23338: Fixed formatting ctypes error messages on Cygwin.
Patch by Makoto Kato.

9 years agoIssue #23825: Fixed test_idle under -OO.
Serhiy Storchaka [Sat, 4 Apr 2015 06:47:31 +0000 (09:47 +0300)]
Issue #23825: Fixed test_idle under -OO.

9 years agoEscaped backslashes in docstrings.
Serhiy Storchaka [Fri, 3 Apr 2015 15:12:41 +0000 (18:12 +0300)]
Escaped backslashes in docstrings.

9 years agoIssue #23219: Update asyncio.wait_for() documentation
Victor Stinner [Fri, 3 Apr 2015 15:08:19 +0000 (17:08 +0200)]
Issue #23219: Update asyncio.wait_for() documentation

the wait is cancelled, the future *fut* is now also cancelled.

9 years agoIssue #22351. MockSslTests tests in test_nntplib now are reported if skipped.
Serhiy Storchaka [Fri, 3 Apr 2015 12:02:20 +0000 (15:02 +0300)]
Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped.

9 years agoIssue #22351: Fix test_nntplib if the ssl module is missing
Victor Stinner [Fri, 3 Apr 2015 09:06:40 +0000 (11:06 +0200)]
Issue #22351: Fix test_nntplib if the ssl module is missing

@unittest.skipUnless(ssl, '...') doesn't work because the class body uses the
nntplib.NNTP_SSL attribute which doesn't exist.

9 years agoIssue #10590: Added tests for xml.sax.parse() and xml.sax.parseString().
Serhiy Storchaka [Thu, 2 Apr 2015 20:05:57 +0000 (23:05 +0300)]
Issue #10590: Added tests for xml.sax.parse() and xml.sax.parseString().

9 years agoIssue #2175: Added tests for xml.sax.saxutils.prepare_input_source().
Serhiy Storchaka [Thu, 2 Apr 2015 17:55:59 +0000 (20:55 +0300)]
Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source().
Made test XML files non-ASCII.

9 years agoIssue #16840: Fixed test_tcl for Tcl < 8.5.
Serhiy Storchaka [Thu, 2 Apr 2015 17:07:09 +0000 (20:07 +0300)]
Issue #16840: Fixed test_tcl for Tcl < 8.5.

9 years agoIssue #21526: Skip test_booleans on Tcl < 8.5.
Serhiy Storchaka [Thu, 2 Apr 2015 16:57:52 +0000 (19:57 +0300)]
Issue #21526: Skip test_booleans on Tcl < 8.5.

9 years agoIssue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and
Serhiy Storchaka [Thu, 2 Apr 2015 15:46:50 +0000 (18:46 +0300)]
Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and
arbitrary precision integers added in Tcl 8.5.

9 years agoIssue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the
Victor Stinner [Thu, 2 Apr 2015 15:16:08 +0000 (17:16 +0200)]
Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the
result of sendto() instead of the C int type.

9 years agoIssue #23851: close() must not be retried when it fails with EINTR
Victor Stinner [Thu, 2 Apr 2015 14:24:46 +0000 (16:24 +0200)]
Issue #23851: close() must not be retried when it fails with EINTR

See the PEP 475 for the rationale.

9 years agoIssue #22977: Fix test_exceptions
Victor Stinner [Thu, 2 Apr 2015 12:17:38 +0000 (14:17 +0200)]
Issue #22977: Fix test_exceptions

9 years agoIssue #21526: Fixed the test_booleans test for wantobjects = 0.
Serhiy Storchaka [Thu, 2 Apr 2015 08:46:07 +0000 (11:46 +0300)]
Issue #21526: Fixed the test_booleans test for wantobjects = 0.

9 years agoIssue #21526: Tkinter now supports new boolean type in Tcl 8.5.
Serhiy Storchaka [Thu, 2 Apr 2015 07:35:57 +0000 (10:35 +0300)]
Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.

9 years agoIssue #22977: Fixed formatting Windows error messages on Wine.
Serhiy Storchaka [Thu, 2 Apr 2015 06:47:27 +0000 (09:47 +0300)]
Issue #22977: Fixed formatting Windows error messages on Wine.
Patch by Martin Panter.

9 years agoreplace 512 bit dh key with a 2014 bit one (closes #23844)
Benjamin Peterson [Thu, 2 Apr 2015 04:04:06 +0000 (00:04 -0400)]
replace 512 bit dh key with a 2014 bit one (closes #23844)

Patch by Cédric Krier.

9 years agoremove assignment in conditional
Benjamin Peterson [Wed, 1 Apr 2015 15:16:40 +0000 (11:16 -0400)]
remove assignment in conditional

9 years agoIssue #23821: Fixed test_pdb failure under -O.
Serhiy Storchaka [Wed, 1 Apr 2015 13:58:19 +0000 (16:58 +0300)]
Issue #23821: Fixed test_pdb failure under -O.

9 years agoIssue #23838: linecache now clears the cache and returns an empty result on
Serhiy Storchaka [Wed, 1 Apr 2015 13:54:05 +0000 (16:54 +0300)]
Issue #23838: linecache now clears the cache and returns an empty result on
MemoryError.

9 years agoIssue #23799: Added test.support.start_threads() for running and cleaning up
Serhiy Storchaka [Wed, 1 Apr 2015 10:01:14 +0000 (13:01 +0300)]
Issue #23799: Added test.support.start_threads() for running and cleaning up
multiple threads.

9 years agodocument what exactly str.splitlines() splits on (closes #12855)
Benjamin Peterson [Wed, 1 Apr 2015 01:20:36 +0000 (21:20 -0400)]
document what exactly str.splitlines() splits on (closes #12855)

Patch by Martin Panter.

9 years agoIssue #18473: Fixed pickle compatibility tests for optional modules.
Serhiy Storchaka [Tue, 31 Mar 2015 13:49:26 +0000 (16:49 +0300)]
Issue #18473: Fixed pickle compatibility tests for optional modules.
Added WindowsError to compatibility mappings.

9 years agoIssue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.
Serhiy Storchaka [Tue, 31 Mar 2015 10:12:37 +0000 (13:12 +0300)]
Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.
Fixed ambigious reverse mappings.  Added many new mappings.  Import mapping
is no longer applied to modules already mapped with full name mapping.

Added tests for compatible pickling and unpickling and for consistency of
_compat_pickle mappings.

9 years agoIssue #23729: Improve docs for ElementTree namespace parsing
Raymond Hettinger [Tue, 31 Mar 2015 03:29:28 +0000 (20:29 -0700)]
Issue #23729:  Improve docs for ElementTree namespace parsing