Re: [pypy-dev] Circular reference when importing struct from a pypy sandbox.

2012-07-07 Thread Jonathan Slenders
Thanks Amaury, That's right. I had /bin/pypy/module in my path. Am I correct in assuming that there does not exist a _struct.py yet for the pypy sandbox? /lib-python/2.7/struct.py includes _struct. The problem was that I'd like to use a json library for passing messages between the sandbox and i

Re: [pypy-dev] Circular reference when importing struct from a pypy sandbox.

2012-07-07 Thread Amaury Forgeot d'Arc
2012/7/7 Jonathan Slenders : > 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? > > A

[pypy-dev] Circular reference when importing struct from a pypy sandbox.

2012-07-07 Thread Jonathan Slenders
Hi everyone, 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 su