New submission from Anand B Pillai:
>>> import platform
>>> platform.system()
'Linux'
>>> platform.win32_ver()
('', '', '', '')
Why is this function even exposed on Linux ? It should be conditionally exposed
only on win32 platforms.
Funny that this is coming from the module named "platform" itself :)
----------
components: Library (Lib)
messages: 238995
nosy: pythonhacker
priority: normal
severity: normal
status: open
title: platform module exposes win32_ver function on posix systems
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23747>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com