Message194224
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 |
|
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 | |
|