Message330647
> I’ve filed an issue in the past to change the platform name to “macosx”, but there were good arguments to not change the behavior at the time. The existence of iOS might change that though.
I'm not sure that we are talking about the same thing. I'm talking about sys.platform. Are you talking about platform.system()?
We might change platform.system(), but that change might be backward incompatible and I'm not sure that it's worth it.
--
Why only changing platform.platform()? See the doc:
.. function:: platform(aliased=0, terse=0)
Returns a single string identifying the underlying platform with as much useful
information as possible.
The output is intended to be *human readable* rather than machine parseable. It
may look different on different platforms and this is intended.
(...)
This string is for humans, and it is not machine parseable. So there is no risk of backward incompatibility. |
|
Date |
User |
Action |
Args |
2018-11-29 00:37:36 | vstinner | set | recipients:
+ vstinner, ronaldoussoren, ned.deily |
2018-11-29 00:37:36 | vstinner | set | messageid: <1543451856.31.0.788709270274.issue35344@psf.upfronthosting.co.za> |
2018-11-29 00:37:36 | vstinner | link | issue35344 messages |
2018-11-29 00:37:36 | vstinner | create | |
|