Christian Clauss added the comment: 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. ---------- nosy: +Christian.Clauss _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7850> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com