[issue2745] Add support for IsWow64Process
Pete Bartlett
report at bugs.python.org
Wed Sep 8 11:54:51 CEST 2010
Pete Bartlett <peter.bartlett at nomura.com> added the comment:
Hi,
I am a Python user seeking an implementation of iswow64 and found this tracker. Unfortunately I don't think Martin's suggested alternative approach works.
os.environ["PROCESSOR_ARCHITECTURE"]
returns "x86" on my system when run from a 32-bit python, even though if I look at my "real" environment I see
D:\>echo %PROCESSOR_ARCHITECTURE%
AMD64
i.e it appears that Windows is passing "false information", if you will, to whatever populates os.environ in 32-bit windows.
Perhaps Mark's patch should be resurrected. Or is there a further way to get this information?
[My Python version information:
D:\>python
ActivePython 2.6.5.12 (ActiveState Software Inc.) based on
Python 2.6.5 (r265:79063, Mar 20 2010, 14:22:52) [MSC v.1500 32 bit (Intel)] on win32
]
----------
nosy: +pcb21
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2745>
_______________________________________
More information about the Python-bugs-list
mailing list