124 Commits (a15e260b708a98edaba86a2aa663c3f6b2abc964)

Author SHA1 Message Date
Victor Stinner ff4584caca
bpo-39947: Use _PyInterpreterState_GET_UNSAFE() (GH-18978) 6 years ago
Andy Lester 7386a70746
closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510) 6 years ago
Petr Viktorin ffd9753a94
bpo-39245: Switch to public API for Vectorcall (GH-18460) 6 years ago
Victor Stinner a102ed7d2f
bpo-39573: Use Py_TYPE() macro in Python and Include directories (GH-18391) 6 years ago
Victor Stinner d3a1de2270
bpo-38631: Avoid Py_FatalError() in _PyCodecRegistry_Init() (GH-18217) 6 years ago
Jordon Xu 20f59fe1f7 bpo-37751: Fix codecs.lookup() normalization (GH-15092) 6 years ago
Jeroen Demeyer 1dbd084f1f bpo-29548: no longer use PyEval_Call* functions (GH-14683) 7 years ago
Jeroen Demeyer 6e43d07324 bpo-37483: fix reference leak in _PyCodec_Lookup (GH-14600) 7 years ago
Jeroen Demeyer 196a530e00 bpo-37483: add _PyObject_CallOneArg() function (#14558) 7 years ago
Serhiy Storchaka a24107b04c
bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112) 7 years ago
Serhiy Storchaka 8905fcc85a
bpo-35454: Fix miscellaneous minor issues in error handling. (#11077) 7 years ago
Victor Stinner 621cebe81b
bpo-35081: Rename internal headers (GH-10275) 7 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 7 years ago
Victor Stinner caba55b3b7
bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) 8 years ago
INADA Naoki 0c1c4563a6
bpo-33231: Fix potential leak in normalizestring() (GH-6386) 8 years ago
Serhiy Storchaka f320be77ff bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 8 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 8 years ago
Victor Stinner 7bfb42d5b7 Issue #28858: Remove _PyObject_CallArg1() macro 9 years ago
Victor Stinner 4778eab1f2 Replace PyObject_CallFunction() with fastcall 9 years ago
Serhiy Storchaka 85b0f5beb1 Added the const qualifier to char* variables that refer to readonly internal 9 years ago
Serhiy Storchaka cb33a01bbc Issue #28510: Clean up decoding error handlers. 9 years ago
Martin Panter 6245cb3c01 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 10 years ago
Victor Stinner 38b8ae0f5b Issue #24993: Handle import error in namereplace error handler 10 years ago
Serhiy Storchaka fa494fd883 Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 11 years ago
Serhiy Storchaka ca7fecb038 Issue #24102: Fixed exception type checking in standard error handlers. 11 years ago
Serhiy Storchaka 26861b0b29 Issue #23450: Fixed possible integer overflows. 11 years ago
Serhiy Storchaka 07985ef387 Issue #22286: The "backslashreplace" error handlers now works with 11 years ago
Benjamin Peterson 3663b58664 correct assertion 11 years ago
Benjamin Peterson 810aa6db34 fix variable name 11 years ago
Serhiy Storchaka aacfcccdc3 Issue #19676: Fixed integer overflow issue in "namereplace" error handler. 11 years ago
Serhiy Storchaka 166ebc4e5d Issue #19676: Added the "namereplace" error handler. 11 years ago
Serhiy Storchaka 4b1681832b Issue #22518: Fixed integer overflow issues in "backslashreplace", 11 years ago
Serhiy Storchaka 2e374098ff Issue #22518: Fixed integer overflow issues in "backslashreplace", 11 years ago
Serhiy Storchaka 8aa8c47db2 Fixed reference leak in the "backslashreplace" error handler. 11 years ago
Nick Coghlan 8fad1676a2 Issue #22166: clear codec caches in test_codecs 11 years ago
Victor Stinner 0d4e01ca07 Issue #13916: Fix surrogatepass error handler on Windows 12 years ago
Serhiy Storchaka 88d8fb6af6 Issue #13916: Disallowed the surrogatepass error handler for non UTF-* 12 years ago
Georg Brandl 2fc8f773e1 Issue #20404: reject non-text encodings early in TextIOWrapper. 12 years ago
Serhiy Storchaka 94ee389308 Issue #19619: Blacklist non-text codecs in method API 12 years ago
Nick Coghlan a9b15241c6 Close #20404: blacklist non-text encodings in io.TextIOWrapper 12 years ago
Nick Coghlan c72e4e6dcc Issue #19619: Blacklist non-text codecs in method API 12 years ago
Serhiy Storchaka 58cf607d13 Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. 12 years ago
Nick Coghlan c4c2580d43 Close 19609: narrow scope of codec exc chaining 12 years ago
Nick Coghlan 8b097b4ed7 Close #17828: better handling of codec errors 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Victor Stinner cc35159ed8 Issue #18408: normalizestring() now raises MemoryError on memory allocation failure 13 years ago
Andrew Svetlov 3ba3a3ee56 Issue #15422: get rid of PyCFunction_New macro 13 years ago
Ezio Melotti 540da76115 #16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka. 13 years ago
Victor Stinner 76df43de30 Issue #16330: Use surrogate-related macros 13 years ago