[New-bugs-announce] [issue31413] Support importing anything in ._pth files.
Decorater
report at bugs.python.org
Sun Sep 10 21:19:39 EDT 2017
New submission from Decorater:
E:\TinyURL\app\Release>tinyurl
Fatal Python error: only 'import site' is supported in ._pth file
Current thread 0x0000161c (most recent call first):
The above Happens when I try to use the ._pth file to automatically call <something>.main()
However it prints that and then Crashes on Windows. I am not sure about how it does on linux or not.
I would like this extended to work how I thought it would. (To support more than just site.py in the standard library as this would reduce rebuilds of embedded interpreters.
----------
components: Interpreter Core, Windows
messages: 301846
nosy: Decorater, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Support importing anything in ._pth files.
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31413>
_______________________________________
More information about the New-bugs-announce
mailing list