[Python-Dev] New absolute __file__ in Python 3.4
anatoly techtonik
techtonik at gmail.com
Fri Apr 4 17:21:07 CEST 2014
https://docs.python.org/3.4/whatsnew/3.4.html#other-language-changes
1. Is this absolute name with symlinks resolved?
2. Why there is a special case for __main__?
(i.e. Special cases aren't special enough to break the rules.)
3. What link should I click in Python reference to read
about standard globals like __file__ and this change?
https://docs.python.org/3.4/library/index.html
something like this in PHP
http://www.php.net/manual/en/language.constants.predefined.php
--
anatoly t.
More information about the Python-Dev
mailing list