diff Include/Python.h @ 46414:840064802952 legacy-trunk

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.
author Brett Cannon <bcannon@gmail.com>
date Sat, 12 Apr 2008 23:44:07 +0000
parents 7fdff02e6f45
children 5bc7b20dc04a
line wrap: on
line diff
--- a/Include/Python.h	Sat Apr 12 22:24:04 2008 +0000
+++ b/Include/Python.h	Sat Apr 12 23:44:07 2008 +0000
@@ -110,6 +110,7 @@
 #include "iterobject.h"
 #include "genobject.h"
 #include "descrobject.h"
+#include "warnings.h"
 #include "weakrefobject.h"
 
 #include "codecs.h"