STINNER Victor <vstin...@redhat.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35344>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to