]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Benjamin Peterson [Sun, 22 Jun 2014 21:17:44 +0000 (14:17 -0700)]
add BufferedIOBase.readinto1 (closes #20578)
Patch by Nikolaus Rath.
Martin v. Löwis [Sun, 22 Jun 2014 20:28:04 +0000 (22:28 +0200)]
Issue #10747: Merge with 3.4
Martin v. Löwis [Sun, 22 Jun 2014 20:22:33 +0000 (22:22 +0200)]
Issue #10747: Use versioned labels in the Windows start menu.
Patch by Olive Kilburn.
Giampaolo Rodola' [Sun, 22 Jun 2014 10:44:05 +0000 (12:44 +0200)]
merge heads
Giampaolo Rodola' [Sun, 22 Jun 2014 10:43:19 +0000 (12:43 +0200)]
#6916: attempt to fix BB failure
Raymond Hettinger [Sun, 22 Jun 2014 08:23:55 +0000 (01:23 -0700)]
merge
Raymond Hettinger [Sun, 22 Jun 2014 08:21:51 +0000 (01:21 -0700)]
Issue #21812: Trigger immediate transformation in turtle.shapetransform().
Terry Jan Reedy [Sun, 22 Jun 2014 05:20:52 +0000 (01:20 -0400)]
Merge with 3.4
Terry Jan Reedy [Sun, 22 Jun 2014 05:18:54 +0000 (01:18 -0400)]
Issue #21823: Catch turtle.Terminator exceptions in turtledemo.
Add note to demohelp.txt about doing so.
Raymond Hettinger [Sat, 21 Jun 2014 19:08:22 +0000 (12:08 -0700)]
Issue 21786: Clean-up test_pydoc taking taking advantage of diffing in unittest.
Raymond Hettinger [Sat, 21 Jun 2014 18:59:46 +0000 (11:59 -0700)]
merge
Raymond Hettinger [Sat, 21 Jun 2014 18:57:36 +0000 (11:57 -0700)]
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
Giampaolo Rodola' [Sat, 21 Jun 2014 11:59:25 +0000 (13:59 +0200)]
merge heads
Giampaolo Rodola' [Sat, 21 Jun 2014 11:58:30 +0000 (13:58 +0200)]
#6916: raise a deprecation warning if using asynchat.fifo
Charles-François Natali [Fri, 20 Jun 2014 22:00:22 +0000 (23:00 +0100)]
Fix test_pydoc failure introduced by
cddb17c4975e . Patch by Berker Peksag.
Charles-François Natali [Fri, 20 Jun 2014 21:59:32 +0000 (22:59 +0100)]
Merge.
Charles-François Natali [Fri, 20 Jun 2014 21:59:12 +0000 (22:59 +0100)]
Fix test_pydoc failure introduced by
7aa72075d440 . Patch by Berker Peksag.
Charles-François Natali [Fri, 20 Jun 2014 21:50:48 +0000 (22:50 +0100)]
Merge.
Charles-François Natali [Fri, 20 Jun 2014 21:49:26 +0000 (22:49 +0100)]
Issue #21491: socketserver: Fix a race condition in child processes reaping.
Terry Jan Reedy [Fri, 20 Jun 2014 21:49:25 +0000 (17:49 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 20 Jun 2014 21:49:10 +0000 (17:49 -0400)]
Issue #21770: Call function instead of module. Patch by Claudiu Popa.
Charles-François Natali [Fri, 20 Jun 2014 21:41:46 +0000 (22:41 +0100)]
Merge.
Charles-François Natali [Fri, 20 Jun 2014 21:41:21 +0000 (22:41 +0100)]
Merge.
Charles-François Natali [Fri, 20 Jun 2014 21:37:35 +0000 (22:37 +0100)]
Issue #21491: socketserver: Fix a race condition in child processes reaping.
Terry Jan Reedy [Fri, 20 Jun 2014 19:17:01 +0000 (15:17 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 20 Jun 2014 19:16:35 +0000 (15:16 -0400)]
Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.
Terry Jan Reedy [Fri, 20 Jun 2014 18:59:27 +0000 (14:59 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 20 Jun 2014 18:59:11 +0000 (14:59 -0400)]
Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.
Victor Stinner [Fri, 20 Jun 2014 15:34:44 +0000 (17:34 +0200)]
(Merge 3.4) asyncio, Tulip issue 105: in debug mode, log callbacks taking more
than 100 ms to be executed.
Victor Stinner [Fri, 20 Jun 2014 15:34:15 +0000 (17:34 +0200)]
asyncio, Tulip issue 105: in debug mode, log callbacks taking more than 100 ms
to be executed.
Zachary Ware [Fri, 20 Jun 2014 14:20:37 +0000 (09:20 -0500)]
Simplify a badly written condition.
Senthil Kumaran [Fri, 20 Jun 2014 08:38:37 +0000 (01:38 -0700)]
merge from 3.4
issue 20091 - index entry for __main__ in runpy docs.
Senthil Kumaran [Fri, 20 Jun 2014 08:37:53 +0000 (01:37 -0700)]
issue 20091 - index entry for __main__ in runpy docs.
Ezio Melotti [Thu, 19 Jun 2014 21:55:10 +0000 (00:55 +0300)]
#21690: merge with 3.4.
Ezio Melotti [Thu, 19 Jun 2014 21:52:11 +0000 (00:52 +0300)]
#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
Victor Stinner [Thu, 19 Jun 2014 15:14:05 +0000 (17:14 +0200)]
(Merge 3.4) Tulip issue 83: document more asyncio functions in docstrings
Victor Stinner [Thu, 19 Jun 2014 15:11:49 +0000 (17:11 +0200)]
Tulip issue 83: document more asyncio functions in docstrings
Zachary Ware [Thu, 19 Jun 2014 14:46:37 +0000 (09:46 -0500)]
Issue #21741: Add st_file_attributes to os.stat_result on Windows.
Patch by Ben Hoyt.
Victor Stinner [Thu, 19 Jun 2014 10:59:32 +0000 (12:59 +0200)]
(Merge 3.4) Closes #21595: asyncio.BaseSelectorEventLoop._read_from_self() now
reads all available bytes from the "self pipe", not only a single byte. This
change reduces the risk of having the pipe full and so getting the innocuous
"BlockingIOError: [Errno 11] Resource temporarily unavailable" message.
Victor Stinner [Thu, 19 Jun 2014 10:59:15 +0000 (12:59 +0200)]
Closes #21595: asyncio.BaseSelectorEventLoop._read_from_self() now reads all
available bytes from the "self pipe", not only a single byte. This change
reduces the risk of having the pipe full and so getting the innocuous
"BlockingIOError: [Errno 11] Resource temporarily unavailable" message.
Victor Stinner [Thu, 19 Jun 2014 10:51:17 +0000 (12:51 +0200)]
(Merge 3.4) Closes #21758: asyncio doc: mention explicitly that subprocess
parameters are bytes or character strings
Victor Stinner [Thu, 19 Jun 2014 10:50:27 +0000 (12:50 +0200)]
Closes #21758: asyncio doc: mention explicitly that subprocess parameters are
bytes or character strings
Antoine Pitrou [Thu, 19 Jun 2014 03:09:11 +0000 (23:09 -0400)]
Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
Antoine Pitrou [Thu, 19 Jun 2014 03:07:46 +0000 (23:07 -0400)]
Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
Ned Deily [Wed, 18 Jun 2014 20:10:44 +0000 (13:10 -0700)]
Issue #3485: merge from 3.4
Ned Deily [Wed, 18 Jun 2014 20:09:40 +0000 (13:09 -0700)]
Issue #3485: remove misleading comment
Zachary Ware [Wed, 18 Jun 2014 03:27:46 +0000 (22:27 -0500)]
Merge typo fix
Zachary Ware [Wed, 18 Jun 2014 03:26:59 +0000 (22:26 -0500)]
Fix typo pointed out by cocoatomo on docs@
Victor Stinner [Wed, 18 Jun 2014 01:27:28 +0000 (03:27 +0200)]
(Merge 3.4) asyncio: Fix pyflakes errors
- Add a missing import
- Remove an unused import
- Remove unused variables
Victor Stinner [Wed, 18 Jun 2014 01:25:23 +0000 (03:25 +0200)]
asyncio: Fix pyflakes errors
- Add a missing import
- Remove an unused import
- Remove unused variables
Victor Stinner [Tue, 17 Jun 2014 23:37:31 +0000 (01:37 +0200)]
(Merge 3.4) asyncio: Refactor tests: add a base TestCase class
Victor Stinner [Tue, 17 Jun 2014 23:36:32 +0000 (01:36 +0200)]
asyncio: Refactor tests: add a base TestCase class
Victor Stinner [Tue, 17 Jun 2014 23:22:31 +0000 (01:22 +0200)]
(Merge 3.4) asyncio: Refactor test__run_once_logging() to not rely on the exact
number of calls to time.monotonic(). Use a "fast select" and a "slow select"
instead.
Victor Stinner [Tue, 17 Jun 2014 23:22:15 +0000 (01:22 +0200)]
asyncio: Refactor test__run_once_logging() to not rely on the exact number of
calls to time.monotonic(). Use a "fast select" and a "slow select" instead.
Victor Stinner [Tue, 17 Jun 2014 23:15:27 +0000 (01:15 +0200)]
(Merge 3.4) asyncio: Set __qualname__ attribute of CoroWrapper in @coroutine
decorator on Python 3.5.
- Drop __slots__ optimization of CoroWrapper to be able to set the __qualname__
attribute.
- Add tests on __name__, __qualname__ and __module__ of a coroutine function
and coroutine object.
- Fix test_tasks when run in debug mode (PYTHONASYNCIODEBUG env var set) on
Python 3.3 or 3.4
Victor Stinner [Tue, 17 Jun 2014 23:14:59 +0000 (01:14 +0200)]
asyncio: Set __qualname__ attribute of CoroWrapper in @coroutine decorator on
Python 3.5
- Drop __slots__ optimization of CoroWrapper to be able to set the __qualname__
attribute.
- Add tests on __name__, __qualname__ and __module__ of a coroutine function
and coroutine object.
- Fix test_tasks when run in debug mode (PYTHONASYNCIODEBUG env var set) on
Python 3.3 or 3.4
Victor Stinner [Tue, 17 Jun 2014 21:37:35 +0000 (23:37 +0200)]
(Merge 3.4) Issue #21723: asyncio.Queue: support any type of number (ex: float)
for the maximum size. Patch written by Vajrasky Kok.
Victor Stinner [Tue, 17 Jun 2014 21:36:21 +0000 (23:36 +0200)]
Issue #21723: asyncio.Queue: support any type of number (ex: float) for the
maximum size. Patch written by Vajrasky Kok.
Victor Stinner [Tue, 17 Jun 2014 21:31:25 +0000 (23:31 +0200)]
Issue #10310: Use "unsigned int field:1" instead of "signed int field:1" in a
private structure of the _io module to fix a compiler warning (overflow when
assigning the value 1). Fix also a cast in
incrementalnewlinedecoder_setstate(). Patch written by Hallvard B Furuseth.
Terry Jan Reedy [Tue, 17 Jun 2014 20:35:33 +0000 (16:35 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 17 Jun 2014 20:35:20 +0000 (16:35 -0400)]
Issue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
Benjamin Peterson [Tue, 17 Jun 2014 16:45:20 +0000 (09:45 -0700)]
merge 3.4
Benjamin Peterson [Tue, 17 Jun 2014 16:44:55 +0000 (09:44 -0700)]
add Ammar Brohi for running ssllab's test on python.org and reporting a problem
Benjamin Peterson [Tue, 17 Jun 2014 07:34:56 +0000 (00:34 -0700)]
merge 3.4
Benjamin Peterson [Tue, 17 Jun 2014 07:34:46 +0000 (00:34 -0700)]
revert tstate_delete_common, since it's pretty much wrong
Benjamin Peterson [Tue, 17 Jun 2014 06:49:09 +0000 (23:49 -0700)]
merge 3.4
Benjamin Peterson [Tue, 17 Jun 2014 06:49:02 +0000 (23:49 -0700)]
remove extra call to tstate_delete_common (merge artifact)
Benjamin Peterson [Tue, 17 Jun 2014 06:16:37 +0000 (23:16 -0700)]
merge 3.4
Benjamin Peterson [Tue, 17 Jun 2014 06:16:31 +0000 (23:16 -0700)]
merge 3.3
Benjamin Peterson [Tue, 17 Jun 2014 06:16:06 +0000 (23:16 -0700)]
merge 3.2
Benjamin Peterson [Tue, 17 Jun 2014 06:15:50 +0000 (23:15 -0700)]
expect the correct platform-dependent linesep
Benjamin Peterson [Tue, 17 Jun 2014 06:08:29 +0000 (23:08 -0700)]
merge 3.4
Benjamin Peterson [Tue, 17 Jun 2014 06:07:49 +0000 (23:07 -0700)]
avoid a deadlock with the interpreter head lock and the GIL during finalization
Benjamin Peterson [Tue, 17 Jun 2014 06:07:15 +0000 (23:07 -0700)]
merge 3.4
Benjamin Peterson [Tue, 17 Jun 2014 05:59:07 +0000 (22:59 -0700)]
check if the thread is finalizing after retaking the GIL
Terry Jan Reedy [Mon, 16 Jun 2014 23:26:56 +0000 (19:26 -0400)]
Add Idle news entries.
Terry Jan Reedy [Mon, 16 Jun 2014 23:24:29 +0000 (19:24 -0400)]
Add Idle news entries.
Terry Jan Reedy [Mon, 16 Jun 2014 23:01:14 +0000 (19:01 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 16 Jun 2014 23:01:01 +0000 (19:01 -0400)]
Issue #21686: add unittest for idlelib.HyperParser. Original patch by Saimadhav
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
Victor Stinner [Mon, 16 Jun 2014 22:27:02 +0000 (00:27 +0200)]
(Merge 3.4) asyncio: Task.__repr__() now also handles CoroWrapper
Victor Stinner [Mon, 16 Jun 2014 22:26:36 +0000 (00:26 +0200)]
asyncio: Task.__repr__() now also handles CoroWrapper
Victor Stinner [Mon, 16 Jun 2014 20:51:36 +0000 (22:51 +0200)]
(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.
Victor Stinner [Mon, 16 Jun 2014 20:48:43 +0000 (22:48 +0200)]
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.
Zachary Ware [Mon, 16 Jun 2014 16:14:47 +0000 (11:14 -0500)]
Merge typo fix from 3.4
Zachary Ware [Mon, 16 Jun 2014 16:13:01 +0000 (11:13 -0500)]
Fix typo reported by Jesse W on docs@
Victor Stinner [Mon, 16 Jun 2014 15:12:39 +0000 (17:12 +0200)]
(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.
Victor Stinner [Mon, 16 Jun 2014 15:11:05 +0000 (17:11 +0200)]
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.
Victor Stinner [Mon, 16 Jun 2014 14:25:22 +0000 (16:25 +0200)]
Issue #21205: Complete the "versionchanged" note in inspect documentation
Victor Stinner [Mon, 16 Jun 2014 14:21:57 +0000 (16:21 +0200)]
Issue #21205: Fix unit tests
Victor Stinner [Mon, 16 Jun 2014 13:59:28 +0000 (15:59 +0200)]
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.
Nick Coghlan [Mon, 16 Jun 2014 09:49:12 +0000 (19:49 +1000)]
Merge issue #21669 from 3.4
Nick Coghlan [Mon, 16 Jun 2014 09:48:02 +0000 (19:48 +1000)]
Issue #21669: Special case print & exec syntax errors
Terry Jan Reedy [Mon, 16 Jun 2014 07:31:33 +0000 (03:31 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 16 Jun 2014 07:31:00 +0000 (03:31 -0400)]
Issue #21559: Add alternative (historical) reason for OverflowError.
Terry Jan Reedy [Mon, 16 Jun 2014 07:05:53 +0000 (03:05 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 16 Jun 2014 07:05:37 +0000 (03:05 -0400)]
Issue #19362: Tweek len() doc and docstring to expand the indicated range of
arguments. Original patch by Gareth Rees.
Terry Jan Reedy [Mon, 16 Jun 2014 06:40:39 +0000 (02:40 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 16 Jun 2014 06:40:24 +0000 (02:40 -0400)]
whitespace
Terry Jan Reedy [Mon, 16 Jun 2014 06:33:56 +0000 (02:33 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 16 Jun 2014 06:33:35 +0000 (02:33 -0400)]
Issue #21686: idlelib/HyperParser.py - Update docstrings and comments and
replace \ line contiuation. Tested against nearly done test_hyperparser.py.