New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]:
This new function is not documented at all.
And I find the error handling not consistent: when filename is NULL, -1
is returned, but no exception is set.
IMO the return code should be as follow:
- return 1 if a line was printed
-
Brett Cannon [EMAIL PROTECTED] added the comment:
The function should be made private as it is not expected to be called
by anyone else but the core.
--
assignee: - brett.cannon
nosy: +brett.cannon
___
Python tracker [EMAIL PROTECTED]
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
r64881: Py_DisplaySourceLine is renamed to _Py_DisplaySourceLine
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3343