[pypy-dev] How to use interperter level code from a module for app level code in another module

Yicong Huang hengha.mao at gmail.com
Tue Jun 9 11:51:56 CEST 2015


"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.

On Tue, Jun 9, 2015 at 5:38 PM, Armin Rigo <arigo at tunes.org> wrote:

> Hi,
>
> On 9 June 2015 at 11:34, Yicong Huang <hengha.mao at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20150609/a2adab09/attachment.html>


More information about the pypy-dev mailing list