[pypy-dev] Circular reference when importing struct from a pypy sandbox.
Amaury Forgeot d'Arc
amauryfa at gmail.com
Sat Jul 7 18:00:17 CEST 2012
2012/7/7 Jonathan Slenders <jonathan at slenders.be>:
> Not sure whether this is sandbox related, but I get a circular reference
> when I want to import struct.py
> The problem seems to be in the MixedModule import which get to import
> himself somehow...
> Anyone here who likes to take a look at the trackback below?
>
> Actually, I'm not entirely sure whether I have the correct sys.path inside
> the sandbox.
> But anyway, I already had a great experience with the sandboxing mode.
> (Right now, I'm rewriting sandlib to something usable in Twisted Matrix,
> amazing technologies they are.)
It seems you have the /bin/pypy/module directory in your sys.path.
Did you set it manually?
Could you remove it and try again?
--
Amaury Forgeot d'Arc
More information about the pypy-dev
mailing list