Message392497
> 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. |
|
Date |
User |
Action |
Args |
2021-04-30 18:39:13 | sfmc | set | recipients:
+ sfmc, paul.moore, tim.golden, zach.ware, eryksun, steve.dower |
2021-04-30 18:39:13 | sfmc | set | messageid: <1619807953.55.0.795496547247.issue43968@roundup.psfhosted.org> |
2021-04-30 18:39:13 | sfmc | link | issue43968 messages |
2021-04-30 18:39:13 | sfmc | create | |
|