summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | fix test now that staticmethod and classmethod are biggerBenjamin Peterson2012-02-201-2/+2
| | |
* | | Merge branch 3.2Petri Lehtinen2012-02-021-0/+3
|\ \ \ | |/ / | | | | | | Closes #13402.
| * | Document absoluteness of sys.executablePetri Lehtinen2012-02-021-0/+3
| | | | | | | | | | | | Closes #13402.
* | | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-1/+1
| | |
* | | Issue #13577: various kinds of descriptors now have a __qualname__ attribute.Antoine Pitrou2011-12-121-4/+4
| | | | | | | | | | | | Patch by sbt.
* | | PEP 3155 / issue #13448: Qualified name for classes and functions.Antoine Pitrou2011-11-251-2/+2
| | |
* | | Issue #13411: memoryview objects are now hashable when the underlying object ↵Antoine Pitrou2011-11-211-2/+2
| | | | | | | | | | | | is hashable.
* | | #13054: sys.maxunicode is now always 0x10FFFF.Ezio Melotti2011-09-281-0/+1
| | |
* | | Use compile() instead of eval().Martin v. Löwis2011-09-281-6/+4
| | |
* | | Use eval instead of codecs.lookup to trigger UTF-8 generation.Martin v. Löwis2011-09-281-6/+4
| | |
* | | Implement PEP 393.Martin v. Löwis2011-09-281-6/+32
| | |
* | | map cells to arg slots at code creation time (closes #12399)Benjamin Peterson2011-06-261-1/+1
| | | | | | | | | | | | This removes nested loops in PyEval_EvalCodeEx.
* | | Close #12028: Make threading._get_ident() public, rename it toVictor Stinner2011-05-301-3/+3
| | | | | | | | | | | | | | | threading.get_ident() and document it. This function was used by _thread.get_ident().
* | | Fix test.Ezio Melotti2011-04-301-1/+1
| | |
* | | Issue #11223: Replace threading._info() by sys.thread_infoVictor Stinner2011-04-301-0/+8
| | |