[issue1531415] parsetok.c emits warnings by writing to stderr

Michele Orrù report at bugs.python.org
Mon Mar 5 10:56:43 CET 2012


Michele Orrù <maker.py at gmail.com> added the comment:

For what I saw these days, Parser/tokenizer.c should import warnings.h (in order to use PyErr_WarnEx()), but Python/_warnings.c imports Python.h, that requires pgen ready. This leads to a circular dependency.

Am I wrong / missing something?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1531415>
_______________________________________


More information about the Python-bugs-list mailing list