30 Commits (ff337ccd4bf9b6edea5aa25ea72f7d4c02a3bf47)

Author SHA1 Message Date
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
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
Brett Cannon 6fdd3dcb6a DeprecationWarning is now silent by default. 16 years ago
Hirokazu Yamamoto fcaa2104aa Merged revisions 74040,74042 via svnmerge from 17 years ago
Hirokazu Yamamoto e78e5d2e51 Issue #6415: Fixed warnings.warn sagfault on bad formatted string. 17 years ago
Jeffrey Yasskin f7f858d141 Issue 5954, PyFrame_GetLineNumber: 17 years ago
Brett Cannon 15ba4dae5a _warnings was importing itself to get an attribute. That's bad if warnings gets 17 years ago
Brett Cannon 6c4cff0f32 Require implementations for warnings.showwarning() support the 'line' argument. 17 years ago
Christian Heimes 4d8a6f4834 Merged revisions 66748 via svnmerge from 18 years ago
Christian Heimes 32a66a0410 Fixed a couple more C99 comments and one occurence of inline. 18 years ago
Brett Cannon 1eaf0742d8 Move test.test_support.catch_warning() to the warnings module, rename it 18 years ago
Amaury Forgeot d'Arc 2252d11c08 #3342: In tracebacks, printed source lines were not indented since r62555. 18 years ago
Brett Cannon dea1b5653f warnings.warn_explicit() did not have the proper TypeErrors in place to prevent 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Benjamin Peterson dacde0d6ae turn PyErr_WarnPy3k into a macro 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Georg Brandl 9c5b51541c Fix a refleak in the _warnings module. 18 years ago
Benjamin Peterson d295032910 Fix logic error in Python/_warnings.c and add a test to verify 18 years ago
Brett Cannon e3dcb01bfc Fix a bug in the handling of the stacklevel argument in warnings.warn() where 18 years ago
Brett Cannon 8a232cc385 Add a DeprecationWarning for when warnings.showwarning() is set to a function 18 years ago
Brett Cannon 64a4bbeb25 Fix the C implementation of 'warnings' to infer the filename of the module that 18 years ago
Brett Cannon ab9cc1b7ad Fix some indentation errors. 18 years ago
Brett Cannon b457ddaff2 Fix a backwards-compatibility mistake where a new optional argument for 18 years ago
Benjamin Peterson a692c4df63 Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon. 18 years ago
Amaury Forgeot d'Arc f9e7ebe165 Correct a refleak found by "regrtest.py -R:: test_structmembers" 18 years ago
Christian Heimes 6715352848 Use PyString_InternFromString instead of PyString_FromString for static vars 18 years ago
Brett Cannon e974689038 Re-implement the 'warnings' module in C. This allows for usage of the 18 years ago