Commit graph

38089 commits

Author SHA1 Message Date
Serhiy Storchaka
11c715f12e Issue #25262. Added support for BINBYTES8 opcode in Python implementation of
unpickler.  Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:13:01 +03:00
Serhiy Storchaka
525faaeffc Issue #25262. Added support for BINBYTES8 opcode in Python implementation of
unpickler.  Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:12:29 +03:00
Serhiy Storchaka
e060619d4b Issue #25262. Added support for BINBYTES8 opcode in Python implementation of
unpickler.  Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:10:07 +03:00
Guido van Rossum
a6b1031b76 Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.5->3.6.) 2015-09-29 12:01:55 -07:00
Guido van Rossum
28d982dfc5 Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.) 2015-09-29 12:00:01 -07:00
Guido van Rossum
d455a50773 Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). 2015-09-29 11:54:45 -07:00
Andrew Svetlov
11adfb9990 Merge 3.5 -> default 2015-09-29 18:38:22 +03:00
Andrew Svetlov
e4be3c2597 Merge 3.4 -> 3.5 2015-09-29 18:36:44 +03:00
Andrew Svetlov
d94c1b92ed Fix StreamReader.__repr__ 2015-09-29 18:36:00 +03:00
Eric V. Smith
6dcada3bcf Issue #25034: Merge from 3.5. 2015-09-29 10:30:47 -04:00
Eric V. Smith
ad4003c7fb Issue #25034: Merge from 3.4. 2015-09-29 10:30:04 -04:00
Eric V. Smith
85976b14dd Fixed issue #25034: Fix string.Formatter problem with auto-numbering
and nested format_specs. Patch by Anthon van der Neut.
2015-09-29 10:27:38 -04:00
Serhiy Storchaka
2fbcd2a057 Added additional unpickling tests. 2015-09-29 15:51:02 +03:00
Serhiy Storchaka
cb764960c9 Added additional unpickling tests. 2015-09-29 15:50:45 +03:00
Serhiy Storchaka
b8b951f6ee Added additional unpickling tests. 2015-09-29 15:49:58 +03:00
Serhiy Storchaka
8ebcfd6779 Moved unpickling tests with prepickled data to separate class. 2015-09-29 15:35:19 +03:00
Serhiy Storchaka
104de66b76 Moved unpickling tests with prepickled data to separate class. 2015-09-29 15:34:53 +03:00
Serhiy Storchaka
c6b54b45ea Moved unpickling tests with prepickled data to separate class. 2015-09-29 15:33:24 +03:00
Victor Stinner
4277134035 Issue #25220: Add test for --wait in test_regrtest
Replace script_helper.assert_python_ok() with subprocess.run().
2015-09-29 14:17:09 +02:00
Victor Stinner
feabaed054 Oops, revert unwanted change, sorry 2015-09-29 14:02:35 +02:00
Victor Stinner
3f7468507a test 2015-09-29 13:47:15 +02:00
Victor Stinner
c3713e9706 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.
2015-09-29 12:32:13 +02:00
Terry Jan Reedy
5fbeabcbb6 Merge with 3.5, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:54 -04:00
Terry Jan Reedy
e471ab3434 Merge with 3.4, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:35 -04:00
Terry Jan Reedy
37f81355b0 Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:55:57 -04:00
Terry Jan Reedy
e0937ef754 IDLE NEWS. 2015-09-28 23:44:37 -04:00
Terry Jan Reedy
86e971ccb3 IDLE NEWS items. 2015-09-28 23:42:56 -04:00
Terry Jan Reedy
9af7fe76ff Add recent IDLE NEWS items. 2015-09-28 23:38:57 -04:00
Victor Stinner
e143c1f94f 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.
2015-09-29 01:02:37 +02:00
Victor Stinner
6b415101a2 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.
2015-09-28 23:16:17 +02:00
Guido van Rossum
174d059248 Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.5->default.) 2015-09-28 13:35:54 -07:00
Guido van Rossum
d2f184652c Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.) 2015-09-28 07:44:49 -07:00
Guido van Rossum
99f96c5451 Issue #25233: Rewrite the guts of Queue to be more understandable and correct. 2015-09-28 07:42:34 -07:00
Victor Stinner
ff6ee25102 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.
2015-09-28 15:04:11 +02:00
Berker Peksag
2cf2aacdcd 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.
2015-09-28 13:34:17 +03:00
Berker Peksag
636b83fdc5 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.
2015-09-28 13:33:43 +03:00
Berker Peksag
16a1f28194 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.
2015-09-28 13:33:14 +03:00
Terry Jan Reedy
69158d56a0 Merge with 3.5 2015-09-28 04:53:12 -04:00
Terry Jan Reedy
bcb0c134cb Merge with 3.4 2015-09-28 04:53:01 -04:00
Terry Jan Reedy
d351706950 Issue #24972: New option is only valid in tk 8.5+. 2015-09-28 04:52:49 -04:00
Terry Jan Reedy
3a03a1cb00 Merge with 3.5 2015-09-28 04:16:56 -04:00
Terry Jan Reedy
0b6e6e1591 Merge with 3.4 2015-09-28 04:16:43 -04:00
Terry Jan Reedy
507a5c4b4e 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.
2015-09-28 04:16:32 -04:00
Terry Jan Reedy
2122b62c2a Backed out changeset: 70c01dd35100 2015-09-27 22:50:54 -04:00
Terry Jan Reedy
7082cbce64 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.
2015-09-27 22:46:17 -04:00
Alexander Belopolsky
365ba8f6c1 Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 22:32:15 -04:00
Alexander Belopolsky
edc6885b3f Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 22:31:45 -04:00
Alexander Belopolsky
d19b5042ff Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 21:56:53 -04:00
Alexander Belopolsky
c58c2cb392 Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 21:56:09 -04:00
Alexander Belopolsky
c79447b267 Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 21:41:55 -04:00