summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-0/+20
| | | | raises a TypeError.
* Issue #20510: Merge with 3.3Zachary Ware2014-02-191-0/+4
|\
| * Issue #20510: Confirm that the code attribute of the SystemExitZachary Ware2014-02-191-0/+4
| | | | | | | | | | | | exception raised by sys.exit is None when no code is given. As suggested by Serhiy Storchaka.
* | Issue #20510: Merge with 3.3.Zachary Ware2014-02-181-53/+28
|\ \ | |/
| * Issue #20510: Rewrote test_exit in test_sys to match existing commentsZachary Ware2014-02-181-53/+28
| | | | | | | | and to modernize. Patch by Gareth Rees.
* | Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-0/+1
|\ \ | |/
| * Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-0/+1
| |
| * Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-8/+9
| |
* | Fix the C definition of the sys._debugmallocstats() function: the function hasVictor Stinner2013-12-191-0/+3
| | | | | | | | no parameter
* | Issue #14432: Remove the thread state field from the frame structure. Fix aVictor Stinner2013-12-131-1/+1
| | | | | | | | | | | | | | crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.
* | Issue #19751: Fix hash_info test of test_sys on SPARC SolarisVictor Stinner2013-12-121-5/+1
| |
* | Issue #19751: Fix typo in configuration optionVictor Stinner2013-12-121-1/+1
| |
* | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.Christian Heimes2013-11-201-1/+22
| | | | | | | | Python now uses SipHash24 on all major platforms.
* | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-8/+9
| |
* | Issue #18948: improve SuppressCoreFiles to include Windows crash popup ↵Antoine Pitrou2013-10-081-1/+1
| | | | | | | | | | | | suppression, and use it in more tests. Patch by Valerie Lambert and Zachary Ware.
* | Issue #19087: Improve bytearray allocation in order to allow cheap popping ↵Antoine Pitrou2013-10-051-1/+1
| | | | | | | | of data at the front (slice deletion).
* | Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.Serhiy Storchaka2013-09-131-0/+36
| |
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
| | | | | | | | error messages and comments.
* | Issue #16400: Add command line option for isolated mode.Christian Heimes2013-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | -I Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the script’s directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. Further restrictions may be imposed to prevent the user from injecting malicious code.
* | Issue #17934: Add a clear() method to frame objects, to help clean up ↵Antoine Pitrou2013-08-051-1/+1
| | | | | | | | expensive details (local variables) and break reference cycles.
* | Issue #18214: Improve finalization of Python modules to avoid setting their ↵Antoine Pitrou2013-07-311-1/+1
| | | | | | | | globals to None, in most cases.
* | Issue #18112: PEP 442 implementation (safe object finalization).Antoine Pitrou2013-07-301-2/+2
| |
* | Issue #18063: fix some struct specifications in the tests for sys.getsizeof().Antoine Pitrou2013-05-251-5/+5
|\ \ | |/
| * Issue #18063: fix some struct specifications in the tests for sys.getsizeof().Antoine Pitrou2013-05-251-5/+5
| |
* | Backout c89febab4648 following private feedback by Guido.Antoine Pitrou2013-05-141-1/+1
| | | | | | | | (Issue #17807: Generators can now be finalized even when they are part of a reference cycle)
* | Issue #17807: Generators can now be finalized even when they are part of a ↵Antoine Pitrou2013-05-081-1/+1
| | | | | | | | reference cycle.
* | #17493: merge with 3.3.Ezio Melotti2013-03-201-11/+9
|\ \ | |/
| * #17493: merge with 3.2.Ezio Melotti2013-03-201-11/+9
| |\
| | * #17493: re-enable a test on Windows. Patch by Zachary Ware.Ezio Melotti2013-03-201-11/+9
| | |
* | | Relax test when WITH_PYMALLOC is false or undefined.Antoine Pitrou2012-12-181-1/+4
| | |
* | | Following issue #13390, fix compilation --without-pymalloc, and make ↵Antoine Pitrou2012-12-171-1/+6
| | | | | | | | | | | | sys.getallocatedblocks() return 0 in that situation.
* | | Issue #13390: New function :func:`sys.getallocatedblocks()` returns the ↵Antoine Pitrou2012-12-091-0/+24
| | | | | | | | | | | | | | | | | | number of memory blocks currently allocated. Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks.
* | | merge 3.3Benjamin Peterson2012-10-091-1/+1
|\ \ \ | |/ /
| * | compare singletons by identity not equality (closes #16712)Benjamin Peterson2012-10-091-1/+1
| | | | | | | | | | | | Patch from Serhiy Storchaka.
* | | Closes #16135: Removal of OS/2 supportJesus Cea2012-10-051-1/+1
|/ /
* | Fix test_sys.test_implementation for final releases.v3.3.0Georg Brandl2012-09-291-1/+1
| |
* | Merge universal newlines-related fixes (issue #13119)Antoine Pitrou2012-08-041-1/+2
|\ \ | |/
| * Fix test_sys under Windows (issue #13119)Antoine Pitrou2012-08-041-1/+2
| |
* | Issue #15467: Merge 3.2Martin v. Löwis2012-07-291-125/+89
|\ \ | |/
| * Issue #15467: Move helpers for __sizeof__ tests into test_support.Martin v. Löwis2012-07-291-119/+83
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #15456: Fix code __sizeof__ after #12399 change.Martin v. Löwis2012-07-261-0/+6
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵David Malcolm2012-06-221-0/+6
| | | | | | | | allocation issues
* | Whitespace normalizationBarry Warsaw2012-06-041-1/+1
| |
* | PEP 421 requires that .name be lower case.Barry Warsaw2012-06-041-0/+4
| |
* | Eric Snow's implementation of PEP 421.Barry Warsaw2012-06-031-0/+18
| | | | | | | | Issue 14673: Add sys.implementation
* | Issue #14930: Make memoryview objects weakrefable.Richard Oudkerk2012-05-281-1/+1
| |
* | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-261-0/+4
| |
* | PEP 415: Implement suppression of __context__ display with an exception ↵Benjamin Peterson2012-05-151-3/+3
| | | | | | | | | | | | attribute This replaces the original PEP 409 implementation. See #14133.
* | Issue #13959: Re-implement imp.NullImporter in Lib/imp.py.Brett Cannon2012-04-291-3/+0
| |