110 Commits (31e99080f6f8cf7faaba9fe3a4e0996e49163317)

Author SHA1 Message Date
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
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 10 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. 11 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