Victor Stinner
6448b8041a
Issue #25220 : truncate some long lines in libregrtest/*.py
2015-09-29 23:43:33 +02:00
Victor Stinner
37554525aa
Issue #25220 : regrtest setups Python after parsing command line options
2015-09-29 23:37:14 +02:00
Victor Stinner
bd1a72c455
Issue #25220 : Enhance regrtest --coverage
...
Add a new Regrtest.run_test() method to ensure that --coverage pass the same
options to the runtest() function.
2015-09-29 23:36:27 +02:00
Victor Stinner
56e05dd0b0
Issue #25220 : Create libregrtest/runtest_mp.py
...
Move the code to run tests in multiple processes using threading and subprocess
to a new submodule.
Move also slave_runner() (renamed to run_tests_slave()) and
run_test_in_subprocess() (renamed to run_tests_in_subprocess()) there.
2015-09-29 23:15:38 +02:00
Victor Stinner
dad20e4876
Issue #25220 : Split the huge main() function of libregrtest.main into a class
...
with attributes and methods.
The --threshold command line option is now ignored if the gc module is missing.
* Convert main() variables to Regrtest attributes, document some attributes
* Convert accumulate_result() function to a method
* Create setup_python() function and setup_regrtest() method.
* Import gc at top level
* Move resource.setrlimit() and the code to make the module paths absolute into
the new setup_python() function. So this code is no more executed when the
module is imported, only when main() is executed. We have a better control on
when the setup is done.
* Move textwrap import from printlist() to the top level.
* Some other minor cleanup.
2015-09-29 22:48:52 +02:00
Serhiy Storchaka
b27232949d
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:53:25 +03:00
Serhiy Storchaka
f1c780870a
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:42 +03:00
Serhiy Storchaka
b5102e3550
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:09 +03:00
Serhiy Storchaka
5527cf119d
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:38:34 +03:00
Serhiy Storchaka
f4ee1c23e8
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:37:09 +03:00
Serhiy Storchaka
68f5ef226e
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:36:06 +03:00
Serhiy Storchaka
87b93fe36f
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:34:16 +03:00
Serhiy Storchaka
3066fc41d1
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:33:36 +03:00
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
449b271799
Issue #18174 : Explain why is_valid_fd() uses dup() instead of fstat()
2015-09-29 13:59:50 +02:00
Victor Stinner
3f7468507a
test
2015-09-29 13:47:15 +02:00
Victor Stinner
2bfed53b88
Try to fix _PyTime_AsTimevalStruct_impl() on OpenBSD
...
It looks like the check for integer overflow doesn't work on x86 OpenBSD 5.8.
2015-09-29 13:41:46 +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
b1edd5823c
merge 3.5
2015-09-29 01:04:08 -04:00
Terry Jan Reedy
c69b37ff4e
Merge with 3.4
2015-09-29 01:01:00 -04:00
Terry Jan Reedy
f38356adbb
Remove indent in news item. Error when building 3.x docs.
2015-09-29 01:00:31 -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
Guido van Rossum
b4c00154f2
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:53:44 -07:00
Guido van Rossum
ab9e936bd9
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:51:59 -07:00
Guido van Rossum
9af30ac669
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:50:38 -07: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