[New-bugs-announce] [issue5144] PySys_SetArgv has wrong documentation

jan matejek report at bugs.python.org
Tue Feb 3 17:56:58 CET 2009


New submission from jan matejek <jmatejek at suse.cz>:

documentation for PySys_SetArgv states that the function sets sys.argv,
but fails to mention that it also resolves script's path and prepends it
to sys.path. Or, in case no script was specified, it prepends empty
string (which in versions <2.6 allowed relative imports from cwd)

----------
assignee: georg.brandl
components: Documentation
messages: 81067
nosy: georg.brandl, matejcik
severity: normal
status: open
title: PySys_SetArgv has wrong documentation

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


More information about the New-bugs-announce mailing list