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 Christian.Clauss
Recipients Christian.Clauss, Justin.Cappos, jackdied, lemburg, math_foo, ronaldoussoren
Date 2014-05-04.19:35:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399232148.94.0.593891117238.issue7850@psf.upfronthosting.co.za>
In-reply-to
Content
assert sys.platform == platform.system().lower()

Should that always be True?  It is on Mac OS X but...

On iOS (Pythonista):
sys.platform ==> 'unknown'
platform.system() ==> 'Darwin'

https://docs.python.org/2/library/sys.html#sys.platform should be updated to provide the correct values for iOS and Android devices which now outnumber many of the other OSes listed.
History
Date User Action Args
2014-05-04 19:35:49Christian.Clausssetrecipients: + Christian.Clauss, lemburg, ronaldoussoren, jackdied, Justin.Cappos, math_foo
2014-05-04 19:35:48Christian.Clausssetmessageid: <1399232148.94.0.593891117238.issue7850@psf.upfronthosting.co.za>
2014-05-04 19:35:48Christian.Clausslinkissue7850 messages
2014-05-04 19:35:48Christian.Clausscreate