Title: PySys_SetArgv has wrong documentation
Type: Stage:
Components: Documentation Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, matejcik
Priority: normal Keywords:

Created on 2009-02-03 16:56 by matejcik, last changed 2009-02-05 10:37 by georg.brandl. This issue is now closed.

Messages (2)
msg81067 - (view) Author: jan matejek (matejcik) * Date: 2009-02-03 16:56
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)
msg81194 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-02-05 10:37
Thanks, added docs in r69289.
Date User Action Args
2009-02-05 10:37:19georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg81194
2009-02-03 16:56:56matejcikcreate