summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19527: Fixed tests with defined COUNT_ALLOCS.Serhiy Storchaka2016-07-031-2/+6
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Issue #25339: PYTHONIOENCODING now has priority over locale in setting theSerhiy Storchaka2016-04-101-4/+23
| | | | error handler for stdin and stdout.
* Fixed sizeof tests for dict and type (they were passed by accident).Serhiy Storchaka2015-12-201-11/+22
| | | | Added tests for dict views iterators.
* Don't create non-needed file.Serhiy Storchaka2015-12-201-5/+0
|
* Use correct PyGC_Head size in tests for issue #25421.Serhiy Storchaka2015-12-191-1/+1
|
* Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-0/+30
| | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* sys.setrecursionlimit() now raises RecursionErrorVictor Stinner2015-10-121-7/+45
| | | | | | | Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new recursion limit is too low depending at the current recursion depth. Modify also the "lower-water mark" formula to make it monotonic. This mark is used to decide when the overflowed flag of the thread state is reset.
* (Merge 3.4) Issue #25274: test_recursionlimit_recovery() of test_sys now checksVictor Stinner2015-10-011-2/+3
|\ | | | | | | | | | | sys.gettrace() when the test is executed, not when the module is loaded. sys.settrace() may be after after the test is loaded.
| * Issue #25274: test_recursionlimit_recovery() of test_sys now checksVictor Stinner2015-10-011-2/+3
| | | | | | | | | | | | sys.gettrace() when the test is executed, not when the module is loaded. sys.settrace() may be after after the test is loaded.
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-3/+3
| |
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-2/+2
| |
* | Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-2/+2
| | | | | | | | Patch by Christie Wilson.
* | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵Antoine Pitrou2015-03-101-2/+3
|\ \ | |/ | | | | objects.
| * Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵Antoine Pitrou2015-03-101-2/+3
| | | | | | | | objects.
* | merge 3.4Benjamin Peterson2015-02-021-1/+1
|\ \ | |/
| * adjust for py3k module renamingBenjamin Peterson2015-02-021-1/+1
| |
* | merge 3.4Benjamin Peterson2015-02-021-0/+1
|\ \ | |/
| * _clear_type_cache is cpython-onlyBenjamin Peterson2015-02-021-0/+1
| |
* | Closes #22668: Merge from 3.4.Stefan Krah2015-01-291-1/+1
|\ \ | |/
* | Issue #23119: Simplify setobject by inlining the special case for unicode ↵Raymond Hettinger2015-01-261-1/+1
| | | | | | | | equality testing.
* | Issue 23261: Clean-up the hack to store the set.pop() search finger in a ↵Raymond Hettinger2015-01-181-1/+1
| | | | | | | | hash field instead of the setobject.
* | Issue #22696: Add function :func:`sys.is_finalizing` to know about ↵Antoine Pitrou2014-12-071-0/+21
| | | | | | | | interpreter shutdown.
* | Issue #22193: Fixed integer overflow error in sys.getsizeof().Serhiy Storchaka2014-11-151-0/+31
|\ \ | |/ | | | | Fixed an error in _PySys_GetSizeOf declaration.
| * Issue #22193: Fixed integer overflow error in sys.getsizeof().Serhiy Storchaka2014-11-151-0/+31
| | | | | | | | Fixed an error in _PySys_GetSizeOf declaration.
* | (Merge 3.4) Closes #22205: sys._debugmallocstats is a cpython specific feature,Victor Stinner2014-08-161-0/+1
|\ \ | |/ | | | | | | so test_debugmallocstats should be marked as such. Patch written by Martin Matusiak.
| * Closes #22205: sys._debugmallocstats is a cpython specific feature, soVictor Stinner2014-08-161-0/+1
| | | | | | | | | | test_debugmallocstats should be marked as such. Patch written by Martin Matusiak.
* | Issue #22116: C functions and methods (of the 'builtin_function_or_method' ↵Antoine Pitrou2014-08-061-1/+1
| | | | | | | | type) can now be weakref'ed. Patch by Wei Wu.
* | Issue #21205: Fix unit testsVictor Stinner2014-06-161-1/+1
| |
* | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-0/+20
|\ \ | |/ | | | | raises a TypeError.
| * Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-0/+20
| | | | | | | | raises a TypeError.
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-1/+1
| |
* | Issue #19977: Enable test_c_locale_surrogateescape() on WindowsVictor Stinner2014-03-181-26/+29
| | | | | | | | | | Only test the error handler. The encoding is not ASCII on Windows: it may the OEM or ANSI code page.
* | Issue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),Victor Stinner2014-03-181-0/+44
|/ | | | | :py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the ``surrogateescape`` error handler, instead of the ``strict`` error handler.
* 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
| |