126 Commits (6d5ee973f0600a3a9444f569dcf0dd346bfa2a11)

Author SHA1 Message Date
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
Serhiy Storchaka 62be74290a
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 7 years ago
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
Benjamin Peterson e502451781
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) 7 years ago
Victor Stinner caba55b3b7
bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) 8 years ago
Zackery Spytz 3f45f5da8e bpo-33375: Fix GCC warning in Python/_warnings.c (GH-7556) 8 years ago
Thomas Kluyver 11a896652e bpo-33375: Get filename for warnings from frame.f_code.co_filename (GH-6622) 8 years ago
Victor Stinner b056562860
bpo-33509: Fix _warnings for module_globals=None (#6833) 8 years ago
Nathaniel J. Smith dba976b8a2 bpo-32591: fix abort in _PyErr_WarnUnawaitedCoroutine during shutdown (#5337) 8 years ago
Serhiy Storchaka f320be77ff bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 8 years ago
Yury Selivanov 3510334361
bpo-32591: Fix PyExc_WarnFormat call (follow-up commit) (#5263) 8 years ago
Nathaniel J. Smith fc2f407829 bpo-32591: Add native coroutine origin tracking (#5250) 8 years ago
Nick Coghlan 9b99747386
bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458) 8 years ago
Victor Stinner 5d8624647d
bpo-32030: Fix compiler warnings (#4921) 8 years ago
Victor Stinner 747f48e2e9
bpo-32230: Set sys.warnoptions with -X dev (#4820) 8 years ago
Victor Stinner c9758784eb
bpo-27535: Fix memory leak with warnings ignore (#4489) 8 years ago
Victor Stinner 21c7730761
bpo-32089: Use default action for ResourceWarning (#4584) 8 years ago
Victor Stinner b98f1715a3
bpo-27535: Cleanup create_filter() (#4516) 8 years ago
Victor Stinner 1f15111a6e
bpo-32030: Add _PyMainInterpreterConfig.pythonhome (#4513) 8 years ago
Victor Stinner 82656276ca
bpo-27535: Optimize warnings.warn() (#4508) 8 years ago
Victor Stinner 09f3a8a124
bpo-32089: Fix warnings filters in dev mode (#4482) 8 years ago
Victor Stinner 895862aa01 bpo-32088: Display Deprecation in debug mode (#4474) 8 years ago
Serhiy Storchaka d4f8480dfe
bpo-31572: Don't silence unexpected errors in the _warnings module. (#3731) 8 years ago
luzpaz a5293b4ff2 Fix miscellaneous typos (#4275) 8 years ago
Oren Milman 8b4ff53c44 bpo-31285: Remove splitlines identifier from Python/_warnings.c (#3803) 8 years ago
Oren Milman 5d3e80021a bpo-31566: Fix an assertion failure in _warnings.warn() in case of a bad __name__ global. (#3717) 8 years ago
Oren Milman 91fb0afe18 bpo-31285: Fix an assertion failure and a SystemError in warnings.warn_explicit. (#3219) 8 years ago
Eric Snow 3f9eee6eb4 bpo-28411: Support other mappings in PyInterpreterState.modules. (#3593) 8 years ago
Eric Snow 93c92f7d1d bpo-31404: Revert "remove modules from Py_InterpreterState (#1638)" (#3565) 8 years ago
Oren Milman 9d984fd2b0 bpo-31416: Fix assertion failures in case of a bad warnings.filters or warnings.defaultaction. (#3496) 8 years ago
Oren Milman 252033d50e bpo-31411: Prevent raising a SystemError in case warnings.onceregistry is not a dictionary. (#3485) 8 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 8 years ago
Eric Snow 05351c1bd8 Revert "bpo-30860: Consolidate stateful runtime globals." (#3379) 8 years ago
Eric Snow 76d5abc868 bpo-30860: Consolidate stateful runtime globals. (#2594) 8 years ago
Eric Snow 86b7afdfee bpo-28411: Remove "modules" field from Py_InterpreterState. (#1638) 8 years ago
Serhiy Storchaka ba85d69a3e bpo-29878: Add global instances of int for 0 and 1. (#852) 9 years ago
Victor Stinner 22f18750a5 Issue #20185: Convert _warnings.warn() to Argument Clinic 9 years ago
Victor Stinner 55ba38a480 Use _PyObject_CallMethodIdObjArgs() 9 years ago
Victor Stinner 7bfb42d5b7 Issue #28858: Remove _PyObject_CallArg1() macro 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Victor Stinner 4778eab1f2 Replace PyObject_CallFunction() with fastcall 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
Serhiy Storchaka f4934ea77d Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 9 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
Victor Stinner 023654fa68 get_warnings_attr(): Fix coverity warning 10 years ago
Victor Stinner e98445a4de _warnings.warn_explicit(): try to import warnings 10 years ago