Message277117
|| 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. |
|
| Date |
User |
Action |
Args |
| 2016-09-21 09:50:17 | arhoyling | set | recipients:
+ arhoyling, paul.moore, tim.golden, python-dev, zach.ware, serhiy.storchaka, steve.dower, Florian Roth, James Domingo |
| 2016-09-21 09:50:17 | arhoyling | set | messageid: <1474451417.38.0.432910629421.issue26513@psf.upfronthosting.co.za> |
| 2016-09-21 09:50:17 | arhoyling | link | issue26513 messages |
| 2016-09-21 09:50:17 | arhoyling | create | |
|