This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Arfrever, amaury.forgeotdarc, eric.araujo, ezio.melotti, jwilk, lemburg, loewis, neologix, petri.lehtinen, pitrou, r.david.murray, rosslagerwall, vstinner
Date 2011-06-27.08:39:51
SpamBayes Score 5.249123e-09
Marked as misclassified No
Message-id <20110627103946.13f4cd1d@msiwind>
In-reply-to <4E0839AF.2090106@v.loewis.de>
Content
Le Mon, 27 Jun 2011 08:05:05 +0000,
Martin v. Löwis <report@bugs.python.org> a écrit :
> 
> What I'm advocating is to special-case Linux (and any other system
> where major version numbers don't mean much).

Actually, it would itself break compatibility, because sys.platform would
jump from "linux2" to "linux" from one Python release to another. It would
therefore only be applicable, at best, to 3.3.

I think we should at least document the idiom of using
"sys.platform.startswith(...)", and mention the platform module as an
alternative. This can be done in all doc versions without breaking
anything, and in time for Linux 3 :)
History
Date User Action Args
2011-06-27 08:39:52pitrousetrecipients: + pitrou, lemburg, loewis, amaury.forgeotdarc, vstinner, jwilk, ezio.melotti, eric.araujo, Arfrever, r.david.murray, neologix, rosslagerwall, petri.lehtinen
2011-06-27 08:39:51pitroulinkissue12326 messages
2011-06-27 08:39:51pitroucreate