Message340112
On 12/04/2019 17:34, STINNER Victor wrote:
> STINNER Victor <vstinner@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@bugs.python.org>
> <https://bugs.python.org/issue36588>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2019-04-12 21:16:21 | Michael.Felt | set | recipients:
+ Michael.Felt, vstinner |
2019-04-12 21:16:21 | Michael.Felt | link | issue36588 messages |
2019-04-12 21:16:21 | Michael.Felt | create | |
|