[Python-checkins] r62303 - in python/trunk: Doc/library/warnings.rst Include/Python.h Include/pyerrors.h Include/sysmodule.h Include/traceback.h Include/warnings.h Lib/test/test_support.py Lib/test/test_warnings.py Lib/warnings.py Makefile.pre.in
Guido van Rossum
guido at python.org
Mon Apr 14 21:10:34 CEST 2008
On Sat, Apr 12, 2008 at 4:44 PM, brett.cannon
<python-checkins at python.org> wrote:
> Author: brett.cannon
> Date: Sun Apr 13 01:44:07 2008
> New Revision: 62303
>
> Log:
> 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.
This was originally Neal's code, right? I think this is really cool.
It's also ironic that we're moving warnings.py to C, and we're also
considering moving import.c to Python...
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-checkins
mailing list