Issue991100

classification
Title: Load pre-compiled modules from CLASSPATH, jars.
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: fwierzbicki Nosy List: fwierzbicki, otmarhumbel, pedronis, xoltar
Priority: normal Keywords: patch

Created on 2004-07-14.19:04:49 by xoltar, last changed 2013-01-29.19:05:19 by fwierzbicki.

Files
File name Uploaded Description Edit Remove
classpath_loading.patch xoltar, 2004-07-14.19:04:49
Messages
msg2383 (view) Author: Bryn Keller (xoltar) Date: 2004-07-14.19:04:49
This patch (made against 2.1 final) fixes two problems:

1. When importing from a jar/zip on the PYTHONPATH,
"import foo" will now load foo$py.class from the jar.
Previously foo.py would also have to be present in the
jar, or else foo$py.class would be ignored. Of course
if foo.py is present and newer, that will still be
preferred.

2. As a last resort, "import foo" will use
Py.findClassEx to load a class called "foo$py".
Previously there was no obvious way to load a python
module from the current classpath, unless it had been
compiled to have the name "foo$Py_Inner" (perhaps
Jythonc does it this way, I don't know).

msg2384 (view) Author: Samuele Pedroni (pedronis) Date: 2005-01-09.20:18:53
Logged In: YES 
user_id=61408

this need to be addressed in the improving java imports
discussion.
msg7361 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2012-08-10.17:38:08
Hi Bryn - this patch is very old and the import mechanism has completely changed since it was submitted. Are you still having an issue and if so are you still interested in seeing a change like this? I'm attempting to address all outstanding patches. I am embarrassed that so many have stagnated for so long...
msg7366 (view) Author: Bryn Keller (xoltar) Date: 2012-08-10.18:18:19
No need, I haven't used jython in years. You can close this. Thanks for checking.
History
Date User Action Args
2013-01-29 19:05:19fwierzbickisetstatus: open -> closed
resolution: out of date
2012-08-10 18:18:19xoltarsetmessages: + msg7366
2012-08-10 17:38:09fwierzbickisetassignee: otmarhumbel -> fwierzbicki
messages: + msg7361
2008-12-15 18:54:29fwierzbickisetcomponents: + Core, - None
2008-11-01 19:06:17fwierzbickisetnosy: + fwierzbicki
2004-07-14 19:04:49xoltarcreate