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 ksato9700
Recipients docs@python, ksato9700
Date 2020-01-18.07:46:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579333617.11.0.372896670301.issue39379@roundup.psfhosted.org>
In-reply-to
Content
In the "What’s New In Python 3.9" (Doc/whatsnew/3.9.rst), it says

> Python now gets the absolute path of the script filename specified on the command line (ex: python3 script.py): the __file__ attribute of the __main__ module and sys.path[0] become an absolute path, rather than a relative path.

However, I believe sys.path[0] is already absolute path since the previous versions. We can probably remove "and sys.path[0]" from the phrase to avoid possible confusions.
History
Date User Action Args
2020-01-18 07:46:57ksato9700setrecipients: + ksato9700, docs@python
2020-01-18 07:46:57ksato9700setmessageid: <1579333617.11.0.372896670301.issue39379@roundup.psfhosted.org>
2020-01-18 07:46:57ksato9700linkissue39379 messages
2020-01-18 07:46:57ksato9700create