[pypy-dev] How to embed PyPy when there's no filesystem?

Armin Rigo arigo at tunes.org
Tue Apr 28 22:50:57 CEST 2015


Hi Tom,

On 28 April 2015 at 19:56,  <tom at twhanson.com> wrote:
> Correction: " non-functional without the *peer* class
> VirtualizedSandboxedProc"

Modern PyPy versions try to get some environ variables, at least as
documented in rpython/doc/logging.rst.  It makes the
do_ll_os__ll_os_getenv() method necessary (undefined methods cause the
subprocess to be aborted).  Moreover, I'm sure that a PyPy in the
default configuration will try afterward to access the file system for
all its stdlib, which means it will call at least some of the other
methods too, starting from do_ll_os__ll_os_stat().  All these methods
happen to be in the VirtualizedSandboxedProc class.


A bientôt,

Armin.


More information about the pypy-dev mailing list