[pyicu-dev] getCollationKey

Andi Vajda vajda at osafoundation.org
Fri Nov 18 17:24:10 PST 2005


> Revision 47 has a circular import:
>
>  PyICU imports PyICU_bases
>  PyICU_bases imports PyICU_iterators
>  PyICU_iterators imports PyICU_bases
>
> There's a similar problem with PyICU_locale.
>
> I don't see an import order that will allow import to succeed. :(
>
> This problem was not in the 0.3 release.
>
> Removing the imports:
>
> %import "iterators.i"
> %import "locale.i"

I can't reproduce this problem. The circular SWIG imports should be fine.
You're probably using an older version of SWIG.
I'm building with SWIG 1.3.24 and all is working fine, test_Collator.py 
passes.

Andi..



More information about the pyicu-dev mailing list