[pypy-dev] Socket module fails in pypy1.8

Maciej Fijalkowski fijall at gmail.com
Mon Feb 13 19:59:48 CET 2012


On Mon, Feb 13, 2012 at 7:38 PM, kracekumar ramaraju
<kracethekingmaker at gmail.com> wrote:
> Hi
>
>  kracekumar at python-lover:~/pypy-pypy-2346207d9946/pypy/translator/sandbox$
> pypy1.7 pypy_interact.py --tmp=virtualtmp/ ../../../pypy-c
> ['/bin/pypy-c']
> Warning: cannot find your CPU L2 cache size in /proc/cpuinfo
> Not Implemented: SomeString(no_nul=True)
> RuntimeError
> 'import site' failed
> Python 2.7.2 (2346207d99463f299f09f3e151c9d5fa9158f71b, Feb 11 2012,
> 23:26:49)
> [PyPy 1.8.0 with GCC 4.6.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> And now for something completely different: ``PyPy is not a real VM: no
> segfault handlers to do the rare cases''
>>>>> import socket
> Traceback (most recent call last):
>   File "<console>", line 1, in <module>
>   File "/bin/lib-python/modified-2.7/socket.py", line 47, in <module>
>     import _socket
> ImportError: No module named _socket
>>>>>
>
> It seems _socket module is undefined, I checked in lib-python/modified-2.7
> and couldnot locate _socket module.
>
> --
> Thanks & Regards
>
> "Talk is cheap, show me the code" -- Linus Torvalds
> kracekumar
> www.kracekumar.com
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>

Sandboxed version does not support sockets.


More information about the pypy-dev mailing list