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 sfmc
Recipients eryksun, paul.moore, sfmc, steve.dower, tim.golden, zach.ware
Date 2021-04-30.18:39:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619807953.55.0.795496547247.issue43968@roundup.psfhosted.org>
In-reply-to
Content
> If you don't need to resolve symlinks, just use os.path.abspath() in Windows and os.path.realpath() in POSIX.

As I said, we already fixed it in our scripts.

The problem is with Python debugger and third-party tools - we can't make changes there.

The environment variable would be easy fix to this issue.

No impact on those who do not set the variable.

-----

In our organization we use substituted drives for development, and no other tools (including other programming languages and their IDEs), except for Python 3.8+, had any problems with this.

For example, in last versions of Perl and Ruby the realpath keeps the substitute drive.

(In Ruby the realpath is also smart enough to resolve symlinks while keeping the drive.)

-----

I consider this a serious issue with Python, I hope it gets the deserved attention and at least the workaround with env. var. gets implemented.
History
Date User Action Args
2021-04-30 18:39:13sfmcsetrecipients: + sfmc, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2021-04-30 18:39:13sfmcsetmessageid: <1619807953.55.0.795496547247.issue43968@roundup.psfhosted.org>
2021-04-30 18:39:13sfmclinkissue43968 messages
2021-04-30 18:39:13sfmccreate