Issue226327
Created on 2000-12-19.13:28:58 by bckfnn, last changed 2000-12-20.03:01:44 by pedronis.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-12-19 13:28:58 | bckfnn | create |
Created on 2000-12-19.13:28:58 by bckfnn, last changed 2000-12-20.03:01:44 by pedronis.
Messages | |||
---|---|---|---|
msg226 (view) | Author: Finn Bock (bckfnn) | Date: 2000-12-19.13:28:58 | |
The files: - p1/__init__.py - p1/p2/p3/__init__.py - p1/p2/p3/Baz.py all just contain: ==== BEGIN ==== print __name__ ==== END ==== The file p1/p2/__init__.py : ===== BEGIN ===== print __name__ from p1.p2.p3 import Baz ==== END ==== Jython 2.0alpha2 on java1.3.0 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import p1.p2 p1 p1.p2 p1.p2 p1.p2 p1.p2 ... |
|||
msg227 (view) | Author: Samuele Pedroni (pedronis) | Date: 2000-12-20.03:01:44 | |
PyModule.__findattr__ now checks if a not found attr exists with '__name__.attr' in sys.modules and if is the case returns that before calling imp.loadFromPath, avoiding the recursion. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-12-19 13:28:58 | bckfnn | create |
Supported by Python Software Foundation,
Powered by Roundup