]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
10 years agoTry to fix _PyTime_AsTimevalStruct_impl() on OpenBSD
Victor Stinner [Tue, 29 Sep 2015 11:41:46 +0000 (13:41 +0200)] 
Try to fix _PyTime_AsTimevalStruct_impl() on OpenBSD

It looks like the check for integer overflow doesn't work on x86 OpenBSD 5.8.

10 years agoOptimize ascii/latin1+surrogateescape encoders
Victor Stinner [Tue, 29 Sep 2015 10:32:13 +0000 (12:32 +0200)] 
Optimize ascii/latin1+surrogateescape encoders

Issue #25227: Optimize ASCII and latin1 encoders with the ``surrogateescape``
error handler: the encoders are now up to 3 times as fast.

Initial patch written by Serhiy Storchaka.

10 years agoMerge with 3.5, Issue #24028: Add subsection about Idle calltips.
Terry Jan Reedy [Tue, 29 Sep 2015 05:56:54 +0000 (01:56 -0400)] 
Merge with 3.5, Issue #24028: Add subsection about Idle calltips.

10 years agoMerge with 3.4, Issue #24028: Add subsection about Idle calltips.
Terry Jan Reedy [Tue, 29 Sep 2015 05:56:35 +0000 (01:56 -0400)] 
Merge with 3.4, Issue #24028: Add subsection about Idle calltips.

10 years agoIssue #24028: Add subsection about Idle calltips.
Terry Jan Reedy [Tue, 29 Sep 2015 05:55:57 +0000 (01:55 -0400)] 
Issue #24028: Add subsection about Idle calltips.

10 years agomerge 3.5
Terry Jan Reedy [Tue, 29 Sep 2015 05:04:08 +0000 (01:04 -0400)] 
merge 3.5

10 years agoMerge with 3.4
Terry Jan Reedy [Tue, 29 Sep 2015 05:01:00 +0000 (01:01 -0400)] 
Merge with 3.4

10 years agoRemove indent in news item. Error when building 3.x docs.
Terry Jan Reedy [Tue, 29 Sep 2015 05:00:31 +0000 (01:00 -0400)] 
Remove indent in news item. Error when building 3.x docs.

10 years agoIDLE NEWS.
Terry Jan Reedy [Tue, 29 Sep 2015 03:44:37 +0000 (23:44 -0400)] 
IDLE NEWS.

10 years agoIDLE NEWS items.
Terry Jan Reedy [Tue, 29 Sep 2015 03:42:56 +0000 (23:42 -0400)] 
IDLE NEWS items.

10 years agoAdd recent IDLE NEWS items.
Terry Jan Reedy [Tue, 29 Sep 2015 03:38:57 +0000 (23:38 -0400)] 
Add recent IDLE NEWS items.

10 years agoCorrect Misc/NEWS about asyncio.Queue rewrite.
Guido van Rossum [Mon, 28 Sep 2015 23:53:44 +0000 (16:53 -0700)] 
Correct Misc/NEWS about asyncio.Queue rewrite.

10 years agoCorrect Misc/NEWS about asyncio.Queue rewrite.
Guido van Rossum [Mon, 28 Sep 2015 23:51:59 +0000 (16:51 -0700)] 
Correct Misc/NEWS about asyncio.Queue rewrite.

10 years agoCorrect Misc/NEWS about asyncio.Queue rewrite.
Guido van Rossum [Mon, 28 Sep 2015 23:50:38 +0000 (16:50 -0700)] 
Correct Misc/NEWS about asyncio.Queue rewrite.

10 years agoFix test_regrtest.test_tools_buildbot_test()
Victor Stinner [Mon, 28 Sep 2015 23:02:37 +0000 (01:02 +0200)] 
Fix test_regrtest.test_tools_buildbot_test()

Issue #25220: Fix test_regrtest.test_tools_buildbot_test() on release build (on
Windows), pass "+d" option to test.bat.

10 years agoIssue #25220: Add functional tests to test_regrtest
Victor Stinner [Mon, 28 Sep 2015 21:16:17 +0000 (23:16 +0200)] 
Issue #25220: Add functional tests to test_regrtest

* test all available ways to run the Python test suite
* test many regrtest options: --slow, --coverage, -r, -u,  etc.

Note: python -m test --coverage doesn't work on Windows.

10 years agoIssue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge...
Guido van Rossum [Mon, 28 Sep 2015 20:35:54 +0000 (13:35 -0700)] 
Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.5->default.)

10 years agoIssue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge...
Guido van Rossum [Mon, 28 Sep 2015 14:44:49 +0000 (07:44 -0700)] 
Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.)

10 years agoIssue #25233: Rewrite the guts of Queue to be more understandable and correct.
Guido van Rossum [Mon, 28 Sep 2015 14:42:34 +0000 (07:42 -0700)] 
Issue #25233: Rewrite the guts of Queue to be more understandable and correct.

10 years agoIssue #25122: Remove verbose mode of test_eintr
Victor Stinner [Mon, 28 Sep 2015 13:04:11 +0000 (15:04 +0200)] 
Issue #25122: Remove verbose mode of test_eintr

"./python -m test -W test_eintr" wrote Lib/test/eintrdata/eintr_tester.py
output to stdout which was not expected.

Since test_eintr doesn't hang anymore, remove the verbose mode instead.

10 years agoIssue #25249: Remove unneeded mkstemp helper in test_subprocess
Berker Peksag [Mon, 28 Sep 2015 10:34:17 +0000 (13:34 +0300)] 
Issue #25249: Remove unneeded mkstemp helper in test_subprocess

The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.

10 years agoIssue #25249: Remove unneeded mkstemp helper in test_subprocess
Berker Peksag [Mon, 28 Sep 2015 10:33:43 +0000 (13:33 +0300)] 
Issue #25249: Remove unneeded mkstemp helper in test_subprocess

The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.

10 years agoIssue #25249: Remove unneeded mkstemp helper in test_subprocess
Berker Peksag [Mon, 28 Sep 2015 10:33:14 +0000 (13:33 +0300)] 
Issue #25249: Remove unneeded mkstemp helper in test_subprocess

The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.

10 years agoMerge with 3.5
Terry Jan Reedy [Mon, 28 Sep 2015 08:53:12 +0000 (04:53 -0400)] 
Merge with 3.5

10 years agoMerge with 3.4
Terry Jan Reedy [Mon, 28 Sep 2015 08:53:01 +0000 (04:53 -0400)] 
Merge with 3.4

10 years agoIssue #24972: New option is only valid in tk 8.5+.
Terry Jan Reedy [Mon, 28 Sep 2015 08:52:49 +0000 (04:52 -0400)] 
Issue #24972: New option is only valid in tk 8.5+.

10 years agoMerge with 3.5
Terry Jan Reedy [Mon, 28 Sep 2015 08:16:56 +0000 (04:16 -0400)] 
Merge with 3.5

10 years agoMerge with 3.4
Terry Jan Reedy [Mon, 28 Sep 2015 08:16:43 +0000 (04:16 -0400)] 
Merge with 3.4

10 years agoIssue #24972: Inactive selection background now matches active selection
Terry Jan Reedy [Mon, 28 Sep 2015 08:16:32 +0000 (04:16 -0400)] 
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.

10 years agoMerge from 3.5; no file changes
Martin Panter [Mon, 28 Sep 2015 06:30:43 +0000 (06:30 +0000)] 
Merge from 3.5; no file changes

10 years agoMerge from 3.4 into 3.5; no file changes
Martin Panter [Mon, 28 Sep 2015 06:28:29 +0000 (06:28 +0000)] 
Merge from 3.4 into 3.5; no file changes

10 years agoBacked out changeset: 70c01dd35100
Terry Jan Reedy [Mon, 28 Sep 2015 02:50:54 +0000 (22:50 -0400)] 
Backed out changeset: 70c01dd35100

10 years agoIssue #24972: Inactive selection background now matches active selection
Terry Jan Reedy [Mon, 28 Sep 2015 02:46:17 +0000 (22:46 -0400)] 
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.

10 years agomerge
Alexander Belopolsky [Mon, 28 Sep 2015 02:34:59 +0000 (22:34 -0400)] 
merge

10 years agomerge
Alexander Belopolsky [Mon, 28 Sep 2015 02:34:07 +0000 (22:34 -0400)] 
merge

10 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 02:32:15 +0000 (22:32 -0400)] 
Closes issue #23600: Wrong results from tzinfo.fromutc().

10 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 02:31:45 +0000 (22:31 -0400)] 
Closes issue #23600: Wrong results from tzinfo.fromutc().

10 years agomerge
Alexander Belopolsky [Mon, 28 Sep 2015 02:13:28 +0000 (22:13 -0400)] 
merge

10 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 01:56:53 +0000 (21:56 -0400)] 
Closes issue #23600: Wrong results from tzinfo.fromutc().

10 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 01:56:09 +0000 (21:56 -0400)] 
Closes issue #23600: Wrong results from tzinfo.fromutc().

10 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 01:41:55 +0000 (21:41 -0400)] 
Closes issue #23600: Wrong results from tzinfo.fromutc().

10 years agoIssue #25203: Failed readline.set_completer_delims() no longer left the
Serhiy Storchaka [Sun, 27 Sep 2015 19:38:33 +0000 (22:38 +0300)] 
Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.

10 years agoIssue #25203: Failed readline.set_completer_delims() no longer left the
Serhiy Storchaka [Sun, 27 Sep 2015 19:38:01 +0000 (22:38 +0300)] 
Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.

10 years agoIssue #25203: Failed readline.set_completer_delims() no longer left the
Serhiy Storchaka [Sun, 27 Sep 2015 19:34:59 +0000 (22:34 +0300)] 
Issue #25203: Failed readline.set_completer_delims() no longer left the
 module in inconsistent state.

10 years agoMerge: Fix English phrasing.
R David Murray [Sun, 27 Sep 2015 16:37:20 +0000 (12:37 -0400)] 
Merge: Fix English phrasing.

10 years agoMerge: Fix English phrasing.
R David Murray [Sun, 27 Sep 2015 16:36:50 +0000 (12:36 -0400)] 
Merge: Fix English phrasing.

10 years agoFix English phrasing.
R David Murray [Sun, 27 Sep 2015 16:36:19 +0000 (12:36 -0400)] 
Fix English phrasing.

10 years agoIssue #25011: rlcomplete now omits private and special attribute names unless
Serhiy Storchaka [Sun, 27 Sep 2015 10:43:50 +0000 (13:43 +0300)] 
Issue #25011: rlcomplete now omits private and special attribute names unless
the prefix starts with underscores.

10 years agoIssue #25209: rlcomplete now can add a space or a colon after completed keyword.
Serhiy Storchaka [Sun, 27 Sep 2015 10:26:03 +0000 (13:26 +0300)] 
Issue #25209: rlcomplete now can add a space or a colon after completed keyword.

10 years agoIssue #25220: Fix Lib/test/autotest.py
Victor Stinner [Sun, 27 Sep 2015 09:19:08 +0000 (11:19 +0200)] 
Issue #25220: Fix Lib/test/autotest.py

10 years agomerge 3.5
Benjamin Peterson [Sun, 27 Sep 2015 09:14:29 +0000 (02:14 -0700)] 
merge 3.5

10 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 09:14:23 +0000 (02:14 -0700)] 
merge 3.4

10 years agofix spacing
Benjamin Peterson [Sun, 27 Sep 2015 09:13:40 +0000 (02:13 -0700)] 
fix spacing

10 years agomerge 3.5
Benjamin Peterson [Sun, 27 Sep 2015 09:07:50 +0000 (02:07 -0700)] 
merge 3.5

10 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 09:07:43 +0000 (02:07 -0700)] 
merge 3.4

10 years agomerge heads
Benjamin Peterson [Sun, 27 Sep 2015 09:07:35 +0000 (02:07 -0700)] 
merge heads

10 years agomerge heads
Benjamin Peterson [Sun, 27 Sep 2015 09:07:27 +0000 (02:07 -0700)] 
merge heads

10 years agomerge heads
Benjamin Peterson [Sun, 27 Sep 2015 09:07:19 +0000 (02:07 -0700)] 
merge heads

10 years agomerge 3.5
Benjamin Peterson [Sun, 27 Sep 2015 09:05:18 +0000 (02:05 -0700)] 
merge 3.5

10 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 09:05:12 +0000 (02:05 -0700)] 
merge 3.4

10 years agomake wikipedia link https
Benjamin Peterson [Sun, 27 Sep 2015 09:05:01 +0000 (02:05 -0700)] 
make wikipedia link https

10 years agoMerge with 3.5
Terry Jan Reedy [Sun, 27 Sep 2015 08:40:34 +0000 (04:40 -0400)] 
Merge with 3.5

10 years agoMerge with 3.4
Terry Jan Reedy [Sun, 27 Sep 2015 08:40:23 +0000 (04:40 -0400)] 
Merge with 3.4

10 years agoIssue #25198: When using the Idle dov TOC menu, put the section title at the
Terry Jan Reedy [Sun, 27 Sep 2015 08:40:08 +0000 (04:40 -0400)] 
Issue #25198: When using the Idle dov TOC menu, put the section title at the
top of the window, unless it is too near the bottom to do do.

10 years agomerge 3.5
Benjamin Peterson [Sun, 27 Sep 2015 08:23:40 +0000 (01:23 -0700)] 
merge 3.5

10 years agomerge 3.4
Benjamin Peterson [Sun, 27 Sep 2015 08:23:35 +0000 (01:23 -0700)] 
merge 3.4

10 years agoshorten and fix casing of title
Benjamin Peterson [Sun, 27 Sep 2015 08:23:10 +0000 (01:23 -0700)] 
shorten and fix casing of title

10 years agomerge 3.5 (#25245)
Benjamin Peterson [Sun, 27 Sep 2015 08:16:20 +0000 (01:16 -0700)] 
merge 3.5 (#25245)

10 years agomerge 3.4 (#25245)
Benjamin Peterson [Sun, 27 Sep 2015 08:16:12 +0000 (01:16 -0700)] 
merge 3.4 (#25245)

10 years agoinitialize return value to NULL to avoid compiler compliants (closes #25245)
Benjamin Peterson [Sun, 27 Sep 2015 08:16:03 +0000 (01:16 -0700)] 
initialize return value to NULL to avoid compiler compliants (closes #25245)

10 years agomerge 3.5 (#23329)
Benjamin Peterson [Sun, 27 Sep 2015 07:09:09 +0000 (00:09 -0700)] 
merge 3.5 (#23329)

10 years agodetect alpn by feature flag not openssl version (closes #23329)
Benjamin Peterson [Sun, 27 Sep 2015 07:09:02 +0000 (00:09 -0700)] 
detect alpn by feature flag not openssl version (closes #23329)

10 years agoMove the copy and clear functions upwards to eliminate unnecessary forward references.
Raymond Hettinger [Sun, 27 Sep 2015 04:31:23 +0000 (21:31 -0700)] 
Move the copy and clear functions upwards to eliminate unnecessary forward references.

10 years agoMinor tweak to the order of variable updates.
Raymond Hettinger [Sun, 27 Sep 2015 04:11:05 +0000 (21:11 -0700)] 
Minor tweak to the order of variable updates.

10 years agoBump up the maximum number of freeblocks
Raymond Hettinger [Sun, 27 Sep 2015 00:47:02 +0000 (17:47 -0700)] 
Bump up the maximum number of freeblocks

10 years agoMerge with 3.5
Terry Jan Reedy [Sun, 27 Sep 2015 00:04:23 +0000 (20:04 -0400)] 
Merge with 3.5

10 years agoMerge with 3.4
Terry Jan Reedy [Sun, 27 Sep 2015 00:04:09 +0000 (20:04 -0400)] 
Merge with 3.4

10 years agoIssue #24570: Idle: make calltip and completion boxes appear on Macs
Terry Jan Reedy [Sun, 27 Sep 2015 00:03:57 +0000 (20:03 -0400)] 
Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression.  Initial patch by Mark Roseman.

10 years agoMerge with 3.5
Terry Jan Reedy [Sat, 26 Sep 2015 22:50:58 +0000 (18:50 -0400)] 
Merge with 3.5

10 years agoMerge with 3.4
Terry Jan Reedy [Sat, 26 Sep 2015 22:50:44 +0000 (18:50 -0400)] 
Merge with 3.4

10 years agoIssue #24988: Idle ScrolledList context menus (used in debugger)
Terry Jan Reedy [Sat, 26 Sep 2015 22:50:26 +0000 (18:50 -0400)] 
Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua.  Patch by Mark Roseman.

10 years agoIssue #25220: Move most regrtest.py code to libregrtest
Victor Stinner [Sat, 26 Sep 2015 08:38:01 +0000 (10:38 +0200)] 
Issue #25220: Move most regrtest.py code to libregrtest

10 years agoPrecomputing the number iterations allows the inner-loop to be vectorizable.
Raymond Hettinger [Sat, 26 Sep 2015 09:14:50 +0000 (02:14 -0700)] 
Precomputing the number iterations allows the inner-loop to be vectorizable.

10 years agoHoist constant expression out of an inner loop.
Raymond Hettinger [Sat, 26 Sep 2015 08:30:51 +0000 (01:30 -0700)] 
Hoist constant expression out of an inner loop.

10 years agoIssue #25220: Create Lib/test/libregrtest/
Victor Stinner [Sat, 26 Sep 2015 07:43:45 +0000 (09:43 +0200)] 
Issue #25220: Create Lib/test/libregrtest/

Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py: code to handle the command line, especially
parsing command line arguments. This part of the code is tested by
test_regrtest.

10 years agomerge
Raymond Hettinger [Sat, 26 Sep 2015 07:15:46 +0000 (00:15 -0700)] 
merge

10 years agoIssue #25135: Avoid possible reentrancy issues in deque_clear.
Raymond Hettinger [Sat, 26 Sep 2015 07:14:59 +0000 (00:14 -0700)] 
Issue #25135: Avoid possible reentrancy issues in deque_clear.

10 years agomerge 3.5
Benjamin Peterson [Sat, 26 Sep 2015 07:09:39 +0000 (00:09 -0700)] 
merge 3.5

10 years agomerge 3.4
Benjamin Peterson [Sat, 26 Sep 2015 07:09:32 +0000 (00:09 -0700)] 
merge 3.4

10 years agoprevent overflow in _Unpickler_Read
Benjamin Peterson [Sat, 26 Sep 2015 07:08:34 +0000 (00:08 -0700)] 
prevent overflow in _Unpickler_Read

10 years agomerge 3.5 (#25131)
Benjamin Peterson [Sat, 26 Sep 2015 05:44:55 +0000 (22:44 -0700)] 
merge 3.5 (#25131)

10 years agomake opening brace of container literals and comprehensions correspond to the line...
Benjamin Peterson [Sat, 26 Sep 2015 05:44:43 +0000 (22:44 -0700)] 
make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node (closes #25131)

10 years agoMerge with 3.5
Terry Jan Reedy [Sat, 26 Sep 2015 02:23:33 +0000 (22:23 -0400)] 
Merge with 3.5

10 years agoMerge with 3.4
Terry Jan Reedy [Sat, 26 Sep 2015 02:23:19 +0000 (22:23 -0400)] 
Merge with 3.4

10 years agoIssue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
Terry Jan Reedy [Sat, 26 Sep 2015 02:22:55 +0000 (22:22 -0400)] 
Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.

10 years agoIssue #25211: Merge test_long from 3.5
Martin Panter [Sat, 26 Sep 2015 00:07:54 +0000 (00:07 +0000)] 
Issue #25211: Merge test_long from 3.5

10 years agoIssue #25211: Merge test_long from 3.4 into 3.5
Martin Panter [Sat, 26 Sep 2015 00:07:29 +0000 (00:07 +0000)] 
Issue #25211: Merge test_long from 3.4 into 3.5

10 years agoIssue #25211: Eliminate lazy error message class by using subTest
Martin Panter [Fri, 25 Sep 2015 23:50:47 +0000 (23:50 +0000)] 
Issue #25211: Eliminate lazy error message class by using subTest

Some of the calls to the Frm class were buggy anyway.

10 years agoIssue #25186: Remove duplicated function from importlib._bootstrap_external
Brett Cannon [Fri, 25 Sep 2015 20:05:13 +0000 (13:05 -0700)] 
Issue #25186: Remove duplicated function from importlib._bootstrap_external

10 years agoMerge with 3.5
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:44 +0000 (00:49 -0400)] 
Merge with 3.5