[New-bugs-announce] [issue29052] Detect Windows platform 32bit/64bit automatically

Karsten Tinnefeld 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
components: Documentation
messages: 283875
nosy: Karsten Tinnefeld, docs at python
priority: normal
severity: normal
status: open
title: Detect Windows platform 32bit/64bit automatically
type: enhancement
versions: Python 2.7, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29052>
_______________________________________


More information about the New-bugs-announce mailing list