[pygccxml-development] ImportError on current cvs
Brought to you by:
mbaas,
roman_yakovenko
|
From: Matthias B. <ba...@ir...> - 2006-02-28 15:58:44
|
Hi,
I just updated from cvs and now there's a cyclic import in the code.
When I just import pyplusplus in a Python shell, I get an import error:
>>> import pyplusplus
...
File ".../pyplusplus/code_creators/array_1_registrator.py", line 10, in ?
from pyplusplus.decl_wrappers import call_policies
ImportError: No module named decl_wrappers
The main initialization module contains the following imports:
import code_creators
import file_writers
import module_creator
import gui
import code_repository
import utils
import decl_wrappers
import module_builder
The first import already triggers code in array_1_registrator that tries
to import from "pyplusplus.decl_wrappers" but decl_wrappers only gets
imported later so it isn't available at that time and the above
exception occurs.
- Matthias -
|