]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Re-implement the 'warnings' module in C. This allows for usage of the
authorBrett Cannon <bcannon@gmail.com>
Sat, 12 Apr 2008 23:44:07 +0000 (23:44 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 12 Apr 2008 23:44:07 +0000 (23:44 +0000)
commite9746890388178bb1e4cdad3c0586bf1862c3727
tree77e228e19ac5673aac13dac8292281fc9a3010ab
parente6c03033afc58804cfdb143bef67e9cd37e25507
Re-implement the 'warnings' module in C. This allows for usage of the
'warnings' code in places where it was previously not possible (e.g., the
parser). It could also potentially lead to a speed-up in interpreter start-up
if the C version of the code (_warnings) is imported over the use of the
Python version in key places.

Closes issue #1631171.
18 files changed:
Doc/library/warnings.rst
Include/Python.h
Include/pyerrors.h
Include/sysmodule.h
Include/traceback.h
Include/warnings.h [new file with mode: 0644]
Lib/test/test_support.py
Lib/test/test_warnings.py
Lib/warnings.py
Makefile.pre.in
Misc/NEWS
Modules/config.c.in
PC/config.c
Python/_warnings.c [new file with mode: 0644]
Python/errors.c
Python/pythonrun.c
Python/sysmodule.c
Python/traceback.c