Message4989
In case of circular imports Python shows "ImportError: cannot import
name <>" error and a stack trace, but Jython fails with "RuntimeError:
maximum recursion depth exceeded".
Use case description.
1. I have a package.
2. There are two modules in the package.
3. First one does "from . import <second module>"
4. Second one does "from . import <first module>"
See an example in the attached file. Try to run "main.py". |
|
Date |
User |
Action |
Args |
2009-08-05 10:56:09 | Lonebuddha | set | recipients:
+ Lonebuddha |
2009-08-05 10:56:09 | Lonebuddha | set | messageid: <1249469769.91.0.295028490115.issue1423@psf.upfronthosting.co.za> |
2009-08-05 10:56:09 | Lonebuddha | link | issue1423 messages |
2009-08-05 10:56:09 | Lonebuddha | create | |
|