Author Michael.Felt
Recipients Michael.Felt, vstinner
Date 2019-04-12.21:16:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <3c5bf290-35a7-4a5c-8620-6a2f047393a4@felt.demon.nl>
In-reply-to <1555083267.95.0.233880230697.issue36588@roundup.psfhosted.org>
Content
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>
> _______________________________________
>
History
Date User Action Args
2019-04-12 21:16:21Michael.Feltsetrecipients: + Michael.Felt, vstinner
2019-04-12 21:16:21Michael.Feltlinkissue36588 messages
2019-04-12 21:16:21Michael.Feltcreate