Martin v. Löwis <[EMAIL PROTECTED]> added the comment:

I think this can be just as well done with (untested, as I don't have
access to a Windows system right now)

def iswow64():
    if platform.getarchitecture()[0] == '64-bit':return False
    return os.environ["PROCESSOR_ARCHITECTURE"] != "x86"

IOW, it's wow64 iff it's a 32-bit Python not running on an x86 machine.

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2745>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to