103 Commits (337cbbace0a43f50fcd33ea4d3b7cb30733237db)

Author SHA1 Message Date
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) 9 years ago
Eric Snow 05351c1bd8 Revert "bpo-30860: Consolidate stateful runtime globals." (#3379) 9 years ago
Eric Snow 76d5abc868 bpo-30860: Consolidate stateful runtime globals. (#2594) 9 years ago
Eric Snow 86b7afdfee bpo-28411: Remove "modules" field from Py_InterpreterState. (#1638) 9 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
Victor Stinner e19558af1b Add a source parameter to warnings.warn() 10 years ago
Victor Stinner 914cde89d4 On ResourceWarning, log traceback where the object was allocated 10 years ago
Victor Stinner 1231a4615f Add _showwarnmsg() and _formatwarnmsg() to warnings 10 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 10 years ago
Serhiy Storchaka 5a57ade58e Issue #20440: Massive replacing unsafe attribute setting code with special 10 years ago
Larry Hastings 714e49371b Issue #24305: Prevent import subsystem stack frames from being counted 11 years ago
Benjamin Peterson deff2b76ec be more robust against the filters list changing under us (closes #24096) 11 years ago
Brett Cannon f299abdafa Issue #23731: Implement PEP 488. 11 years ago
Antoine Pitrou cb0a006fd1 Issue #4180: The warnings registries are now reset when the filters are modified. 12 years ago
Berker Peksag d8089e0d04 Issue #16382: Improve exception message of warnings.warn() for bad category. 12 years ago
Victor Stinner bd303c165b Issue #19512, #19515: remove shared identifiers, move identifiers where they 12 years ago
Victor Stinner 090543736f Issue #19512: add some common identifiers to only create common strings once, 12 years ago
Victor Stinner dcdd05b0b4 Close #19442: warn_explicit() does nothing when called late during Python shutdown 12 years ago
Victor Stinner ae233eab5c Issue #19437: Fix show_warning() of _warnings, stop at the first error to not 12 years ago
Victor Stinner 3cd04aa1b2 Issue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass() 12 years ago
Victor Stinner 856f45f09c Issue #19442: Fix warnings emitted during Python shutdown 12 years ago
Victor Stinner a4c704b260 Issue #19424: Fix the warnings module to accept filename containing surrogate 12 years ago
Victor Stinner ce5f4fba11 Issue #19421: fix a check in warnings.warn() to be able to use it during Python 12 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Victor Stinner 78e2c985ac Issue #18408: Fix show_warning(), clear also the exception raised by 13 years ago
Antoine Pitrou 070cb3c9be Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable. 13 years ago
Antoine Pitrou aa5c5c60f1 Finally fix all test_capi refleaks 14 years ago
Benjamin Peterson 21e0da228d remove some usage of Py_UNICODE_TOUPPER/LOWER 14 years ago