Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25220, libregrtest: Add runtest_ns() function | Victor Stinner | 2015-09-29 | 3 | -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 submodule | Victor Stinner | 2015-09-29 | 2 | -110/+123 |
| | |||||
* | Issue #25220, libregrtest: Cleanup setup code | Victor Stinner | 2015-09-29 | 1 | -47/+49 |
| | |||||
* | Issue #25220: Use print(flush=True) in libregrtest | Victor Stinner | 2015-09-29 | 4 | -25/+15 |
| | |||||
* | Issue #25220: Enhance regrtest -jN | Victor Stinner | 2015-09-29 | 1 | -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.py | Victor Stinner | 2015-09-29 | 1 | -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 import | Victor Stinner | 2015-09-29 | 1 | -4/+0 |
| | |||||
* | Issue #25220: truncate some long lines in libregrtest/*.py | Victor Stinner | 2015-09-29 | 2 | -11/+24 |
| | |||||
* | Issue #25220: regrtest setups Python after parsing command line options | Victor Stinner | 2015-09-29 | 1 | -1/+1 |
| | |||||
* | Issue #25220: Enhance regrtest --coverage | Victor Stinner | 2015-09-29 | 1 | -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.py | Victor Stinner | 2015-09-29 | 3 | -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 class | Victor Stinner | 2015-09-29 | 1 | -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.WeakValueDictionary | Serhiy Storchaka | 2015-09-29 | 3 | -2/+43 |
|\ | | | | | | | now accept the self and the dict keyword arguments. | ||||
| * | Issue #22958: Constructor and update method of weakref.WeakValueDictionary | Serhiy Storchaka | 2015-09-29 | 3 | -2/+43 |
| |\ | | | | | | | | | | now accept the self and the dict keyword arguments. | ||||
| | * | Issue #22958: Constructor and update method of weakref.WeakValueDictionary | Serhiy Storchaka | 2015-09-29 | 3 | -2/+43 |
| | | | | | | | | | | | | now accept the self and the dict keyword arguments. | ||||
* | | | Issue #22609: Constructor of collections.UserDict now accepts the self keyword | Serhiy Storchaka | 2015-09-29 | 3 | -2/+45 |
|\ \ \ | |/ / | | | | | | | argument. | ||||
| * | | Issue #22609: Constructor of collections.UserDict now accepts the self keyword | Serhiy Storchaka | 2015-09-29 | 3 | -2/+45 |
| |\ \ | | |/ | | | | | | | argument. | ||||
| | * | Issue #22609: Constructor of collections.UserDict now accepts the self keyword | Serhiy Storchaka | 2015-09-29 | 3 | -2/+45 |
| | | | | | | | | | | | | argument. | ||||
* | | | Issue #25111: Fixed comparison of traceback.FrameSummary. | Serhiy Storchaka | 2015-09-29 | 3 | -9/+21 |
|\ \ \ | |/ / | |||||
| * | | Issue #25111: Fixed comparison of traceback.FrameSummary. | Serhiy Storchaka | 2015-09-29 | 3 | -9/+21 |
| | | | |||||
* | | | Issue #25262. Added support for BINBYTES8 opcode in Python implementation of | Serhiy Storchaka | 2015-09-29 | 4 | -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 of | Serhiy Storchaka | 2015-09-29 | 4 | -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 of | Serhiy Storchaka | 2015-09-29 | 4 | -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 Rossum | 2015-09-29 | 3 | -26/+66 |
|\ \ \ | |/ / | | | | | | | 3.5->3.6.) | ||||
| * | | Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge ↵ | Guido van Rossum | 2015-09-29 | 3 | -26/+66 |
| |\ \ | | |/ | | | | | | | 3.4->3.5.) | ||||
| | * | Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). | Guido van Rossum | 2015-09-29 | 3 | -26/+66 |
| | | | |||||
* | | | Merge 3.5 -> default | Andrew Svetlov | 2015-09-29 | 2 | -1/+43 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.4 -> 3.5 | Andrew Svetlov | 2015-09-29 | 2 | -1/+43 |
| |\ \ | | |/ | |||||
| | * | Fix StreamReader.__repr__ | Andrew Svetlov | 2015-09-29 | 2 | -1/+43 |
| | | | |||||
* | | | Issue #25034: Merge from 3.5. | Eric V. Smith | 2015-09-29 | 4 | -5/+12 |
|\ \ \ | |/ / | |||||
| * | | Issue #25034: Merge from 3.4. | Eric V. Smith | 2015-09-29 | 4 | -5/+12 |
| |\ \ | | |/ | |||||
| | * | Fixed issue #25034: Fix string.Formatter problem with auto-numbering | Eric V. Smith | 2015-09-29 | 4 | -5/+12 |
| | | | | | | | | | | | | and nested format_specs. Patch by Anthon van der Neut. | ||||
* | | | Added additional unpickling tests. | Serhiy Storchaka | 2015-09-29 | 1 | -37/+229 |
|\ \ \ | |/ / | |||||
| * | | Added additional unpickling tests. | Serhiy Storchaka | 2015-09-29 | 1 | -37/+229 |
| |\ \ | | |/ | |||||
| | * | Added additional unpickling tests. | Serhiy Storchaka | 2015-09-29 | 1 | -37/+229 |
| | | | |||||
* | | | Moved unpickling tests with prepickled data to separate class. | Serhiy Storchaka | 2015-09-29 | 2 | -212/+233 |
|\ \ \ | |/ / | |||||
| * | | Moved unpickling tests with prepickled data to separate class. | Serhiy Storchaka | 2015-09-29 | 2 | -212/+233 |
| |\ \ | | |/ | |||||
| | * | Moved unpickling tests with prepickled data to separate class. | Serhiy Storchaka | 2015-09-29 | 2 | -212/+233 |
| | | | |||||
* | | | Issue #25220: Add test for --wait in test_regrtest | Victor Stinner | 2015-09-29 | 1 | -12/+36 |
| | | | | | | | | | | | | Replace script_helper.assert_python_ok() with subprocess.run(). | ||||
* | | | Oops, revert unwanted change, sorry | Victor Stinner | 2015-09-29 | 2 | -1/+5 |
| | | | |||||
* | | | Issue #18174: Explain why is_valid_fd() uses dup() instead of fstat() | Victor Stinner | 2015-09-29 | 1 | -0/+3 |
| | | | |||||
* | | | test | Victor Stinner | 2015-09-29 | 2 | -5/+1 |
| | | | |||||
* | | | Try to fix _PyTime_AsTimevalStruct_impl() on OpenBSD | Victor Stinner | 2015-09-29 | 1 | -2/+3 |
| | | | | | | | | | | | | It looks like the check for integer overflow doesn't work on x86 OpenBSD 5.8. | ||||
* | | | Optimize ascii/latin1+surrogateescape encoders | Victor Stinner | 2015-09-29 | 4 | -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 Reedy | 2015-09-29 | 2 | -11/+59 |
|\ \ \ | |/ / | |||||
| * | | Merge with 3.4, Issue #24028: Add subsection about Idle calltips. | Terry Jan Reedy | 2015-09-29 | 2 | -11/+59 |
| |\ \ | | |/ | |||||
| | * | Issue #24028: Add subsection about Idle calltips. | Terry Jan Reedy | 2015-09-29 | 2 | -11/+59 |
| | | | |||||
* | | | merge 3.5 | Terry Jan Reedy | 2015-09-29 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge with 3.4 | Terry Jan Reedy | 2015-09-29 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Remove indent in news item. Error when building 3.x docs. | Terry Jan Reedy | 2015-09-29 | 1 | -1/+1 |
| | | |