Message172507
Brian Curtin wrote:
>
> New submission from Brian Curtin:
>
>>>> platform.platform()
> 'Windows-post2008Server-6.2.9200'
>
> The change is trivial, just accounting for a point release of 2 (from the major release 6).
Looks good. Please also backport this to Python 2.7.
Thanks.
> --- a/Lib/platform.py
> +++ b/Lib/platform.py
> @@ -595,8 +595,13 @@
> release = '7'
> else:
> release = '2008ServerR2'
> + elif min == 2:
> + if product_type == VER_NT_WORKSTATION:
> + release = '8'
> + else:
> + release = '2012Server'
> else:
> - release = 'post2008Server'
> + release = 'post2012Server'
>
> ----------
> assignee: brian.curtin
> components: Library (Lib), Windows
> messages: 172490
> nosy: brian.curtin
> priority: normal
> severity: normal
> status: open
> title: platform.platform() identifies Windows 8 as post2008Server
> type: behavior
> versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16176>
> _______________________________________
> _______________________________________________
> Python-bugs-list mailing list
> Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/mal%40egenix.com
>
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/ |
|
Date |
User |
Action |
Args |
2012-10-09 19:16:58 | lemburg | set | recipients:
+ lemburg, brian.curtin |
2012-10-09 19:16:58 | lemburg | link | issue16176 messages |
2012-10-09 19:16:58 | lemburg | create | |
|