[docs] [issue29052] Detect Windows platform 32bit/64bit automatically
report at bugs.python.org
Fri Dec 23 07:11:24 EST 2016
New submission from Karsten Tinnefeld:
When navigating https://www.python.org/ with a browser, in the main menu fly-out Downloads/Download for Windows it suggests to download the 32 bit version of the current 2.x and 3.x releases (leaving out the information that the buttons provide 32 bit binaries).
Further, https://www.python.org/downloads/ repeats this pattern in its header area "Download the latest version for Windows".
May I suggest that, depending on the User-Agent header, the menu offers 64 bit versions of the interpreter and tools package by default in case the browser suggests it is running on a 64 bit platform?
According to own tests and http://www.useragentstring.com/pages/useragentstring.php, this should be possible with a regexp like '(WOW|x)64' on at least IE, FF, Chrome and Edge.
assignee: docs at python
nosy: Karsten Tinnefeld, docs at python
title: Detect Windows platform 32bit/64bit automatically
versions: Python 2.7, Python 3.7
Python tracker <report at bugs.python.org>
More information about the docs