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 vstinner
Recipients ned.deily, ronaldoussoren, vstinner
Date 2018-11-29.00:37:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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:36vstinnersetrecipients: + vstinner, ronaldoussoren, ned.deily
2018-11-29 00:37:36vstinnersetmessageid: <>
2018-11-29 00:37:36vstinnerlinkissue35344 messages
2018-11-29 00:37:36vstinnercreate