Hi,
I use GAE - Google Application Engine Python - and my project raises error during 'import requests' when it is ran under GAE sandbox (locally).
'platform' now is used in requests/utils.py after the commit 'proxy bypass on Windows without DNS lookups' ( https://github.com/kennethreitz/requests/commits/master/requests/utils.py )
GAE doesn't have _winreg in sys.modules and the _winreg is called by platform.py. In platform.py: system() function -> uname() -> win32_ver() -> import _winreg.
I don't know why GAE doesn't import _winreg. It seems GAE was developed in Unix-like platform.
GAE uses requests library too, but it uses an old version.
If I copy an old requests version to my project (without import platform) and it works nice. I'd like to use update version. Besides I believe that can became a problem to other developers, because all documents say to developers install requests (third-part libraries) inside their GAE project (pip install requests -t lib)
I'm not sure if this is a problem with the Requests project or Google.
Regards,
André