[Python-Dev] Asyncore .set_reuse_addr() on Windows

"Martin v. Löwis" martin at v.loewis.de
Sat Aug 7 16:29:39 CEST 2004


A.M. Kuchling wrote:
> Question: should the condition be sys.platform.startswith('win') for
> the sake of win64, or other Windows variants?  (I don't know which
> values sys.platform can have on Windows.)

Win64 also uses "win32" as sys.platform. If you really want to find
out this is not x86, you need to look at the compiler ID in sys.version.

Regards,
Martin


More information about the Python-Dev mailing list