Issue 5144: PySys_SetArgv has wrong documentation

Issue5144

Created on 2009-02-03 16:56 by matejcik, last changed 2022-04-11 14:56 by admin. 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.
History
Date User Action Args
2022-04-11 14:56:45adminsetgithub: 49394
2009-02-05 10:37:19georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg81194
2009-02-03 16:56:56matejcikcreate