mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
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 commit is contained in:
parent
e6c03033af
commit
e974689038
18 changed files with 1473 additions and 393 deletions
|
@ -110,6 +110,7 @@
|
|||
#include "iterobject.h"
|
||||
#include "genobject.h"
|
||||
#include "descrobject.h"
|
||||
#include "warnings.h"
|
||||
#include "weakrefobject.h"
|
||||
|
||||
#include "codecs.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue