Hi,

On Fri, Sep 16, 2011 at 11:48 AM, Peter Cock <[email protected]> wrote:
> Thanks, I'll use that. Its a shame that wasn't in Python 2.5 though,
> my copy of Jython doesn't support it either.

The older and more robust way to check this is:

    "__pypy__" in sys.builtin_module_names


Armin
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to