63 Commits (8c59816b70a30d8ec2ff4e60a8b4a747f8ff75db)

Author SHA1 Message Date
Benjamin Peterson deff2b76ec be more robust against the filters list changing under us (closes #24096) 11 years ago
Antoine Pitrou cb0a006fd1 Issue #4180: The warnings registries are now reset when the filters are modified. 11 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
Victor Stinner 65c153547b Issue #12467: warnings: fix a race condition if a warning is emitted at 15 years ago
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Victor Stinner cb428f0162 Issue #10779: PyErr_WarnExplicit() decodes the filename from the filesystem 15 years ago
Georg Brandl 08be72d0aa Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default, 15 years ago
Brett Cannon ef0e6c3b04 _warnings exposed two variables with the name 'default_action' and 16 years ago
Victor Stinner 4a2b7a1b14 Issue #9425: Create PyErr_WarnFormat() function 16 years ago
Victor Stinner 2e5f1178ac Issue #9425: fix setup_context() for non-ascii filenames 16 years ago
Benjamin Peterson 7ab4b8d3a2 Merged revisions 77402,77505,77510 via svnmerge from 16 years ago
Victor Stinner 25bb0fdb67 Merged revisions 82059,82061 via svnmerge from 16 years ago
Victor Stinner 0fe25a445d Issue #6543: Write the traceback in the terminal encoding instead of utf-8. 16 years ago
Victor Stinner 148051a054 Recorded merge of revisions 81364 via svnmerge from 16 years ago
Victor Stinner 7d79b8b771 Issue #8766: Initialize _warnings module before importing the first module. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Brett Cannon 1994969c15 When DeprecationWarning was silenced by default, it also silenced any use of -Q 16 years ago
Brett Cannon 0bc77474aa Remove C++/C99-style comments. 16 years ago
Brett Cannon 3ffa43db48 The silencing of DeprecationWarning was not taking -3 into consideration. Since 16 years ago