87 Commits (df8280838f52d6ec45ba03ef734b0dec8a9c43fb)

Author SHA1 Message Date
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
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
Florent Xicluna 5126df602c Remove obsolete py3k comment. 14 years ago
Victor Stinner 9e30aa52fd Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() 14 years ago
Martin v. Löwis d10759f6ed Make _PyUnicode_FromId return borrowed references. 14 years ago
Martin v. Löwis 1c67dd9b15 Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 14 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 14 years ago
Victor Stinner b62a7b268a Fix _warnings.c: make the filename string ready 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Brett Cannon 52a7d98273 Make warnings accept a callable for showwarnings instead of 15 years ago
Benjamin Peterson bb4a747b69 start out this branch always with filename NULL 15 years ago
Benjamin Peterson a55007a620 plug refleak 15 years ago
Victor Stinner b1b25f0ffd Issue #12467: warnings: fix a race condition if a warning is emitted at 15 years ago
Victor Stinner 8b0508ed4e Issue #12467: warnings: fix a race condition if a warning is emitted at 15 years ago
Benjamin Peterson 4833c98f85 start out this branch always with filename NULL 15 years ago
Benjamin Peterson 9b6c60530b plug refleak 15 years ago