Bugs item #1770190, was opened at 2007-08-08 20:08 Message generated for change (Comment added) made by jackjansen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1770190&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: Macintosh Group: Python 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Gustavo Tabares (gtabares) Assigned to: Jack Jansen (jackjansen) Summary: platform.mac_ver() returning incorrect patch version Initial Comment: Running on an Intel Mac OSX 10.4.10 machine: >>> platform.mac_ver() ('10.4.9', ('', '', ''), 'i386') I have reproduced this on 4 other (Intel Mac) machines. I don't have access to a 10.4.10 PPC machine. ---------------------------------------------------------------------- >Comment By: Jack Jansen (jackjansen) Date: 2007-08-09 00:05 Message: Logged In: YES user_id=45365 Originator: NO Interesting problem! Mac_ver() basically uses gestalt() with a selector of 'sysv' and this will return '9' for the micro-version if it is 9 or greater. It could be fixed, according to <http://www.adobeforums.com/cgi-bin/webx?14@@.3bc49a09/0> by using three calls to gestalt() with selectors 'sys1', 'sys2' and 'sys3', which will return the three numbers correctly. I'm not sure whether these selectors are always available, will investigate. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1770190&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com