Issue447357

classification
Title: possible import bug
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: pedronis
Priority: normal Keywords:

Created on 2001-08-02.23:55:05 by anonymous, last changed 2001-08-07.21:30:45 by pedronis.

Messages
msg364 (view) Author: Nobody/Anonymous (nobody) Date: 2001-08-02.23:55:05
There is possibly a bug in Jython's import behaviour with 
circular imports.

cPython works fine with circular imports, so long as the 
import statements are in the form "import <module>".  
However, Jython encounters difficulty with such imports.

See 
http://www.geocrawler.com/archives/3/12986/2001/7/0/6203025/
for more info.
msg365 (view) Author: Samuele Pedroni (pedronis) Date: 2001-08-07.21:30:45
Logged In: YES 
user_id=61408

As far as my understanding goes, the level of support of of
cyclic
imports of Jython is the same as of CPython,  and is based
on always putting
a module in sys.modules on creation (see imp.addModule and
createFromCode)

PS: I have tried with an example and it has worked for me.
History
Date User Action Args
2001-08-02 23:55:05anonymouscreate