Nikhil Benesch added the comment:
So it looks like /usr/bin/python3 is just a shim that immediately execs the
real Python binary:
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3
This binary is identical to the one that ends up
Nikhil Benesch added the comment:
Oops, sorry, I forgot to actually include the correct command in the
workaround. Here it is:
$ /usr/bin/python3 -c 'import venv; venv.create("venv2", symlinks=True);'
--
___
Python track
Nikhil Benesch added the comment:
This issue continues to exist with the system Python on macOS. Here is how to
reproduce on macOS Catalina 10.15.7 and Xcode 12.1.
$ /usr/bin/python3 --version
Python 3.8.2
$ /usr/bin/python3 -c 'import venv; venv.create("venv");'
$ venv/bin/py
Changes by Nikhil Benesch nikhil.bene...@gmail.com:
--
nosy: +benesch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14776
___
___
Python-bugs-list
Changes by Nikhil Benesch nikhil.bene...@gmail.com:
--
nosy: +benesch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
___
Python-bugs-list
Nikhil Benesch added the comment:
Since it looks like development on this has stalled, I took the liberty of
compiling all prior patches
https://github.com/benesch/python-dtrace-tracker
and am actively working on merging them into one superpatch. I am neither a
Python nor a DTrace expert