2015-06-09 11:51 GMT+02:00 Yicong Huang <hengha....@gmail.com>:

> "I guess it's because __pypy__ is always enabled, but other modules can
> be enabled or disabled"
>
> How to enable the module?
> We had tried "spaceconfig", but it only worked for writing tests.
>

Again, how are you running PyPy?
If it is the compiled binary, you need to pass --withmod-select at
translation time.
Same thing, if you started the (slow) untranslated bin/pyinteractive.py


>
> On Tue, Jun 9, 2015 at 5:38 PM, Armin Rigo <ar...@tunes.org> wrote:
>
>> Hi,
>>
>> On 9 June 2015 at 11:34, Yicong Huang <hengha....@gmail.com> wrote:
>> > import select     =>  ImportError: No module named select
>> > import pypy.module.select     =>ImportError: No module named pypy
>> >
>> > But __pypy__ module is able to be imported.
>>
>> I guess it's because __pypy__ is always enabled, but other modules can
>> be enabled or disabled (for example using "spaceconfig" if you're
>> writing tests in the same style as ours).
>>
>>
>> A bientôt,
>>
>> Armin.
>>
>
>


-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to