summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25220, libregrtest: Add runtest_ns() functionVictor Stinner2015-09-293-22/+26
| | | | | | * Factorize code to run tests. * run_test_in_subprocess() now pass the whole "ns" namespace to the child process.
* Issue #25220, libregrtest: Move setup_python() to a new submoduleVictor Stinner2015-09-292-110/+123
|
* Issue #25220, libregrtest: Cleanup setup codeVictor Stinner2015-09-291-47/+49
|
* Issue #25220: Use print(flush=True) in libregrtestVictor Stinner2015-09-294-25/+15
|
* Issue #25220: Enhance regrtest -jNVictor Stinner2015-09-291-37/+90
| | | | | | | | | | Running the Python test suite with -jN now: - Display the duration of tests which took longer than 30 seconds - Display the tests currently running since at least 30 seconds - Display the tests we are waiting for when the test suite is interrupted Clenaup also run_test_in_subprocess() code.
* Don't strip refcount in libregrtest/runtest_mp.pyVictor Stinner2015-09-291-6/+0
| | | | | | | Python doesn't display the refcount anymore by default. It only displays it when -X showrefcount command line option is used, which is not the case here. regrtest can be run with -X showrefcount, the option is not inherited by child processes.
* Issue #25220, libregrtest: Remove unused importVictor Stinner2015-09-291-4/+0
|
* Issue #25220: truncate some long lines in libregrtest/*.pyVictor Stinner2015-09-292-11/+24
|
* Issue #25220: regrtest setups Python after parsing command line optionsVictor Stinner2015-09-291-1/+1
|
* Issue #25220: Enhance regrtest --coverageVictor Stinner2015-09-291-10/+18
| | | | | Add a new Regrtest.run_test() method to ensure that --coverage pass the same options to the runtest() function.
* Issue #25220: Create libregrtest/runtest_mp.pyVictor Stinner2015-09-293-147/+164
| | | | | | | | 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.
* Issue #25220: Split the huge main() function of libregrtest.main into a classVictor Stinner2015-09-291-314/+387
| | | | | | | | | | | | | | | | | 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.
* Issue #22958: Constructor and update method of weakref.WeakValueDictionarySerhiy Storchaka2015-09-293-2/+43
|\ | | | | | | now accept the self and the dict keyword arguments.
| * Issue #22958: Constructor and update method of weakref.WeakValueDictionarySerhiy Storchaka2015-09-293-2/+43
| |\ | | | | | | | | | now accept the self and the dict keyword arguments.
| | * Issue #22958: Constructor and update method of weakref.WeakValueDictionarySerhiy Storchaka2015-09-293-2/+43
| | | | | | | | | | | | now accept the self and the dict keyword arguments.
* | | Issue #22609: Constructor of collections.UserDict now accepts the self keywordSerhiy Storchaka2015-09-293-2/+45
|\ \ \ | |/ / | | | | | | argument.
| * | Issue #22609: Constructor of collections.UserDict now accepts the self keywordSerhiy Storchaka2015-09-293-2/+45
| |\ \ | | |/ | | | | | | argument.
| | * Issue #22609: Constructor of collections.UserDict now accepts the self keywordSerhiy Storchaka2015-09-293-2/+45
| | | | | | | | | | | | argument.
* | | Issue #25111: Fixed comparison of traceback.FrameSummary.Serhiy Storchaka2015-09-293-9/+21
|\ \ \ | |/ /
| * | Issue #25111: Fixed comparison of traceback.FrameSummary.Serhiy Storchaka2015-09-293-9/+21
| | |
* | | Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-294-2/+44
|\ \ \ | |/ / | | | | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
| * | Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-294-2/+44
| |\ \ | | |/ | | | | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
| | * Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-294-1/+43
| | | | | | | | | | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
* | | Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge ↵Guido van Rossum2015-09-293-26/+66
|\ \ \ | |/ / | | | | | | 3.5->3.6.)
| * | Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge ↵Guido van Rossum2015-09-293-26/+66
| |\ \ | | |/ | | | | | | 3.4->3.5.)
| | * Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).Guido van Rossum2015-09-293-26/+66
| | |
* | | Merge 3.5 -> defaultAndrew Svetlov2015-09-292-1/+43
|\ \ \ | |/ /
| * | Merge 3.4 -> 3.5Andrew Svetlov2015-09-292-1/+43
| |\ \ | | |/
| | * Fix StreamReader.__repr__Andrew Svetlov2015-09-292-1/+43
| | |
* | | Issue #25034: Merge from 3.5.Eric V. Smith2015-09-294-5/+12
|\ \ \ | |/ /
| * | Issue #25034: Merge from 3.4.Eric V. Smith2015-09-294-5/+12
| |\ \ | | |/
| | * Fixed issue #25034: Fix string.Formatter problem with auto-numberingEric V. Smith2015-09-294-5/+12
| | | | | | | | | | | | and nested format_specs. Patch by Anthon van der Neut.
* | | Added additional unpickling tests.Serhiy Storchaka2015-09-291-37/+229
|\ \ \ | |/ /
| * | Added additional unpickling tests.Serhiy Storchaka2015-09-291-37/+229
| |\ \ | | |/
| | * Added additional unpickling tests.Serhiy Storchaka2015-09-291-37/+229
| | |
* | | Moved unpickling tests with prepickled data to separate class.Serhiy Storchaka2015-09-292-212/+233
|\ \ \ | |/ /
| * | Moved unpickling tests with prepickled data to separate class.Serhiy Storchaka2015-09-292-212/+233
| |\ \ | | |/
| | * Moved unpickling tests with prepickled data to separate class.Serhiy Storchaka2015-09-292-212/+233
| | |
* | | Issue #25220: Add test for --wait in test_regrtestVictor Stinner2015-09-291-12/+36
| | | | | | | | | | | | Replace script_helper.assert_python_ok() with subprocess.run().
* | | Oops, revert unwanted change, sorryVictor Stinner2015-09-292-1/+5
| | |
* | | Issue #18174: Explain why is_valid_fd() uses dup() instead of fstat()Victor Stinner2015-09-291-0/+3
| | |
* | | testVictor Stinner2015-09-292-5/+1
| | |
* | | Try to fix _PyTime_AsTimevalStruct_impl() on OpenBSDVictor Stinner2015-09-291-2/+3
| | | | | | | | | | | | It looks like the check for integer overflow doesn't work on x86 OpenBSD 5.8.
* | | Optimize ascii/latin1+surrogateescape encodersVictor Stinner2015-09-294-0/+83
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge with 3.5, Issue #24028: Add subsection about Idle calltips.Terry Jan Reedy2015-09-292-11/+59
|\ \ \ | |/ /
| * | Merge with 3.4, Issue #24028: Add subsection about Idle calltips.Terry Jan Reedy2015-09-292-11/+59
| |\ \ | | |/
| | * Issue #24028: Add subsection about Idle calltips.Terry Jan Reedy2015-09-292-11/+59
| | |
* | | merge 3.5Terry Jan Reedy2015-09-291-1/+1
|\ \ \ | |/ /
| * | Merge with 3.4Terry Jan Reedy2015-09-291-1/+1
| |\ \ | | |/
| | * Remove indent in news item. Error when building 3.x docs.Terry Jan Reedy2015-09-291-1/+1
| | |