Commit graph

85387 commits

Author SHA1 Message Date
Benjamin Peterson
e6bfdb9ca5 merge 3.4 2014-06-16 23:07:15 -07:00
Benjamin Peterson
17548dda51 check if the thread is finalizing after retaking the GIL 2014-06-16 22:59:07 -07:00
Terry Jan Reedy
61f1acca55 Add Idle news entries. 2014-06-16 19:26:56 -04:00
Terry Jan Reedy
6637565298 Add Idle news entries. 2014-06-16 19:24:29 -04:00
Terry Jan Reedy
35a1fb1fba Merge with 3.4 2014-06-16 19:01:14 -04:00
Terry Jan Reedy
10b1c7cc8f Issue #21686: add unittest for idlelib.HyperParser. Original patch by Saimadhav
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
2014-06-16 19:01:01 -04:00
Victor Stinner
6f3551e15f (Merge 3.4) asyncio: Task.__repr__() now also handles CoroWrapper 2014-06-17 00:27:02 +02:00
Victor Stinner
bc434e2052 asyncio: Task.__repr__() now also handles CoroWrapper 2014-06-17 00:26:36 +02:00
Victor Stinner
0f69e76204 (Merge 3.4) Issue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch
written by Claudiu Popa.

The print_diffs() function was not defined, using the assertEqual() is more
reliable.
2014-06-16 22:51:36 +02:00
Victor Stinner
4b0432d190 Issue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch written by
Claudiu Popa.

The print_diffs() function was not defined, using the assertEqual() is more
reliable.
2014-06-16 22:48:43 +02:00
Zachary Ware
9d91d0325c Merge typo fix from 3.4 2014-06-16 11:14:47 -05:00
Zachary Ware
0aecc18bab Fix typo reported by Jesse W on docs@ 2014-06-16 11:13:01 -05:00
Victor Stinner
11a584f9ec (Merge 3.4) Sync asyncio with Tulip: Fix test_tasks for Python 3.5
On Python 3.5, generator now gets their name from the function, no more from
the code. So we get the expected "notmuch" name instead of the generic "coro"
name.
2014-06-16 17:12:39 +02:00
Victor Stinner
4802c6ee55 Sync asyncio with Tulip: Fix test_tasks for Python 3.5
On Python 3.5, generator now gets their name from the function, no more from
the code. So we get the expected "notmuch" name instead of the generic "coro"
name.
2014-06-16 17:11:05 +02:00
Victor Stinner
4a74a9a750 Issue #21205: Complete the "versionchanged" note in inspect documentation 2014-06-16 16:25:22 +02:00
Victor Stinner
7db27c8ed6 Issue #21205: Fix unit tests 2014-06-16 16:21:57 +02:00
Victor Stinner
40ee30181f Issue #21205: Add a new `__qualname__` attribute to generator, the qualified
name, and use it in the representation of a generator (``repr(gen)``). The
default name of the generator (``__name__`` attribute) is now get from the
function instead of the code. Use ``gen.gi_code.co_name`` to get the name of
the code.
2014-06-16 15:59:28 +02:00
Nick Coghlan
26171993fe Merge issue #21669 from 3.4 2014-06-16 19:49:12 +10:00
Nick Coghlan
5b1fdc1e37 Issue #21669: Special case print & exec syntax errors 2014-06-16 19:48:02 +10:00
Terry Jan Reedy
69e3dbcb86 Merge with 3.4 2014-06-16 03:31:33 -04:00
Terry Jan Reedy
b6d1f48c14 Issue #21559: Add alternative (historical) reason for OverflowError. 2014-06-16 03:31:00 -04:00
Terry Jan Reedy
4a518f02e2 Merge with 3.4 2014-06-16 03:05:53 -04:00
Terry Jan Reedy
f2fb73f675 Issue #19362: Tweek len() doc and docstring to expand the indicated range of
arguments. Original patch by Gareth Rees.
2014-06-16 03:05:37 -04:00
Terry Jan Reedy
9bec397df9 Merge with 3.4 2014-06-16 02:40:39 -04:00
Terry Jan Reedy
d0c1ea42f7 whitespace 2014-06-16 02:40:24 -04:00
Terry Jan Reedy
9b1df38d56 Merge with 3.4 2014-06-16 02:33:56 -04:00
Terry Jan Reedy
3e583307ab Issue #21686: idlelib/HyperParser.py - Update docstrings and comments and
replace \ line contiuation. Tested against nearly done test_hyperparser.py.
2014-06-16 02:33:35 -04:00
Benjamin Peterson
5b521fc9de merge 3.4 (#13779) 2014-06-15 20:52:02 -07:00
Benjamin Peterson
e58e0c7f33 clarify when the list of subdirectories is read (closes #13779) 2014-06-15 20:51:12 -07:00
Gregory P. Smith
8ff4dfe857 fix a BytesWarning in my previous commit. 2014-06-15 20:17:23 -07:00
Gregory P. Smith
9204e09178 fix a BytesWarning in my previous commit. 2014-06-15 20:16:01 -07:00
Benjamin Peterson
0ce9537fc5 improve note 2014-06-15 18:30:27 -07:00
Gregory P. Smith
1016a6100b Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so
that the rlimit calls happens in a child process rather than the
TestCase process to attempt to fix the gentoo buildbot's "Too many
open files" error.
2014-06-15 17:52:26 -07:00
Gregory P. Smith
634aa68c2b Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so
that the rlimit calls happens in a child process rather than the
TestCase process to attempt to fix the gentoo buildbot's "Too many
open files" error.
2014-06-15 17:51:04 -07:00
Raymond Hettinger
f46933a42f merge 2014-06-15 14:50:39 -07:00
Raymond Hettinger
92a4055343 Issue #21774: Fix incorrect variable in xml.dom.minidom 2014-06-15 14:48:19 -07:00
Raymond Hettinger
354bffaec4 Update comment to reflect using the default parameter with min() and max(). 2014-06-15 14:40:18 -07:00
Raymond Hettinger
badf5d839d Issue 19898: Add test for dequereviter_new.
(Patch contributed by Claudiu Popa.)
2014-06-14 20:41:22 -07:00
Benjamin Peterson
3a0b6aa59b merge 3.4 (#21764) 2014-06-14 18:52:14 -07:00
Benjamin Peterson
ef8abfc082 document IOBase.__del__'s behavior (closes #21764)
Patch from Nikolaus Rath.
2014-06-14 18:51:34 -07:00
Benjamin Peterson
ff180af057 merge 3.4 (#21766) 2014-06-14 18:41:31 -07:00
Benjamin Peterson
a8c75fe31a merge 3.3 (#21766) 2014-06-14 18:41:13 -07:00
Benjamin Peterson
6cd1954c5c merge 3.2 (#21766) 2014-06-14 18:40:10 -07:00
Benjamin Peterson
73b8b1cdb8 url unquote the path before checking if it refers to a CGI script (closes #21766) 2014-06-14 18:36:29 -07:00
Raymond Hettinger
48f68d00b8 Factor common code into internal functions.
Clean-up names of static functions.
Use Py_RETURN_NONE macro.
Expose private functions needed to support merge().
Move C imports to the bottom of the Python file.
2014-06-14 16:43:35 -07:00
Giampaolo Rodola'
892051af95 fix issue #6916: undocument deprecated asynchat.fifo class.q 2014-06-14 17:03:42 +02:00
Vinay Sajip
f8e9ba0fb9 Closes #21742: Merged fix from 3.4. 2014-06-14 10:23:20 +01:00
Vinay Sajip
0220048083 Issue #21742: Set stream to None after closing. 2014-06-14 10:22:05 +01:00
Vinay Sajip
21ceada492 Closes #21752: Merged update from 3.4. 2014-06-14 09:27:10 +01:00
Vinay Sajip
e0d324d02b Issue #21752: Documented change to behaviour of logging.getLevelName(). 2014-06-14 09:26:26 +01:00