Marc-Andre Lemburg <m...@egenix.com> added the comment: Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg <m...@egenix.com> added the comment: > > Brian Curtin wrote: >> >> Brian Curtin <cur...@acm.org> added the comment: >> >> I'll look into whatever other trickery could be applied to 2.6/3.1. >> >> The patch against trunk works correctly for Win7, Win 2003 Server SP1, Win >> XP SP2, and Win 2000 Server SP2. platform.platform() outputs the same info >> for the latter three OSes whether or not the patch is applied. >> >> The csd change will work going back to Windows 2000. If we have to support >> anything prior, which I don't believe we do, then you are correct that it >> won't work. If that's an issue, I can revert that part of the change. > > Python 2.7 doesn't support Windows NT, so we should be fine if the > patch can handle Windows 2000 and later. > > See http://www.python.org/dev/peps/pep-0011/
Hmm, then again: platform.py supports more than just the latest Python release, so it's better to only use the new csd approach for Python versions that do support the new windows version named tuple return value and fallback to the old style on all other versions. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7863> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com