Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-28180: Implementation for PEP 538 (#659) | Nick Coghlan | 2017-06-11 | 1 | -0/+1 | |
| | | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time | |||||
* | bpo-12414: Update code_sizeof() to take in account co_extra memory. (#1168) | Dong-hee Na | 2017-04-20 | 1 | -3/+5 | |
| | ||||||
* | bpo-29919: Remove unused imports found by pyflakes (#137) | Victor Stinner | 2017-03-27 | 1 | -1/+0 | |
| | | | Make also minor PEP8 coding style fixes on modified imports. | |||||
* | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | 2017-03-23 | 1 | -0/+3 | |
| | | | | | | | | | | | * bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident(). | |||||
* | Issue #18896: Python function can now have more than 255 parameters. | Serhiy Storchaka | 2016-12-16 | 1 | -1/+1 | |
| | | | | collections.namedtuple() now supports tuples with more than 255 elements. | |||||
* | Add sys.getandroidapilevel() | Victor Stinner | 2016-12-02 | 1 | -0/+7 | |
| | | | | | | | Issue #28740: Add sys.getandroidapilevel(): return the build time API version of Android as an integer. Function only available on Android. | |||||
* | Try to fix sizeof unit tests on dict | Victor Stinner | 2016-09-10 | 1 | -3/+3 | |
| | | | | Issue #28056 and issue #26058. | |||||
* | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 1 | -0/+26 | |
| | ||||||
* | Issue #24254: Drop cls.__definition_order__. | Eric Snow | 2016-09-08 | 1 | -1/+1 | |
| | ||||||
* | Add a new private version to the builtin dict type | Victor Stinner | 2016-09-08 | 1 | -3/+3 | |
| | | | | | | | Issue #26058: Add a new private version to the builtin dict type, incremented at each dictionary creation and at each dictionary change. Implementation of the PEP 509. | |||||
* | Fixes tests broken by issue #27781. | Steve Dower | 2016-09-08 | 1 | -2/+3 | |
| | ||||||
* | Implement compact dict | Victor Stinner | 2016-09-08 | 1 | -5/+5 | |
| | | | | | | | | | | | | Issue #27350: `dict` implementation is changed like PyPy. It is more compact and preserves insertion order. _PyDict_Dummy() function has been removed. Disable test_gdb: python-gdb.py is not updated yet to the new structure of compact dictionaries (issue #28023). Patch written by INADA Naoki. | |||||
* | fix expected layout of code objects | Benjamin Peterson | 2016-09-07 | 1 | -3/+3 | |
| | ||||||
* | Issue #24254: Preserve class attribute definition order. | Eric Snow | 2016-09-05 | 1 | -1/+1 | |
| | ||||||
* | Issue #19527: Fixed tests with defined COUNT_ALLOCS. | Serhiy Storchaka | 2016-07-03 | 1 | -2/+6 | |
| | ||||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 | |
| | ||||||
* | Issue #25339: PYTHONIOENCODING now has priority over locale in setting the | Serhiy Storchaka | 2016-04-10 | 1 | -4/+23 | |
| | | | | error handler for stdin and stdout. | |||||
* | Fixed sizeof tests for dict and type (they were passed by accident). | Serhiy Storchaka | 2015-12-20 | 1 | -11/+22 | |
| | | | | Added tests for dict views iterators. | |||||
* | Don't create non-needed file. | Serhiy Storchaka | 2015-12-20 | 1 | -5/+0 | |
| | ||||||
* | Use correct PyGC_Head size in tests for issue #25421. | Serhiy Storchaka | 2015-12-19 | 1 | -1/+1 | |
| | ||||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -0/+30 | |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | |||||
* | sys.setrecursionlimit() now raises RecursionError | Victor Stinner | 2015-10-12 | 1 | -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 checks | Victor Stinner | 2015-10-01 | 1 | -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 checks | Victor Stinner | 2015-10-01 | 1 | -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 Selivanov | 2015-07-03 | 1 | -3/+3 | |
| | | ||||||
* | | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -2/+2 | |
| | | ||||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -2/+2 | |
| | | | | | | | | Patch by Christie Wilson. | |||||
* | | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵ | Antoine Pitrou | 2015-03-10 | 1 | -2/+3 | |
|\ \ | |/ | | | | | objects. | |||||
| * | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵ | Antoine Pitrou | 2015-03-10 | 1 | -2/+3 | |
| | | | | | | | | objects. | |||||
* | | merge 3.4 | Benjamin Peterson | 2015-02-02 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | adjust for py3k module renaming | Benjamin Peterson | 2015-02-02 | 1 | -1/+1 | |
| | | ||||||
* | | merge 3.4 | Benjamin Peterson | 2015-02-02 | 1 | -0/+1 | |
|\ \ | |/ | ||||||
| * | _clear_type_cache is cpython-only | Benjamin Peterson | 2015-02-02 | 1 | -0/+1 | |
| | | ||||||
* | | Closes #22668: Merge from 3.4. | Stefan Krah | 2015-01-29 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
* | | Issue #23119: Simplify setobject by inlining the special case for unicode ↵ | Raymond Hettinger | 2015-01-26 | 1 | -1/+1 | |
| | | | | | | | | equality testing. | |||||
* | | Issue 23261: Clean-up the hack to store the set.pop() search finger in a ↵ | Raymond Hettinger | 2015-01-18 | 1 | -1/+1 | |
| | | | | | | | | hash field instead of the setobject. | |||||
* | | Issue #22696: Add function :func:`sys.is_finalizing` to know about ↵ | Antoine Pitrou | 2014-12-07 | 1 | -0/+21 | |
| | | | | | | | | interpreter shutdown. | |||||
* | | Issue #22193: Fixed integer overflow error in sys.getsizeof(). | Serhiy Storchaka | 2014-11-15 | 1 | -0/+31 | |
|\ \ | |/ | | | | | Fixed an error in _PySys_GetSizeOf declaration. | |||||
| * | Issue #22193: Fixed integer overflow error in sys.getsizeof(). | Serhiy Storchaka | 2014-11-15 | 1 | -0/+31 | |
| | | | | | | | | Fixed an error in _PySys_GetSizeOf declaration. | |||||
* | | (Merge 3.4) Closes #22205: sys._debugmallocstats is a cpython specific feature, | Victor Stinner | 2014-08-16 | 1 | -0/+1 | |
|\ \ | |/ | | | | | | | so test_debugmallocstats should be marked as such. Patch written by Martin Matusiak. | |||||
| * | Closes #22205: sys._debugmallocstats is a cpython specific feature, so | Victor Stinner | 2014-08-16 | 1 | -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 Pitrou | 2014-08-06 | 1 | -1/+1 | |
| | | | | | | | | type) can now be weakref'ed. Patch by Wei Wu. | |||||
* | | Issue #21205: Fix unit tests | Victor Stinner | 2014-06-16 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵ | Antoine Pitrou | 2014-04-28 | 1 | -0/+20 | |
|\ \ | |/ | | | | | raises a TypeError. | |||||
| * | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵ | Antoine Pitrou | 2014-04-28 | 1 | -0/+20 | |
| | | | | | | | | raises a TypeError. | |||||
* | | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) | Benjamin Peterson | 2014-04-10 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #19977: Enable test_c_locale_surrogateescape() on Windows | Victor Stinner | 2014-03-18 | 1 | -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 Stinner | 2014-03-18 | 1 | -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.3 | Zachary Ware | 2014-02-19 | 1 | -0/+4 | |
|\ | ||||||
| * | Issue #20510: Confirm that the code attribute of the SystemExit | Zachary Ware | 2014-02-19 | 1 | -0/+4 | |
| | | | | | | | | | | | | exception raised by sys.exit is None when no code is given. As suggested by Serhiy Storchaka. |