NM <niklas.mattis...@gmail.com> added the comment:

Is this related to the weird paths I am seeing when getting different output in 
venv compared to without venv:

from pathlib import Path

filename = Path(__file__)
filename2 = Path('C:\\path\\to\\file.py')

print(filename)
print(filename2)

Where the result is:
----------------------------
Powershell (python.exe run):
file.py
C:\path\to\file.py

Venv run:
C:\path\to\file.py
C:\path\to\file.py

----------
nosy: +nmat

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

Reply via email to