[pypy-dev] What parts of the sys modules does PyPy implement?

Armin Rigo arigo at tunes.org
Wed Apr 9 16:40:19 CEST 2008


Hi Bruno,

On Tue, Apr 08, 2008 at 08:15:29PM -0300, Bruno Gola wrote:
> This are the features from 2.4 sys that are not present in PyPy's sys:
> - exc_type

Actually, exc_type, exc_value and exc_traceback are present in PyPy's
sys module but they are not in sys.__dict__.  There is a __getattr__
handler on the sys module that provides these attributes in a
thread-safe way.

> - pydebug

Where does this come from?  It is not in my Python 2.4 either.


A bientot,

Armin.


More information about the pypy-dev mailing list