[issue46882] Clarify argument type of platform.platform(aliased, terse) to boolean

Rotzbua report at bugs.python.org
Mon Feb 28 13:49:58 EST 2022


Rotzbua <bugs.python.org at kryx.de> added the comment:

Thanks for pointing out the logical change from "true" to "True".
I do not want to start a discussion about principles.

Nevertheless I think a change from `platform(aliased=0, terse=0)` to `platform(aliased=False, terse=False)` makes the how-to-use more intuitive.

The change does not change any function behavior or breaks any backwards compatibilities.

I created a new PR without the change of "true".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46882>
_______________________________________


More information about the Python-bugs-list mailing list