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

2022-02-28 Thread Rotzbua
Rotzbua 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-t

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

2022-02-28 Thread Rotzbua
Change by Rotzbua : -- pull_requests: +29745 pull_request: https://github.com/python/cpython/pull/31621 ___ Python tracker <https://bugs.python.org/issue46

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

2022-02-28 Thread Rotzbua
Change by Rotzbua : -- keywords: +patch pull_requests: +29742 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31617 ___ Python tracker <https://bugs.python.org/issu

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

2022-02-28 Thread Rotzbua
New submission from Rotzbua : Problem: Both arguments `aliased` and `terse` should be boolean instead of integer. Description: The function is as `platform.platform(aliased=0, terse=0)` so both arguments `aliased` and `terse` seems to be numbers. The documentation says: "If aliased is