Author arhoyling
Recipients Florian Roth, James Domingo, arhoyling, paul.moore, python-dev, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2016-09-21.09:50:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474451417.38.0.432910629421.issue26513@psf.upfronthosting.co.za>
In-reply-to
Content
|| We now use 'product_type' on 3.5+ and 'product' on 2.7, so we should be good.

It actually looks like we use `product_type` on Python 2.7.12, not `product`.

On Python 2.7.12, on Windows Server 2008 R2:

  >>> import sys
  >>> sys.getwindowsversion().product
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  AttributeError: 'sys.getwindowsversion' object has no attribute 'product'
  >>> sys.getwindowsversion().product_type
  3

This would cause `platform.release()` to output '7' instead of '2008ServerR2'.

I don't think this issue is resolved.
History
Date User Action Args
2016-09-21 09:50:17arhoylingsetrecipients: + arhoyling, paul.moore, tim.golden, python-dev, zach.ware, serhiy.storchaka, steve.dower, Florian Roth, James Domingo
2016-09-21 09:50:17arhoylingsetmessageid: <1474451417.38.0.432910629421.issue26513@psf.upfronthosting.co.za>
2016-09-21 09:50:17arhoylinglinkissue26513 messages
2016-09-21 09:50:17arhoylingcreate