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

Brett Cannon report at bugs.python.org
Mon Feb 27 16:58:12 CET 2012


Brett Cannon <brett at python.org> added the comment:

Not quite, Michele. So this bug is about taking the stuff that is printed to stdout/stderr explicitly in parsetok.c and instead using the warnings functions, e.g. PyErr_Warn(), since _warnings is a built-in module (now) and thus is available to the tokenizer to use.

----------

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


More information about the Python-bugs-list mailing list