diff options
| author | Brett Cannon <bcannon@gmail.com> | 2008-06-27 00:31:13 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2008-06-27 00:31:13 (GMT) |
| commit | dea1b5653ffd2183c7a4d577a2ca08644dd51248 (patch) | |
| tree | dc441e1ddb4884a57e4fc305fa77f87b7a100578 /Python/getmtime.c | |
| parent | 80821f7cf4b2af64e444ad71ca13eb96fcbd6454 (diff) | |
| download | cpython-dea1b5653ffd2183c7a4d577a2ca08644dd51248.zip cpython-dea1b5653ffd2183c7a4d577a2ca08644dd51248.tar.gz cpython-dea1b5653ffd2183c7a4d577a2ca08644dd51248.tar.bz2 | |
warnings.warn_explicit() did not have the proper TypeErrors in place to prevent
bus errors or SystemError being raised. As a side effect of fixing this, a bad
DECREF that could be triggered when 'message' and 'category' were both None was
fixed.
Closes issue 3211. Thanks JP Calderone for the bug report.
Diffstat (limited to 'Python/getmtime.c')
0 files changed, 0 insertions, 0 deletions
