[issue1082] platform system may be Windows or Microsoft since Vista

Sean Reifschneider report at bugs.python.org
Mon Sep 17 20:12:03 CEST 2007


Sean Reifschneider added the comment:

Attached is a patch that fixes uname() instead of the individual
helpers.  I agree that is the better way to do it.  Again, not tested on
Windows because I don't have it.

What about adding a "isWindows()" sort of method that does the right
thing, or "amIRunningOn('Vista')"?  I suggest the latter because I
imagine the former might just lead to a bunch of "Where is isX()?" for
different platforms.  This could implement the logic so that users don't
have to know the details of this issue.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1082>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-trunk-vistaplatform-v2.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20070917/4dc526bf/attachment-0001.bin 


More information about the Python-bugs-list mailing list