Commit graph

86972 commits

Author SHA1 Message Date
Larry Hastings
adeb140cb3 Post-release changes after 3.4.2 final. 2014-10-08 02:40:43 -07:00
Terry Jan Reedy
32a7145764 Merge with 3.4: idlelib.configHandler 2014-10-06 23:27:02 -04:00
Terry Jan Reedy
deb7bf123c idlelib.configHandler: revise docstrings, add spaces, use False/True, add some
TODOs (mostly to do after add tests), and make a few other changes.
2014-10-06 23:26:26 -04:00
Benjamin Peterson
b91ed56b9b merge 3.4 2014-10-06 21:11:25 -04:00
Benjamin Peterson
57fb11b255 use source role instead of linking to svn 2014-10-06 21:10:25 -04:00
Georg Brandl
2756e7e281 merge with 3.4 2014-10-06 17:51:53 +02:00
Georg Brandl
9205e9ebdc Closes #16155: fix a few errors in doctest output of the FAQ pages. 2014-10-06 17:51:09 +02:00
Georg Brandl
1f6afef2ea merge with 3.4 2014-10-06 16:57:02 +02:00
Georg Brandl
7fa4a8f15a Closes #12148: clarify "or's together option flags" in doctest docs. 2014-10-06 16:56:43 +02:00
Georg Brandl
033ec051f8 merge with 3.4 2014-10-06 16:48:38 +02:00
Georg Brandl
4dd27a3edb Closes #21782: the default hash(x) is not exactly id(x) but derived from it. 2014-10-06 16:45:23 +02:00
Georg Brandl
4f8fed28f0 merge with 3.4 2014-10-06 16:19:20 +02:00
Georg Brandl
a94ad1e508 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.
2014-10-06 16:02:09 +02:00
Georg Brandl
2a3e396b24 Closes #21480: better explanation of "hg touch" in the Makefile. 2014-10-06 14:58:17 +02:00
Georg Brandl
92b47a4d0f merge with 3.4 2014-10-06 14:38:58 +02:00
Georg Brandl
f6d6dc2e36 Clean up the docs of PyObject_IsSubclass and PyObject_IsInstance, and mention that they call the PEP 3119 methods. 2014-10-06 14:38:53 +02:00
Georg Brandl
4ae7839e19 merge with 3.4 2014-10-06 14:15:13 +02:00
Georg Brandl
a920b6d762 Closes #22507: document that PyType_IsSubtype does not call __subclasscheck__. 2014-10-06 14:15:06 +02:00
Georg Brandl
c53bc48068 merge with 3.4 2014-10-06 13:54:43 +02:00
Georg Brandl
eb7e8f607e Document builtin classes as such, not functions. 2014-10-06 13:54:36 +02:00
Georg Brandl
b65ff1d4f3 merge with 3.4 2014-10-06 12:58:36 +02:00
Georg Brandl
97435166aa Closes #22565: fix argument types of PyErr_WarnEx. 2014-10-06 12:58:00 +02:00
Terry Jan Reedy
9dedc638ec Merge with 3.4 2014-10-06 02:04:48 -04:00
Terry Jan Reedy
c6ad57608b Issue #22546: update doc for mini-language float None presentation type. 2014-10-06 02:04:33 -04:00
Larry Hastings
1123aa26c8 Added tag v3.4.2 for changeset ab2c023a9432 2014-10-05 19:06:07 -07:00
Larry Hastings
dbb126103e Release bump for 3.4.2 final. 2014-10-05 19:05:50 -07:00
Larry Hastings
c6256e5f7d Update pydoc topics and fix supsicious markup for 3.4.2 final. 2014-10-05 19:03:48 -07:00
Benjamin Peterson
1fe8ada4e5 merge 3.4 (#18494) 2014-10-05 21:20:51 -04:00
Benjamin Peterson
1c262a6c75 PyObject not PyType (closes #18494) 2014-10-05 21:20:36 -04:00
Antoine Pitrou
3cb9379881 Remove unused "block" argument in SSLObject.do_handshake() (issue #21965) 2014-10-06 00:21:09 +02:00
Antoine Pitrou
b1fdf47ff5 Issue #21965: Add support for in-memory SSL to the ssl module.
Patch by Geert Jansen.
2014-10-05 20:41:53 +02:00
Antoine Pitrou
414e15a88d Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive. 2014-10-05 20:04:06 +02:00
Antoine Pitrou
1bf974dc6e Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive. 2014-10-05 20:02:28 +02:00
R David Murray
861470c836 #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.)
2014-10-05 11:47:01 -04:00
Victor Stinner
d577cea8ab Merge 3.4 2014-10-05 17:38:45 +02:00
Victor Stinner
bed04a77ee cleanup test_posix 2014-10-05 17:37:59 +02:00
Victor Stinner
047b7ae566 Issue #22390: Remove files created by tests 2014-10-05 17:37:41 +02:00
Victor Stinner
f4e4b83824 (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.
2014-10-05 17:25:48 +02:00
Victor Stinner
8f437aac06 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.
2014-10-05 17:25:19 +02:00
Georg Brandl
31e34fe7a3 merge with 3.4 2014-10-05 16:38:25 +02:00
Georg Brandl
340c749a3a Closes #19477: remove outdated documentation of tp_print type object slot. 2014-10-05 16:38:02 +02:00
Antoine Pitrou
9bf2c00360 Add Dan O'Reilly to Misc/ACKS 2014-10-05 02:35:46 +02:00
R David Murray
7790f840b7 Merge: #14201: Update ctypes docs to match behavior changed from 214b28d7a999. 2014-10-04 18:25:29 -04:00
R David Murray
9db487b31f #14201: Update ctypes docs to match behavior changed from 214b28d7a999.
Original patch by Erik Johansson, slightly updated by Meador Inge.
2014-10-04 18:25:07 -04:00
R David Murray
f5387c0d6d Merge: #11866: Eliminate race condition in the computation of names for new threads. 2014-10-04 17:45:15 -04:00
R David Murray
b186f1df41 #11866: Eliminate race condition in the computation of names for new threads.
Original patch by Peter Saveliev.
2014-10-04 17:43:54 -04:00
Antoine Pitrou
5f6a7556bf Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
Patch by Olivier Grisel.
2014-10-04 22:17:26 +02:00
Antoine Pitrou
190517551b Add NEWS entry I forgot to commit. 2014-10-04 22:16:14 +02:00
Antoine Pitrou
e1618491ad Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
Patch by Olivier Grisel.
2014-10-04 22:15:27 +02:00
Antoine Pitrou
4aae276eca 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.
2014-10-04 20:20:10 +02:00