[issue36588] change sys.platform() to just "aix" for AIX
Michael Felt
report at bugs.python.org
Fri Apr 12 17:16:21 EDT 2019
Michael Felt <aixtools at felt.demon.nl> added the comment:
On 12/04/2019 17:34, STINNER Victor wrote:
> STINNER Victor <vstinner at redhat.com> added the comment:
>
>> But, should I just continue standard practice (sys.platform), or would
>> this be a moment to move towards platform.system() (i.e., set the
>> example to be to use "run-time" rather than "build-time").
> Oh, now I'm confused :-) I checked the Python test suite: some tests use sys.platform == "linux" or sys.platform in ("linux", ...), some tests uses sys.platform.startswith("linux").
>
> In case of doubt, I suggest to do nothing :-) Leave the code unchanged :-)
Agreed, in case of doubt - leave alone (never change a winning team).
And, to make it a short reply - I'll get started, and we see where it
leads us.
Michael
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue36588>
> _______________________________________
>
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36588>
_______________________________________
More information about the Python-bugs-list
mailing list