Message142418
As people keep stating how easy the change from sys.platform == 'linux2' to sys.platform.startswith('linux') is, e.g. msg142385, please also keep in mind cases like someDict.get(sys.platform) where the comparison is implicit and therefore a simple change to startswith won't do the trick. Seen that in the wild.
Besides that, I can only wholeheartedly agree to the points so eloquently described by Martin v. Löwis and James Y Knight. Thanks!
Let's please force it to 'linux2' for the next 2.7 and 3.2 releases, so people can use recent kernels without breaking (or having to rewrite) third-party apps. Let's also encourage distros to do the same for older releases, perhaps even suggesting patches. |
|
Date |
User |
Action |
Args |
2011-08-19 08:04:26 | gagern | set | recipients:
+ gagern, lemburg, loewis, barry, doko, amaury.forgeotdarc, foom, pitrou, vstinner, jwilk, djc, ezio.melotti, eric.araujo, Arfrever, r.david.murray, dmalcolm, sandro.tosi, rosslagerwall, python-dev, petri.lehtinen, Ramchandra Apte |
2011-08-19 08:04:26 | gagern | set | messageid: <1313741066.06.0.139876530965.issue12326@psf.upfronthosting.co.za> |
2011-08-19 08:04:25 | gagern | link | issue12326 messages |
2011-08-19 08:04:24 | gagern | create | |
|