New submission from Ken Sato <ksato9...@gmail.com>:

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.

----------
assignee: docs@python
components: Documentation
messages: 360239
nosy: docs@python, ksato9700
priority: normal
severity: normal
status: open
title: sys.path[0] is already absolute path
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39379>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to