]> granicus.if.org Git - python/log
python
10 years agoMerge: #18176: updated stdtypes UCD link, added reminder to makeunicodedata.
R David Murray [Thu, 9 Oct 2014 21:33:15 +0000 (17:33 -0400)]
Merge: #18176: updated stdtypes UCD link, added reminder to makeunicodedata.

10 years ago#18176: updated stdtypes UCD link, added reminder to makeunicodedata.
R David Murray [Thu, 9 Oct 2014 21:30:33 +0000 (17:30 -0400)]
#18176: updated stdtypes UCD link, added reminder to makeunicodedata.

Patch by Alexander Belopolsky.

10 years ago#18615: Make sndhdr return namedtuples.
R David Murray [Thu, 9 Oct 2014 20:59:30 +0000 (16:59 -0400)]
#18615: Make sndhdr return namedtuples.

Patch by Claudiu Popa.

10 years agoMerge 3.4
Victor Stinner [Thu, 9 Oct 2014 20:16:15 +0000 (22:16 +0200)]
Merge 3.4

10 years agoIssue #22588: Fix typo in _testcapi.test_incref_decref_API()
Victor Stinner [Thu, 9 Oct 2014 20:15:41 +0000 (22:15 +0200)]
Issue #22588: Fix typo in _testcapi.test_incref_decref_API()

10 years ago(Merge 3.4) Issue #22568: Fix compilation of posixmodule.c with Open Watcom:
Victor Stinner [Thu, 9 Oct 2014 11:53:45 +0000 (13:53 +0200)]
(Merge 3.4) Issue #22568: Fix compilation of posixmodule.c with Open Watcom:
rename "utime" variable to "ut" to avoid conflict with the C utime() function.
Patch written by Jeffrey Armstrong.

10 years agoIssue #22568: Fix compilation of posixmodule.c with Open Watcom: rename "utime"
Victor Stinner [Thu, 9 Oct 2014 11:52:31 +0000 (13:52 +0200)]
Issue #22568: Fix compilation of posixmodule.c with Open Watcom: rename "utime"
variable to "ut" to avoid conflict with the C utime() function. Patch written
by Jeffrey Armstrong.

10 years ago(Merge 3.4) Closes #22580: Fix documentation of PyUnicode_Tailmatch()
Victor Stinner [Thu, 9 Oct 2014 09:11:49 +0000 (11:11 +0200)]
(Merge 3.4) Closes #22580: Fix documentation of PyUnicode_Tailmatch()

The result type is Py_ssize_t (and not int).

10 years agoCloses #22580: Fix documentation of PyUnicode_Tailmatch()
Victor Stinner [Thu, 9 Oct 2014 09:11:25 +0000 (11:11 +0200)]
Closes #22580: Fix documentation of PyUnicode_Tailmatch()

The result type is Py_ssize_t (and not int).

10 years agowhatsnew: Fix markup.
Berker Peksag [Thu, 9 Oct 2014 08:46:56 +0000 (11:46 +0300)]
whatsnew: Fix markup.

10 years agowhatsnew: Add PEP 478.
Berker Peksag [Thu, 9 Oct 2014 08:38:19 +0000 (11:38 +0300)]
whatsnew: Add PEP 478.

10 years agoMerge with 3.4
Terry Jan Reedy [Thu, 9 Oct 2014 00:29:32 +0000 (20:29 -0400)]
Merge with 3.4

10 years agoIssue 3068: Move idlelib.configDialog action button creation into a separate
Terry Jan Reedy [Thu, 9 Oct 2014 00:29:13 +0000 (20:29 -0400)]
Issue 3068: Move idlelib.configDialog action button creation into a separate
method so it can be reused by the new extension dialog.

10 years agoIssue #21715: Extracted shared complicated code in the _io module to new
Serhiy Storchaka [Wed, 8 Oct 2014 19:32:50 +0000 (22:32 +0300)]
Issue #21715: Extracted shared complicated code in the _io module to new
_PyErr_ChainExceptions() function.

10 years agoIssue #21715: Extracted shared complicated code in the _io module to new
Serhiy Storchaka [Wed, 8 Oct 2014 19:31:52 +0000 (22:31 +0300)]
Issue #21715: Extracted shared complicated code in the _io module to new
_PyErr_ChainExceptions() function.

10 years agoIssue #22462: Fix pyexpat's creation of a dummy frame to make it appear in exception...
Antoine Pitrou [Wed, 8 Oct 2014 18:02:40 +0000 (20:02 +0200)]
Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.

Initial patch by Mark Shannon.

10 years agoIssue #22462: Fix pyexpat's creation of a dummy frame to make it appear in exception...
Antoine Pitrou [Wed, 8 Oct 2014 18:00:09 +0000 (20:00 +0200)]
Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.

Initial patch by Mark Shannon.

10 years agoDrop pydocgui.pyw from the distribution (post-merge merge from 165aa40bfe2e)
Steve Dower [Wed, 8 Oct 2014 15:36:16 +0000 (08:36 -0700)]
Drop pydocgui.pyw from the distribution (post-merge merge from 165aa40bfe2e)

10 years agoIssue #22576: Fix signatures of FTP.storbinary() and FTP.storlines() methods.
Berker Peksag [Wed, 8 Oct 2014 10:15:36 +0000 (13:15 +0300)]
Issue #22576: Fix signatures of FTP.storbinary() and FTP.storlines() methods.

The correct parameter name is "fp", not "file".

10 years agoIssue #22576: Fix signatures of FTP.storbinary() and FTP.storlines() methods.
Berker Peksag [Wed, 8 Oct 2014 10:15:04 +0000 (13:15 +0300)]
Issue #22576: Fix signatures of FTP.storbinary() and FTP.storlines() methods.

The correct parameter name is "fp", not "file".

10 years agoMostly-null-merge from 3.4 branch following 3.4.2 release.
Larry Hastings [Wed, 8 Oct 2014 09:56:18 +0000 (02:56 -0700)]
Mostly-null-merge from 3.4 branch following 3.4.2 release.

10 years agoMerge from 3.4.2 release head back into 3.4 mainline.
Larry Hastings [Wed, 8 Oct 2014 09:50:50 +0000 (02:50 -0700)]
Merge from 3.4.2 release head back into 3.4 mainline.

10 years agoPost-release changes after 3.4.2 final.
Larry Hastings [Wed, 8 Oct 2014 09:40:43 +0000 (02:40 -0700)]
Post-release changes after 3.4.2 final.

10 years agoMerge with 3.4: idlelib.configHandler
Terry Jan Reedy [Tue, 7 Oct 2014 03:27:02 +0000 (23:27 -0400)]
Merge with 3.4: idlelib.configHandler

10 years agoidlelib.configHandler: revise docstrings, add spaces, use False/True, add some
Terry Jan Reedy [Tue, 7 Oct 2014 03:26:26 +0000 (23:26 -0400)]
idlelib.configHandler: revise docstrings, add spaces, use False/True, add some
TODOs (mostly to do after add tests), and make a few other changes.

10 years agomerge 3.4
Benjamin Peterson [Tue, 7 Oct 2014 01:11:25 +0000 (21:11 -0400)]
merge 3.4

10 years agouse source role instead of linking to svn
Benjamin Peterson [Tue, 7 Oct 2014 01:10:25 +0000 (21:10 -0400)]
use source role instead of linking to svn

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 15:51:53 +0000 (17:51 +0200)]
merge with 3.4

10 years agoCloses #16155: fix a few errors in doctest output of the FAQ pages.
Georg Brandl [Mon, 6 Oct 2014 15:51:09 +0000 (17:51 +0200)]
Closes #16155: fix a few errors in doctest output of the FAQ pages.

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 14:57:02 +0000 (16:57 +0200)]
merge with 3.4

10 years agoCloses #12148: clarify "or's together option flags" in doctest docs.
Georg Brandl [Mon, 6 Oct 2014 14:56:43 +0000 (16:56 +0200)]
Closes #12148: clarify "or's together option flags" in doctest docs.

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 14:48:38 +0000 (16:48 +0200)]
merge with 3.4

10 years agoCloses #21782: the default hash(x) is not exactly id(x) but derived from it.
Georg Brandl [Mon, 6 Oct 2014 14:45:23 +0000 (16:45 +0200)]
Closes #21782: the default hash(x) is not exactly id(x) but derived from it.

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 14:19:20 +0000 (16:19 +0200)]
merge with 3.4

10 years agoCloses #10031: overhaul the "imports" section of the programming FAQ.
Georg Brandl [Mon, 6 Oct 2014 14:02:09 +0000 (16:02 +0200)]
Closes #10031: overhaul the "imports" section of the programming FAQ.

Remove the advice to never use relative imports; it is a leftover from 2.x implicit relative imports.
Remove the advice to locally import modules in __init__, it is a strange practice.
Remove the advice to use "from ... import *" with some modules.

10 years agoCloses #21480: better explanation of "hg touch" in the Makefile.
Georg Brandl [Mon, 6 Oct 2014 12:58:17 +0000 (14:58 +0200)]
Closes #21480: better explanation of "hg touch" in the Makefile.

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 12:38:58 +0000 (14:38 +0200)]
merge with 3.4

10 years agoClean up the docs of PyObject_IsSubclass and PyObject_IsInstance, and mention that...
Georg Brandl [Mon, 6 Oct 2014 12:38:53 +0000 (14:38 +0200)]
Clean up the docs of PyObject_IsSubclass and PyObject_IsInstance, and mention that they call the PEP 3119 methods.

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 12:15:13 +0000 (14:15 +0200)]
merge with 3.4

10 years agoCloses #22507: document that PyType_IsSubtype does not call __subclasscheck__.
Georg Brandl [Mon, 6 Oct 2014 12:15:06 +0000 (14:15 +0200)]
Closes #22507: document that PyType_IsSubtype does not call __subclasscheck__.

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 11:54:43 +0000 (13:54 +0200)]
merge with 3.4

10 years agoDocument builtin classes as such, not functions.
Georg Brandl [Mon, 6 Oct 2014 11:54:36 +0000 (13:54 +0200)]
Document builtin classes as such, not functions.

10 years agomerge with 3.4
Georg Brandl [Mon, 6 Oct 2014 10:58:36 +0000 (12:58 +0200)]
merge with 3.4

10 years agoCloses #22565: fix argument types of PyErr_WarnEx.
Georg Brandl [Mon, 6 Oct 2014 10:58:00 +0000 (12:58 +0200)]
Closes #22565: fix argument types of PyErr_WarnEx.

10 years agoMerge with 3.4
Terry Jan Reedy [Mon, 6 Oct 2014 06:04:48 +0000 (02:04 -0400)]
Merge with 3.4

10 years agoIssue #22546: update doc for mini-language float None presentation type.
Terry Jan Reedy [Mon, 6 Oct 2014 06:04:33 +0000 (02:04 -0400)]
Issue #22546: update doc for mini-language float None presentation type.

10 years agoAdded tag v3.4.2 for changeset ab2c023a9432
Larry Hastings [Mon, 6 Oct 2014 02:06:07 +0000 (19:06 -0700)]
Added tag v3.4.2 for changeset ab2c023a9432

10 years agoRelease bump for 3.4.2 final. v3.4.2
Larry Hastings [Mon, 6 Oct 2014 02:05:50 +0000 (19:05 -0700)]
Release bump for 3.4.2 final.

10 years agoUpdate pydoc topics and fix supsicious markup for 3.4.2 final.
Larry Hastings [Mon, 6 Oct 2014 02:03:48 +0000 (19:03 -0700)]
Update pydoc topics and fix supsicious markup for 3.4.2 final.

10 years agomerge 3.4 (#18494)
Benjamin Peterson [Mon, 6 Oct 2014 01:20:51 +0000 (21:20 -0400)]
merge 3.4 (#18494)

10 years agoPyObject not PyType (closes #18494)
Benjamin Peterson [Mon, 6 Oct 2014 01:20:36 +0000 (21:20 -0400)]
PyObject not PyType (closes #18494)

10 years agoRemove unused "block" argument in SSLObject.do_handshake() (issue #21965)
Antoine Pitrou [Sun, 5 Oct 2014 22:21:09 +0000 (00:21 +0200)]
Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)

10 years agoIssue #21965: Add support for in-memory SSL to the ssl module.
Antoine Pitrou [Sun, 5 Oct 2014 18:41:53 +0000 (20:41 +0200)]
Issue #21965: Add support for in-memory SSL to the ssl module.
Patch by Geert Jansen.

10 years agoCloses #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an...
Antoine Pitrou [Sun, 5 Oct 2014 18:04:06 +0000 (20:04 +0200)]
Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive.

10 years agoCloses #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an...
Antoine Pitrou [Sun, 5 Oct 2014 18:02:28 +0000 (20:02 +0200)]
Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive.

10 years ago#16518: Bring error messages in harmony with docs ("bytes-like object")
R David Murray [Sun, 5 Oct 2014 15:47:01 +0000 (11:47 -0400)]
#16518: Bring error messages in harmony with docs ("bytes-like object")

Some time ago we changed the docs to consistently use the term 'bytes-like
object' in all the contexts where bytes, bytearray, memoryview, etc are used.
This patch (by Ezio Melotti) completes that work by changing the error
messages that previously reported that certain types did "not support the
buffer interface" to instead say that a bytes-like object is required.  (The
glossary entry for bytes-like object references the discussion of the buffer
protocol in the docs.)

10 years agoMerge 3.4
Victor Stinner [Sun, 5 Oct 2014 15:38:45 +0000 (17:38 +0200)]
Merge 3.4

10 years agocleanup test_posix
Victor Stinner [Sun, 5 Oct 2014 15:37:59 +0000 (17:37 +0200)]
cleanup test_posix

10 years agoIssue #22390: Remove files created by tests
Victor Stinner [Sun, 5 Oct 2014 15:37:41 +0000 (17:37 +0200)]
Issue #22390: Remove files created by tests

10 years ago(Merge 3.4) Issue #22290: Fix error handling in the _posixsubprocess module.
Victor Stinner [Sun, 5 Oct 2014 15:25:48 +0000 (17:25 +0200)]
(Merge 3.4) Issue #22290: Fix error handling in the _posixsubprocess module.

* Don't call the garbage collector with an exception set: it causes an
  assertion to fail in debug mode.
* Enhance also error handling if allocating an array for the executable list
  failed.
* Add an unit test for 4 different errors in the _posixsubprocess module.

10 years agoIssue #22290: Fix error handling in the _posixsubprocess module.
Victor Stinner [Sun, 5 Oct 2014 15:25:19 +0000 (17:25 +0200)]
Issue #22290: Fix error handling in the _posixsubprocess module.

* Don't call the garbage collector with an exception set: it causes an
  assertion to fail in debug mode.
* Enhance also error handling if allocating an array for the executable list
  failed.
* Add an unit test for 4 different errors in the _posixsubprocess module.

10 years agomerge with 3.4
Georg Brandl [Sun, 5 Oct 2014 14:38:25 +0000 (16:38 +0200)]
merge with 3.4

10 years agoCloses #19477: remove outdated documentation of tp_print type object slot.
Georg Brandl [Sun, 5 Oct 2014 14:38:02 +0000 (16:38 +0200)]
Closes #19477: remove outdated documentation of tp_print type object slot.

10 years agoAdd Dan O'Reilly to Misc/ACKS
Antoine Pitrou [Sun, 5 Oct 2014 00:35:46 +0000 (02:35 +0200)]
Add Dan O'Reilly to Misc/ACKS

10 years agoMerge: #14201: Update ctypes docs to match behavior changed from 214b28d7a999.
R David Murray [Sat, 4 Oct 2014 22:25:29 +0000 (18:25 -0400)]
Merge: #14201: Update ctypes docs to match behavior changed from 214b28d7a999.

10 years ago#14201: Update ctypes docs to match behavior changed from 214b28d7a999.
R David Murray [Sat, 4 Oct 2014 22:25:07 +0000 (18:25 -0400)]
#14201: Update ctypes docs to match behavior changed from 214b28d7a999.

Original patch by Erik Johansson, slightly updated by Meador Inge.

10 years agoMerge: #11866: Eliminate race condition in the computation of names for new threads.
R David Murray [Sat, 4 Oct 2014 21:45:15 +0000 (17:45 -0400)]
Merge: #11866: Eliminate race condition in the computation of names for new threads.

10 years ago#11866: Eliminate race condition in the computation of names for new threads.
R David Murray [Sat, 4 Oct 2014 21:43:54 +0000 (17:43 -0400)]
#11866: Eliminate race condition in the computation of names for new threads.

Original patch by Peter Saveliev.

10 years agoIssue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated...
Antoine Pitrou [Sat, 4 Oct 2014 20:17:26 +0000 (22:17 +0200)]
Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.

Patch by Olivier Grisel.

10 years agoAdd NEWS entry I forgot to commit.
Antoine Pitrou [Sat, 4 Oct 2014 20:16:14 +0000 (22:16 +0200)]
Add NEWS entry I forgot to commit.

10 years agoIssue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated...
Antoine Pitrou [Sat, 4 Oct 2014 20:15:27 +0000 (22:15 +0200)]
Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.

Patch by Olivier Grisel.

10 years agoIssue #11271: concurrent.futures.Executor.map() now takes a *chunksize*
Antoine Pitrou [Sat, 4 Oct 2014 18:20:10 +0000 (20:20 +0200)]
Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize*
argument to allow batching of tasks in child processes and improve
performance of ProcessPoolExecutor.  Patch by Dan O'Reilly.

10 years agoFixed tests on Windows for issue #21883.
Serhiy Storchaka [Sat, 4 Oct 2014 13:09:02 +0000 (16:09 +0300)]
Fixed tests on Windows for issue #21883.

10 years agoFixed issue number for issue #22470 in Misc/NEWS.
Serhiy Storchaka [Sat, 4 Oct 2014 12:05:22 +0000 (15:05 +0300)]
Fixed issue number for issue #22470 in Misc/NEWS.

10 years agoFixed issue number for issue #22470 in Misc/NEWS.
Serhiy Storchaka [Sat, 4 Oct 2014 12:05:00 +0000 (15:05 +0300)]
Fixed issue number for issue #22470 in Misc/NEWS.

10 years agoIssue #21883: os.path.join() and os.path.relpath() now raise a TypeError with
Serhiy Storchaka [Sat, 4 Oct 2014 11:58:43 +0000 (14:58 +0300)]
Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with
more helpful error message for unsupported or mismatched types of arguments.

10 years agoNull merge
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:41 +0000 (14:20 +0300)]
Null merge

10 years agoMerge heads
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:23 +0000 (14:20 +0300)]
Merge heads

10 years agoMerge heads
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:10 +0000 (14:20 +0300)]
Merge heads

10 years agoIssue #22518: Fixed integer overflow issues in "backslashreplace",
Serhiy Storchaka [Sat, 4 Oct 2014 11:17:50 +0000 (14:17 +0300)]
Issue #22518: Fixed integer overflow issues in "backslashreplace",
"xmlcharrefreplace", and "surrogatepass" error handlers.

10 years agoMerge packaging doc updates from 3.4
Nick Coghlan [Sat, 4 Oct 2014 11:16:08 +0000 (21:16 +1000)]
Merge packaging doc updates from 3.4

10 years agoIssue #22518: Fixed integer overflow issues in "backslashreplace",
Serhiy Storchaka [Sat, 4 Oct 2014 11:15:49 +0000 (14:15 +0300)]
Issue #22518: Fixed integer overflow issues in "backslashreplace",
"xmlcharrefreplace", and "surrogatepass" error handlers.

10 years agoRealign packaging docs with PyPUG changes
Nick Coghlan [Sat, 4 Oct 2014 11:11:25 +0000 (21:11 +1000)]
Realign packaging docs with PyPUG changes

10 years agoIssue #22219: The zipfile module CLI now adds entries for directories
Serhiy Storchaka [Sat, 4 Oct 2014 10:42:28 +0000 (13:42 +0300)]
Issue #22219: The zipfile module CLI now adds entries for directories
(including empty directories) in ZIP file.

10 years agoIssue #22219: The zipfile module CLI now adds entries for directories
Serhiy Storchaka [Sat, 4 Oct 2014 10:39:34 +0000 (13:39 +0300)]
Issue #22219: The zipfile module CLI now adds entries for directories
(including empty directories) in ZIP file.

10 years agoMerge: #14056: Small improvements to the tarfile documentation.
R David Murray [Sat, 4 Oct 2014 00:19:09 +0000 (20:19 -0400)]
Merge: #14056: Small improvements to the tarfile documentation.

10 years ago#14056: Small improvements to the tarfile documentation.
R David Murray [Sat, 4 Oct 2014 00:18:48 +0000 (20:18 -0400)]
#14056: Small improvements to the tarfile documentation.

Patch by Éric Araujo with help from Lars Gustäbel.

10 years agomerge 3.4
Benjamin Peterson [Fri, 3 Oct 2014 22:17:30 +0000 (18:17 -0400)]
merge 3.4

10 years agoseparate cert loading tests into Windows and non-Windows cases
Benjamin Peterson [Fri, 3 Oct 2014 22:17:15 +0000 (18:17 -0400)]
separate cert loading tests into Windows and non-Windows cases

10 years agomerge 3.4 (#22449)
Benjamin Peterson [Fri, 3 Oct 2014 21:33:45 +0000 (17:33 -0400)]
merge 3.4 (#22449)

10 years agoalso use openssl envvars to find certs on windows (closes #22449)
Benjamin Peterson [Fri, 3 Oct 2014 21:27:05 +0000 (17:27 -0400)]
also use openssl envvars to find certs on windows (closes #22449)

Patch by Christian Heimes and Alex Gaynor.

10 years ago#22508: Drop email __version__ string. It no longer means anything.
R David Murray [Fri, 3 Oct 2014 17:02:47 +0000 (13:02 -0400)]
#22508: Drop email __version__ string.  It no longer means anything.

A debian code search (by Tshepang Lekhonkhobe) turned up only one package
checking email.__version__...and it was the 2.7-only mailman package.  Since
Barry approves this change, it seems safe enough to make it...

10 years agoMerge with 3.4
Zachary Ware [Fri, 3 Oct 2014 15:56:22 +0000 (10:56 -0500)]
Merge with 3.4

10 years agoFix a few typo/grammar issues in the multiprocessing docs.
Zachary Ware [Fri, 3 Oct 2014 15:55:12 +0000 (10:55 -0500)]
Fix a few typo/grammar issues in the multiprocessing docs.

Reported by Scott Hinton on docs@.

10 years agoMerge: #12780: update inspect test skipIf for PEP 3147.
R David Murray [Fri, 3 Oct 2014 15:16:08 +0000 (11:16 -0400)]
Merge: #12780: update inspect test skipIf for PEP 3147.

10 years ago#12780: update inspect test skipIf for PEP 3147.
R David Murray [Fri, 3 Oct 2014 15:15:38 +0000 (11:15 -0400)]
#12780: update inspect test skipIf for PEP 3147.

The test needs to be skipped if unicodedata is either part of the
main binary (a repackaging of cpython on Windows?) or has python
source (pypy?).  PEP 3147 makes __file__ point to the .py source,
so we need to change the extension check from looking for the
old .pyc/.pyo to just looking for .py.

Note that this skip should never trigger on CPython itself, so
one could argue it should be dropped instead.  But since it exists,
why risk breaking someone else's python.

10 years agofaulthandler: enhance dump_ascii() to escape also non-printable ASCII
Victor Stinner [Fri, 3 Oct 2014 12:18:09 +0000 (14:18 +0200)]
faulthandler: enhance dump_ascii() to escape also non-printable ASCII
characters (U+0000..U+001f and U+007f).

10 years agoMake test_datetime a better citizen (issue #22540)
Antoine Pitrou [Fri, 3 Oct 2014 09:25:30 +0000 (11:25 +0200)]
Make test_datetime a better citizen (issue #22540)

10 years agoCloses #22540: speed up PyObject_IsInstance and PyObject_IsSubclass in the common...
Georg Brandl [Fri, 3 Oct 2014 07:26:37 +0000 (09:26 +0200)]
Closes #22540: speed up PyObject_IsInstance and PyObject_IsSubclass in the common case that the second argument has metaclass "type".

10 years agoMerge: #8473: Add tests that doctest uses universal newlines in testfile.
R David Murray [Fri, 3 Oct 2014 02:43:51 +0000 (22:43 -0400)]
Merge: #8473: Add tests that doctest uses universal newlines in testfile.