消息 [142379]
> The point is precisely that we don't change anything: applications
> checking against sys.platform are already broken, there's no reason to
> comfort them into using this defective check.
You grossly misunderstand the concept of "backwards compatibility".
At times, features get added to allow even buggy (or perceived-buggy)
applications to continue to work under a change.
> The applications that encountered the problem (chromium, matplotlib
> and probably others) already performed the change to
> sys.platform.startswith(), so it's really the only way to go.
I'm very certain that not all applications have been changed yet. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-08-18 17:43:34 | loewis | 修改 | recipients:
+ loewis, lemburg, barry, doko, amaury.forgeotdarc, gagern, 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-18 17:43:33 | loewis | 链接 | issue12326 messages |
| 2011-08-18 17:43:33 | loewis | 创建 | |
|