STINNER Victor <victor.stin...@haypocalc.com> added the comment:

PyRun_InteractiveLoop() doesn't specify the possible return value. It's maybe 
because it's always zero and that the error are not handled :-)
http://docs.python.org/c-api/veryhigh.html#PyRun_InteractiveLoop

PyRun_InteractiveOneFlags() documentation is also wrong: the result can only 
be: 0 (succes), -1 (exception raised) or E_EOF (=11, end of file).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8070>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to