This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | flox |
|---|---|
| Recipients | ezio.melotti, flox, jnoller, pitrou, ronaldoussoren, schmir, tarek, vstinner |
| Date | 2010年01月25日.13:06:02 |
| SpamBayes Score | 0.017463664 |
| Marked as misclassified | No |
| Message-id | <1264424764.68.0.913730662553.issue7774@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It may help to find other methods: http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe By the way, it should not "absolutize" the path when sys.executable is irrelevant. IMHO, it should render an empty thing in such case (code below). --- Modules/getpath.c (revision 77750) +++ Modules/getpath.c (working copy) @@ -441,7 +441,7 @@ } else progpath[0] = '0円'; - if (progpath[0] != SEP) + if (progpath[0] != SEP && progpath[0] != '0円') absolutize(progpath); strncpy(argv0_path, progpath, MAXPATHLEN); argv0_path[MAXPATHLEN] = '0円'; |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010年03月11日 14:56:01 | admin | set | recipients: + ronaldoussoren, vstinner, schmir |
| 2010年03月11日 14:56:00 | admin | link | issue7774 messages |
| 2010年03月11日 13:50:33 | vstinner | unlink | issue7774 messages |
| 2010年01月25日 13:06:04 | flox | set | recipients: + flox, pitrou, tarek, jnoller, ezio.melotti |
| 2010年01月25日 13:06:04 | flox | set | messageid: <1264424764.68.0.913730662553.issue7774@psf.upfronthosting.co.za> |
| 2010年01月25日 13:06:03 | flox | link | issue7774 messages |
| 2010年01月25日 13:06:02 | flox | create | |