Message399631
I get a circular import error:
Traceback (most recent call last):
File "main.py", line 1, in <module>
import codegen
File "/cygdrive/c/home/eric/codegen.py", line 1, in <module>
from main import AtomX
File "/cygdrive/c/home/eric/main.py", line 9, in <module>
codegen.inheritance_map(AtomX("qwerty"))
AttributeError: partially initialized module 'codegen' has no attribute 'inheritance_map' (most likely due to a circular import)
So I can't reproduce this problem. |
|
Date |
User |
Action |
Args |
2021-08-16 00:55:26 | eric.smith | set | recipients:
+ eric.smith, baskakov |
2021-08-16 00:55:26 | eric.smith | set | messageid: <1629075326.48.0.37980744066.issue44922@roundup.psfhosted.org> |
2021-08-16 00:55:26 | eric.smith | link | issue44922 messages |
2021-08-16 00:55:26 | eric.smith | create | |
|