()
| 720 | |
| 721 | |
| 722 | def _get_machine_win32(): |
| 723 | # Try to use the PROCESSOR_* environment variables |
| 724 | # available on Win XP and later; see |
| 725 | # http://support.microsoft.com/kb/888731 and |
| 726 | # http://www.geocities.com/rick_lively/MANUALS/ENV/MSWIN/PROCESSI.HTM |
| 727 | |
| 728 | # WOW64 processes mask the native architecture |
| 729 | return ( |
| 730 | os.environ.get('PROCESSOR_ARCHITEW6432', '') or |
| 731 | os.environ.get('PROCESSOR_ARCHITECTURE', '') |
| 732 | ) |
| 733 | |
| 734 | |
| 735 | class _Processor: |