]>
granicus.if.org Git - python/log
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).
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).
Berker Peksag [Thu, 9 Oct 2014 08:46:56 +0000 (11:46 +0300)]
whatsnew: Fix markup.
Berker Peksag [Thu, 9 Oct 2014 08:38:19 +0000 (11:38 +0300)]
whatsnew: Add PEP 478.
Terry Jan Reedy [Thu, 9 Oct 2014 00:29:32 +0000 (20:29 -0400)]
Merge with 3.4
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.
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.
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.
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.
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.
Steve Dower [Wed, 8 Oct 2014 15:36:16 +0000 (08:36 -0700)]
Drop pydocgui.pyw from the distribution (post-merge merge from
165aa40bfe2e )
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".
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".
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.
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.
Larry Hastings [Wed, 8 Oct 2014 09:40:43 +0000 (02:40 -0700)]
Post-release changes after 3.4.2 final.
Terry Jan Reedy [Tue, 7 Oct 2014 03:27:02 +0000 (23:27 -0400)]
Merge with 3.4: idlelib.configHandler
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.
Benjamin Peterson [Tue, 7 Oct 2014 01:11:25 +0000 (21:11 -0400)]
merge 3.4
Benjamin Peterson [Tue, 7 Oct 2014 01:10:25 +0000 (21:10 -0400)]
use source role instead of linking to svn
Georg Brandl [Mon, 6 Oct 2014 15:51:53 +0000 (17:51 +0200)]
merge with 3.4
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.
Georg Brandl [Mon, 6 Oct 2014 14:57:02 +0000 (16:57 +0200)]
merge with 3.4
Georg Brandl [Mon, 6 Oct 2014 14:56:43 +0000 (16:56 +0200)]
Closes #12148: clarify "or's together option flags" in doctest docs.
Georg Brandl [Mon, 6 Oct 2014 14:48:38 +0000 (16:48 +0200)]
merge with 3.4
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.
Georg Brandl [Mon, 6 Oct 2014 14:19:20 +0000 (16:19 +0200)]
merge with 3.4
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.
Georg Brandl [Mon, 6 Oct 2014 12:58:17 +0000 (14:58 +0200)]
Closes #21480: better explanation of "hg touch" in the Makefile.
Georg Brandl [Mon, 6 Oct 2014 12:38:58 +0000 (14:38 +0200)]
merge with 3.4
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.
Georg Brandl [Mon, 6 Oct 2014 12:15:13 +0000 (14:15 +0200)]
merge with 3.4
Georg Brandl [Mon, 6 Oct 2014 12:15:06 +0000 (14:15 +0200)]
Closes #22507: document that PyType_IsSubtype does not call __subclasscheck__.
Georg Brandl [Mon, 6 Oct 2014 11:54:43 +0000 (13:54 +0200)]
merge with 3.4
Georg Brandl [Mon, 6 Oct 2014 11:54:36 +0000 (13:54 +0200)]
Document builtin classes as such, not functions.
Georg Brandl [Mon, 6 Oct 2014 10:58:36 +0000 (12:58 +0200)]
merge with 3.4
Georg Brandl [Mon, 6 Oct 2014 10:58:00 +0000 (12:58 +0200)]
Closes #22565: fix argument types of PyErr_WarnEx.
Terry Jan Reedy [Mon, 6 Oct 2014 06:04:48 +0000 (02:04 -0400)]
Merge with 3.4
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.
Larry Hastings [Mon, 6 Oct 2014 02:06:07 +0000 (19:06 -0700)]
Added tag v3.4.2 for changeset
ab2c023a9432
Larry Hastings [Mon, 6 Oct 2014 02:05:50 +0000 (19:05 -0700)]
Release bump 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.
Benjamin Peterson [Mon, 6 Oct 2014 01:20:51 +0000 (21:20 -0400)]
merge 3.4 (#18494)
Benjamin Peterson [Mon, 6 Oct 2014 01:20:36 +0000 (21:20 -0400)]
PyObject not PyType (closes #18494)
Antoine Pitrou [Sun, 5 Oct 2014 22:21:09 +0000 (00:21 +0200)]
Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)
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.
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.
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.
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.)
Victor Stinner [Sun, 5 Oct 2014 15:38:45 +0000 (17:38 +0200)]
Merge 3.4
Victor Stinner [Sun, 5 Oct 2014 15:37:59 +0000 (17:37 +0200)]
cleanup test_posix
Victor Stinner [Sun, 5 Oct 2014 15:37:41 +0000 (17:37 +0200)]
Issue #22390: Remove files created by tests
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.
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.
Georg Brandl [Sun, 5 Oct 2014 14:38:25 +0000 (16:38 +0200)]
merge with 3.4
Georg Brandl [Sun, 5 Oct 2014 14:38:02 +0000 (16:38 +0200)]
Closes #19477: remove outdated documentation of tp_print type object slot.
Antoine Pitrou [Sun, 5 Oct 2014 00:35:46 +0000 (02:35 +0200)]
Add Dan O'Reilly to Misc/ACKS
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 .
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.
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.
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.
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.
Antoine Pitrou [Sat, 4 Oct 2014 20:16:14 +0000 (22:16 +0200)]
Add NEWS entry I forgot to commit.
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.
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.
Serhiy Storchaka [Sat, 4 Oct 2014 13:09:02 +0000 (16:09 +0300)]
Fixed tests on Windows for issue #21883.
Serhiy Storchaka [Sat, 4 Oct 2014 12:05:22 +0000 (15:05 +0300)]
Fixed 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.
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.
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:41 +0000 (14:20 +0300)]
Null merge
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:23 +0000 (14:20 +0300)]
Merge heads
Serhiy Storchaka [Sat, 4 Oct 2014 11:20:10 +0000 (14:20 +0300)]
Merge heads
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.
Nick Coghlan [Sat, 4 Oct 2014 11:16:08 +0000 (21:16 +1000)]
Merge packaging doc updates from 3.4
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.
Nick Coghlan [Sat, 4 Oct 2014 11:11:25 +0000 (21:11 +1000)]
Realign packaging docs with PyPUG changes
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.
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.
R David Murray [Sat, 4 Oct 2014 00:19:09 +0000 (20:19 -0400)]
Merge: #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.
Benjamin Peterson [Fri, 3 Oct 2014 22:17:30 +0000 (18:17 -0400)]
merge 3.4
Benjamin Peterson [Fri, 3 Oct 2014 22:17:15 +0000 (18:17 -0400)]
separate cert loading tests into Windows and non-Windows cases
Benjamin Peterson [Fri, 3 Oct 2014 21:33:45 +0000 (17:33 -0400)]
merge 3.4 (#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.
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...
Zachary Ware [Fri, 3 Oct 2014 15:56:22 +0000 (10:56 -0500)]
Merge with 3.4
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@.
R David Murray [Fri, 3 Oct 2014 15:16:08 +0000 (11:16 -0400)]
Merge: #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.
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).
Antoine Pitrou [Fri, 3 Oct 2014 09:25:30 +0000 (11:25 +0200)]
Make test_datetime a better citizen (issue #22540)
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".
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.
R David Murray [Fri, 3 Oct 2014 02:42:42 +0000 (22:42 -0400)]
#8473: Add tests that doctest uses universal newlines in testfile.
Python3 does not have the bug covered by the issue.
Georg Brandl [Thu, 2 Oct 2014 10:39:02 +0000 (12:39 +0200)]
merge 3.4
Georg Brandl [Thu, 2 Oct 2014 10:37:50 +0000 (12:37 +0200)]
Closes #18729: minor markup improvement.
Georg Brandl [Thu, 2 Oct 2014 10:35:54 +0000 (12:35 +0200)]
merge 3.4
Georg Brandl [Thu, 2 Oct 2014 10:35:08 +0000 (12:35 +0200)]
Closes #19434: fix copy-paste error in MIMENonMultipart docstring.
Serhiy Storchaka [Thu, 2 Oct 2014 08:36:31 +0000 (11:36 +0300)]
Issue #20079: Fixed tests.
Serhiy Storchaka [Thu, 2 Oct 2014 08:36:12 +0000 (11:36 +0300)]
Issue #20079: Fixed tests.