New submission from LordBlick:
The use of methods path.chdir () corrupts the subsequent ability to detect the
file path which is interpreted.
I've made simple example, which is atached:
$ cd ~/tmp
$ ./test_os_path.py
abspath:~/tmp/test_os_path.py
weak abspath: ~/tmp/test_os_pa
Changes by Daniel al. LordBlick :
--
nosy: +serhiy.storchaka
___
Python tracker
<http://bugs.python.org/issue24670>
___
___
Python-bugs-list mailing list
Unsub
Daniel al. LordBlick added the comment:
If so, then should be internally __file__ edit by zipimport and/or os.cwd?
It's simple string in .__dict__['__file__']…
Is exist some class representing internal file? Then any cwd operation should
be wraped by it.
--
component