Bugs item #1323369, was opened at 2005-10-11 12:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1323369&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: Python 2.5 Status: Open Resolution: None Priority: 5 Submitted By: Tony Meyer (anadelonbrin) Assigned to: Nobody/Anonymous (nobody) Summary: getwindowsversion() constants in sys module Initial Comment: In the documentation for the sys.getwindowsversion() function, it says that the 'platform' value may be one of four constants (specifying them by name). However, these constants are not in the sys module (they are in win32con from pywin32). It would be better if either the documentation said that the constants were available in win32con if pywin32 is installed, or if the constants were added to the sys module. I personally think the latter is better since it's a single line of code, and makes the getwindowsversion() function more useful, but I'm not sure whether people will want to clutter the sys module with four constants. I'm happy to provide a patch for either behaviour, if an appropriate developer will choose one. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1323369&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com