On 05 December 2001, Jack Jansen said: > Anyway, where sys.platform used to be "darwin1" upto and including 10.1.0 it > is now "darwin5" for 10.1.1 (and it will go up to "darwin6" for 10.2, etc). > > I am of a mind to take the "1" out of sys.platform, so that it becomes > "darwin". +1 from me. If we could turn the clock back 5 or 6 years, I would also do the same on Linux. Note that I share Marc-André's dim view of tacking the first digit of the kernel version number (or whatever) onto sys.platform -- the Distutils has Yet Another way of creating platform descriptions. It's more complex than sys.platform, but quite a lot less fancy than Marc-André's platform.py. See distutils.util.get_platform(), if you're curious. Greg -- Greg Ward - Linux weenie gward@python.net http://starship.python.net/~gward/ Never put off till tomorrow what you can put off till the day after tomorrow.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4