[issue3343] Py_DisplaySourceLine is not documented

2008-07-11 Thread Amaury Forgeot d'Arc
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]>

[issue3343] Py_DisplaySourceLine is not documented

2008-07-11 Thread Brett Cannon
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]>

[issue3343] Py_DisplaySourceLine is not documented

2008-07-11 Thread Amaury Forgeot d'Arc
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 - retu