220 Commits (8f59ee01be3d83d5513a9a3f654a237d77d80d9a)

Author SHA1 Message Date
Victor Stinner 621cebe81b
bpo-35081: Rename internal headers (GH-10275) 7 years ago
Victor Stinner 50b48572d9
bpo-35081: Add _PyThreadState_GET() internal macro (GH-10266) 7 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 7 years ago
Alexey Izbyshev a2eefa6754 bpo-34503: Fix refleak in PyErr_SetObject() (GH-8934) 7 years ago
Serhiy Storchaka ceeef10cdb
bpo-33818: PyExceptionClass_Name() will now return "const char *". (GH-7581) 8 years ago
Serhiy Storchaka cf296537f1
bpo-28994: PyErr_NormalizeException() no longer use C stack for recursion. (#2035) 8 years ago
xdegaye 56d1f5ca32 bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327) 8 years ago
Mark Shannon ae3087c638 Move exc state to generator. Fixes bpo-25612 (#1773) 8 years ago
Oren Milman f6e61df015 bpo-31418: Fix an assertion failure in PyErr_WriteUnraisable() in case of an exception with a bad __module__ attribute. (#3539) 8 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 8 years ago
scoder e4c06bcca3 bpo-31091: Remove dead code in PyErr_GivenExceptionMatches(). (#2963) 9 years ago
Serhiy Storchaka 8b58339eb2 Issue #28512: Fixed setting the offset attribute of SyntaxError by 9 years ago
Martin Panter ca3263c50c Issue #25677: Correct syntax error caret for indented blocks. 9 years ago
Victor Stinner 7bfb42d5b7 Issue #28858: Remove _PyObject_CallArg1() macro 9 years ago
Serhiy Storchaka 460bd0d284 Issue #19569: Compiler warnings are now emitted if use most of deprecated 9 years ago
Serhiy Storchaka f5894dd646 Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. 9 years ago
Victor Stinner c6944e7edc Issue #28618: Make hot functions using __attribute__((hot)) 9 years ago
Victor Stinner 0cae609847 Use PyThreadState_GET() in performance critical code 9 years ago
Serhiy Storchaka 467ab194fc Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising 9 years ago
Serhiy Storchaka 9e373be1bc Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions(). 9 years ago
Eric Snow 46f97b85a8 Issue #15767: Use ModuleNotFoundError. 9 years ago
Victor Stinner f45a56150b Issue #27809: PyErr_SetImportError() uses fast call 9 years ago
Victor Stinner 3a84097291 Add _PyErr_CreateException() 9 years ago
Berker Peksag ec766d3c15 Issue #23960: Cleanup args and kwargs on error in PyErr_SetImportError 10 years ago
Serhiy Storchaka 57a01d3a0e Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF 10 years ago
Serhiy Storchaka 48842714b9 Issue #22570: Renamed Py_SETREF to Py_XSETREF. 10 years ago
Martin Panter 3263f6874a Issue #22836: Keep exception reports sensible despite errors 10 years ago
Victor Stinner bfd316e750 Add _PyThreadState_UncheckedGet() 10 years ago
Serhiy Storchaka 191321d11b Issue #20440: More use of Py_SETREF. 10 years ago
Yury Selivanov f488fb422a Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 11 years ago
Serhiy Storchaka f41f8f9974 Issue #22977: Fixed formatting Windows error messages on Wine. 11 years ago
Victor Stinner de821befd4 Issue #23571: PyErr_FormatV() and PyErr_SetObject() now always clear the 11 years ago
Victor Stinner e42ccd2bfd Issue #23694: Enhance _Py_fopen(), it now raises an exception on error 11 years ago
Serhiy Storchaka e2bd2a7186 Issue #21715: Extracted shared complicated code in the _io module to new 11 years ago
Antoine Pitrou 0676a406bf Issue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument. 11 years ago
Larry Hastings 8f9f0f12e8 Issue #20517: Removed unnecessary new (short-lived) functions from PyErr. 12 years ago
Larry Hastings b082731fbb Issue #20517: Functions in the os module that accept two filenames 12 years ago
Victor Stinner bd303c165b Issue #19512, #19515: remove shared identifiers, move identifiers where they 12 years ago
Victor Stinner ad14ccd047 Issue #19512: add _PyUnicode_CompareWithId() function 12 years ago
Victor Stinner 090543736f Issue #19512: add some common identifiers to only create common strings once, 12 years ago
Antoine Pitrou 409b53840b Don't export internal symbols ("make smelly") 12 years ago
Raymond Hettinger 69492dab07 Factor-out the common code for setting a KeyError. 12 years ago
Victor Stinner daf455554b Issue #18571: Implementation of the PEP 446: file descriptors and file handles 13 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Victor Stinner c82bfd871f Issue #18664, #18408: Rewrite PyErr_WriteUnraisable() to handle errors 13 years ago
Victor Stinner f54a574478 Issue #18520: PyErr_NoMemory() now fails with a fatal error if it is called 13 years ago
Victor Stinner ace47d7efd Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now fail 13 years ago
Victor Stinner 479054bca7 Issue #18408: Fix PyErr_SetImportError(), handle PyDict_SetItemString() failure 13 years ago
Victor Stinner 74a7fa6663 Issue #18408: Fix PyErr_NormalizeException(), handle PyObject_IsSubclass() failure 13 years ago
Victor Stinner fb3a630001 Issue #18408: errors.c: in debug mode, calling PyErr_BadInternalCall() now 13 years ago