[Webkit-unassigned] [Bug 179344] [Win] The way to detect Windows 10 is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 9 21:25:48 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179344

Fujii Hironori <Hironori.Fujii at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Hironori.Fujii at sony.com

--- Comment #2 from Fujii Hironori <Hironori.Fujii at sony.com> ---
This issue has been addressed in Python 2.
https://hg.python.org/cpython/rev/d8453733cc0c

We need to use platform.version() instead of sys.getwindowsversion().

> C:\>ver
> 
> Microsoft Windows [Version 10.0.14393]
> 
> C:\>python
> ActivePython 2.7.13.2716 (ActiveState Software Inc.) based on
> Python 2.7.13 (default, Jun 26 2017, 14:28:43) [MSC v.1500 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.getwindowsversion()
> sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
> >>> import platform
> >>> platform.version()
> '10.0.14393'
> >>>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171110/9d5978b6/attachment.html>


More information about the webkit-unassigned mailing list