On Sun, Mar 11, 2012 at 9:27 AM, Stefan Behnel <[email protected]> wrote: > Hi, > > I get an ImportError when trying to import the "signal" module in an > interpreted PyPy (latest source checkout): > > """ > python pypy/bin/py.py -c 'import signal' > > [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall > -Wno-unused -march=core2 -O3 -msse4.1 -pipe -fPIC > /tmp/usession-default-4/platcheck_2.c -o /tmp/usession-default-4/platcheck_2.o > [platform:execute] gcc /tmp/usession-default-4/platcheck_2.o -pthread > -lintl -lrt -o /tmp/usession-default-4/platcheck_2 > [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall > -Wno-unused -march=core2 -O3 -msse4.1 -pipe -fPIC > /tmp/usession-default-4/platcheck_7.c -o /tmp/usession-default-4/platcheck_7.o > [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall > -Wno-unused -march=core2 -O3 -msse4.1 -pipe -fPIC > /tmp/usession-default-4/platcheck_8.c -o /tmp/usession-default-4/platcheck_8.o > [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall > -Wno-unused -march=core2 -O3 -msse4.1 -pipe -fPIC > /tmp/usession-default-4/platcheck_14.c -o > /tmp/usession-default-4/platcheck_14.o > [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall > -Wno-unused -march=core2 -O3 -msse4.1 -pipe -fPIC > -I/ablage/software/Python/pypy-src/pypy/translator/c > /tmp/usession-default-4/platcheck_18.c -o > /tmp/usession-default-4/platcheck_18.o > [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall > -Wno-unused -march=core2 -O3 -msse4.1 -pipe -fPIC > -I/ablage/software/Python/pypy-src/pypy/translator/c > /tmp/usession-default-4/module_cache/module_0.c -o > /tmp/usession-default-4/module_cache/module_0.o > [platform:execute] gcc /tmp/usession-default-4/platcheck_18.o > /tmp/usession-default-4/module_cache/module_0.o -pthread > -Wl,--export-dynamic,--version-script=/tmp/usession-default-4/dynamic-symbols-0 > -lrt -o /tmp/usession-default-4/platcheck_18 > faking <type 'module'> > faking <type 'member_descriptor'> > Traceback (application-level): > File "<string>", line 1 in <module> > ImportError: No module named signal > """ > > Any ideas what's broken here? > > I noticed this when trying to run a test from Cython's test suite in an > interpreted PyPy, and unittest failed to "import signal". > > Stefan > > _______________________________________________ > pypy-dev mailing list > [email protected] > http://mail.python.org/mailman/listinfo/pypy-dev
run with --allworkingmodules or with --withmod-signal, otherwise it does not come with any modules. _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
