This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients docs@python, pythonhacker, r.david.murray, vstinner
Date 2015-03-24.14:26:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It is a deliberate choice because the functions accept default values to be returned if the actual values cannot be determined, and because it is easier therefore to write cross-platform scripts if the functions do *not* raise an error when called on the "wrong" platform.  There are other functions in the platform module to use to determine which platform you are on.

Agreed that the fact that they work is currently documented only by implication for those familiar with our doc style (that is, there are no "avaiability" tags, implying they are available on all platforms).  This should be corrected, probably in an introductory paragraph (which will be overlooked by most people reading the docs :)
Date User Action Args
2015-03-24 14:26:24r.david.murraysetrecipients: + r.david.murray, vstinner, pythonhacker, docs@python
2015-03-24 14:26:24r.david.murraysetmessageid: <>
2015-03-24 14:26:24r.david.murraylinkissue23747 messages
2015-03-24 14:26:24r.david.murraycreate