[issue13728] Description of -m and -c cli options wrong?

2012-01-13 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Ah indeed, I could have looked at sys.path doc myself after all.. sorry for the noise. -- resolution: - invalid stage: needs patch - committed/rejected status: open - closed ___ Python tracker

[issue13728] Description of -m and -c cli options wrong?

2012-01-07 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, looking at http://mail.python.org/pipermail/docs/2011-December/006672.html I tried to replicate what the user said, and *it seems* that -c and -m doesn't add the current directory to the start of sys.path: $ echo -e import sys\nprint

[issue13728] Description of -m and -c cli options wrong?

2012-01-07 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: see http://docs.python.org/library/sys.html#sys.path As initialized upon program startup, the first item of this list, path[0], is the directory containing the script that was used to invoke the Python interpreter. If the script