summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Remove traces of division_warning left over from Python 2 (#10998)Éric Araujo2011-03-261-1/+1
| | |
* | | #11565: Merge with 3.2.Ezio Melotti2011-03-161-1/+1
|\ \ \ | |/ /
| * | #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
| |\ \ | | |/
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| | |
| | * Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
| | * Merged revisions ↵Florent Xicluna2010-08-141-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines Syntax cleanup. ........ r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments. ........ r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608. ........ r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines Typo. ........ r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. ........ r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). ........ r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines Merged manually from 2.7 branch to 3.x trunk. ------------------------------------------------------------------------ r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010) Try to turn some buildbots green by allowing test_multiprocessing to pass even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system) ------------------------------------------------------------------------ ........ r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line List Misc/python-config.in in Misc/README. Fix few typos. ........ r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line Fix order. ........ r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line Convert to spaces. ........ r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line Remove bad merge (from svnmerge r82301) ........
| | * Merged revisions 83140-83141 via svnmerge fromAlexander Belopolsky2010-07-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines Issue #9315: Renamed test_trace to test_sys_settrace and test_profilehooks to test_sys_setprofile so that test_trace can be used for testing the trace module and for naming consistency. ........ r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line Corrected comments on where settrace and setprofile are tested. ........