We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59164f3 commit 530ab59Copy full SHA for 530ab59
src/python-exec.in
@@ -90,8 +90,8 @@ while data is None:
90
raise
91
92
sys.argv[0] = target
93
-# in python3.9+, __file__ paths are absolute (but not pypy3.9)
94
-if sys.version_info >= (3, 9) and sys.implementation.name != "pypy":
+# in python3.9+, __file__ paths are absolute
+if sys.version_info >= (3, 9):
95
target = os.path.abspath(target)
96
new_globals['__file__'] = target
97
0 commit comments