]>
granicus.if.org Git - python/log
Petri Lehtinen [Fri, 10 Oct 2014 18:29:43 +0000 (21:29 +0300)]
#11694: merge with 3.4
Petri Lehtinen [Fri, 10 Oct 2014 18:21:52 +0000 (21:21 +0300)]
Issue #11694: Raise ConversionError in xdrlib as documented
Brett Cannon [Fri, 10 Oct 2014 14:54:28 +0000 (10:54 -0400)]
Issue #21052: Don't raise ImportWarning for sys.meta_path or
sys.path_hooks when set to None during interpreter shutdown.
Thanks to Martin Panter for the initial bug report.
Victor Stinner [Fri, 10 Oct 2014 12:23:25 +0000 (14:23 +0200)]
(Merge 3.4) test_venv: use support.rmtree() instead of shutil.rmtree() to fix
sporadic failures on Windows
Victor Stinner [Fri, 10 Oct 2014 12:23:00 +0000 (14:23 +0200)]
test_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadic
failures on Windows
Berker Peksag [Fri, 10 Oct 2014 11:35:51 +0000 (14:35 +0300)]
Issue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.
Patch by Remi Pointel.
Berker Peksag [Fri, 10 Oct 2014 11:34:16 +0000 (14:34 +0300)]
Issue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.
Patch by Remi Pointel.
Victor Stinner [Fri, 10 Oct 2014 11:04:08 +0000 (13:04 +0200)]
Issue #22564: cleanup SSLObject doc
Victor Stinner [Fri, 10 Oct 2014 10:52:43 +0000 (12:52 +0200)]
Issue #22564: ssl doc, add more links to the non-blocking section
Victor Stinner [Fri, 10 Oct 2014 10:49:08 +0000 (12:49 +0200)]
Issue #22564: ssl doc: reorganize and reindent documentation of SSLObject and
MemoryBIO; move documentation of SSLContext.wrap_bio()
Victor Stinner [Fri, 10 Oct 2014 10:47:01 +0000 (12:47 +0200)]
Merge 3.4
Victor Stinner [Fri, 10 Oct 2014 10:45:10 +0000 (12:45 +0200)]
Issue #22564: ssl doc: mention asyncio in the non-blocking section
Victor Stinner [Fri, 10 Oct 2014 10:43:17 +0000 (12:43 +0200)]
Merge 3.4
Victor Stinner [Fri, 10 Oct 2014 10:07:19 +0000 (12:07 +0200)]
Issue #22564: ssl doc: mention how SSLSocket are usually created
Victor Stinner [Fri, 10 Oct 2014 10:06:51 +0000 (12:06 +0200)]
Issue #22564: ssl doc: use "class" marker to document the SSLSocket class
Victor Stinner [Fri, 10 Oct 2014 10:05:56 +0000 (12:05 +0200)]
Issue #22564: ssl doc: document read(), write(), pending, server_side and
server_hostname methods and attributes of SSLSocket.
Victor Stinner [Fri, 10 Oct 2014 10:04:15 +0000 (12:04 +0200)]
Issue #22564: ssl doc: fix typos
Victor Stinner [Fri, 10 Oct 2014 09:55:41 +0000 (11:55 +0200)]
Issue #22591: Drop support of MS-DOS
Drop support of MS-DOS, especially of the DJGPP compiler (MS-DOS port of GCC).
Today is a sad day. Good bye MS-DOS, good bye my friend :'-(
Serhiy Storchaka [Fri, 10 Oct 2014 08:14:49 +0000 (11:14 +0300)]
Issue #19380: Optimized parsing of regular expressions.
Serhiy Storchaka [Fri, 10 Oct 2014 08:10:46 +0000 (11:10 +0300)]
Issue #22584: Got rid of character tables in _sre.c and use standard macros
Py_TOLOWER, Py_ISSPACE, etc.
Serhiy Storchaka [Fri, 10 Oct 2014 08:06:31 +0000 (11:06 +0300)]
Issue
1519638 : Now unmatched groups are replaced with empty strings in re.sub()
and re.subn().
Terry Jan Reedy [Fri, 10 Oct 2014 03:13:54 +0000 (23:13 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 10 Oct 2014 03:13:36 +0000 (23:13 -0400)]
Issue #20167: revise condition to accomodate message change.
R David Murray [Fri, 10 Oct 2014 00:47:31 +0000 (20:47 -0400)]
Merge: #18176: Change generic UCD PropList link to version specific link.
R David Murray [Fri, 10 Oct 2014 00:45:59 +0000 (20:45 -0400)]
#18176: Change generic UCD PropList link to version specific link.
Terry Jan Reedy [Thu, 9 Oct 2014 22:45:07 +0000 (18:45 -0400)]
Merge with 3.4: decolourize
Terry Jan Reedy [Thu, 9 Oct 2014 22:44:32 +0000 (18:44 -0400)]
De-'colour'ize stdlib except for idlelib.configDialog.
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
Victor Stinner [Thu, 9 Oct 2014 22:09:47 +0000 (00:09 +0200)]
Closes #22579: Fix posixmodule.c to support any C compiler on Windows
R David Murray [Thu, 9 Oct 2014 21:41:55 +0000 (17:41 -0400)]
Merge: #18176: fix another reference and add it to the makeunicodedata comment.
R David Murray [Thu, 9 Oct 2014 21:39:48 +0000 (17:39 -0400)]
#18176: fix another reference and add it to the makeunicodedata comment.
R David Murray [Thu, 9 Oct 2014 21:33:15 +0000 (17:33 -0400)]
Merge: #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.
R David Murray [Thu, 9 Oct 2014 20:59:30 +0000 (16:59 -0400)]
#18615: Make sndhdr return namedtuples.
Patch by Claudiu Popa.
Victor Stinner [Thu, 9 Oct 2014 20:16:15 +0000 (22:16 +0200)]
Merge 3.4
Victor Stinner [Thu, 9 Oct 2014 20:15:41 +0000 (22:15 +0200)]
Issue #22588: Fix typo in _testcapi.test_incref_decref_API()
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.
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.
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.