➜

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 vstinner
Recipients alvesjnr, eric.araujo, iritkatriel, ned.deily, petri.lehtinen, pitrou, vstinner
Date 2021-08-31.21:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
See also bpo-20443 "__code__. co_filename should always be an absolute path". I had a revert a change which affected sys.argv[0]:

commit a1a99b4bb7cbe2dbc55a1d92c3c509b4466d3c3b
Author: Victor Stinner <[email protected]>
Date:   Mon Dec 9 17:34:02 2019 +0100

    bpo-20443: No longer make sys.argv[0] absolute for script (GH-17534)
    
    In Python 3.9.0a1, sys.argv[0] was made an asolute path if a filename
    was specified on the command line. Revert this change, since most
    users expect sys.argv to be unmodified.
History
Date User Action Args
2021-08-31 21:58:44vstinnersetrecipients: + vstinner, pitrou, ned.deily, eric.araujo, petri.lehtinen, alvesjnr, iritkatriel
2021-08-31 21:58:44vstinnersetmessageid: <[email protected]>
2021-08-31 21:58:44vstinnerlinkissue14088 messages
2021-08-31 21:58:43vstinnercreate