Message12344

Author jeff.allen
Recipients fwierzbicki, jamesmudd, jeff.allen, stefan.richthofer
Date 2019-02-08.22:21:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549664465.67.0.356577323261.issue2654@roundup.psfhosted.org>
In-reply-to
Content
Oh the horror, the horror!

I have spent a couple of weeks in imp.java with a debugger, and I can safely say there is some weird stuff here. Did we know that every time a module imports a module, we enumerate all the packages in the JVM? I didn't.

I made some notes. https://inside-jython.readthedocs.io/en/latest/import.html#sequence-of-events-in-jython-2-7-1

I would really like to re-write this based on a modern Python 2 import.c but unlike the comparable (and beneficial) re-write of jython.java, the bits specific to Java packages are mysterious and fragile-looking.

I'm seriously contemplating leaving this as it is in 2.7.2.
History
Date User Action Args
2019-02-08 22:21:05jeff.allensetmessageid: <1549664465.67.0.356577323261.issue2654@roundup.psfhosted.org>
2019-02-08 22:21:05jeff.allensetrecipients: + jeff.allen, fwierzbicki, stefan.richthofer, jamesmudd
2019-02-08 22:21:05jeff.allenlinkissue2654 messages
2019-02-08 22:21:05jeff.allencreate