[pypy-dev] bug with MinGW32

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed May 23 15:26:58 CEST 2012


2012/5/23 bookaa <rorsoft at gmail.com>

> if platform.platform.cc.**startswith('mingw32'):
>

This is better written as:
    from pypy.translator.platform import platform
    if platform.name == 'minwg32'
See rlib/libffi.py for an example.

-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120523/716a1630/attachment.html>


More information about the pypy-dev mailing list