Message194224
| Author | madison.may |
|---|---|
| Recipients | Arfrever, brett.cannon, madison.may, ncoghlan, ronaldoussoren |
| Date | 2013-08-03.00:13:26 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1375488806.64.0.934325813706.issue18416@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
PathFinder or FileFinder? Changing PathFinder._path_importer_cache(cls, path) seems to fix the issue.
See line 1302 in _bootstrap.py.
if path == '':
- path = '.'
+ path = _os.getcwd()
$ touch blah.py; ./python -c "import blah; print(blah.__file__)"
/home/mmay/cpython/blah.py |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013-08-03 00:13:27 | madison.may | set | recipients: + madison.may, brett.cannon, ronaldoussoren, ncoghlan, Arfrever |
| 2013-08-03 00:13:26 | madison.may | set | messageid: <1375488806.64.0.934325813706.issue18416@psf.upfronthosting.co.za> |
| 2013-08-03 00:13:26 | madison.may | link | issue18416 messages |
| 2013-08-03 00:13:26 | madison.may | create | |