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, rosslagerwall, vstinner
Date 2011-06-22.10:37:09
SpamBayes Score 2.65123e-06
Marked as misclassified No
Message-id <20110622123708.126cef04@msiwind>
In-reply-to <>
> So people who say sys.platform shouldn't be used: what do you propose to
> do with Lib/plat-linux2 (or, more generally, Lib/plat-*)?

These directories look useless to me.
(IIRC, putting an obvious syntax error there does not trigger any failure
in the regression suite, showing that they are never imported)

That's orthogonal to whether sys.platform should be used or not, however.
During the language summit, someone (Marc-André) brought an interesting
point: the platform does external calls to system commands such as "uname",
which can be time-consuming.

We should at least document an example of using sys.platform.startswith()
rather than exact comparison.


Date User Action Args
2011-06-22 10:37:10pitrousetrecipients: + pitrou, lemburg, loewis, amaury.forgeotdarc, vstinner, jwilk, ezio.melotti, eric.araujo, Arfrever, neologix, rosslagerwall, petri.lehtinen
2011-06-22 10:37:09pitroulinkissue12326 messages
2011-06-22 10:37:09pitroucreate