summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Account for shared keys in type's __sizeof__ (#13903).Martin v. Loewis2012-04-241-3/+9
| |
* | Implement PEP 412: Key-sharing dictionaries (closes #13903)Benjamin Peterson2012-04-231-3/+3
| | | | | | | | Patch from Mark Shannon.
* | perform yield from delegation by repeating YIELD_FROM opcode (closes #14230)Benjamin Peterson2012-03-151-1/+1
| | | | | | | | | | | | | | This allows generators that are using yield from to be seen by debuggers. It also kills the f_yieldfrom field on frame objects. Patch mostly from Mark Shannon with a few tweaks by me.
* | adjust for change in AST typeBenjamin Peterson2012-03-121-1/+1
| |
* | - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory.
* | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-201-1/+1
|\ \ | |/
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.