Michael Felt <aixto...@felt.demon.nl> added the comment:
On 12/04/2019 17:34, STINNER Victor wrote: > STINNER Victor <vstin...@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 <rep...@bugs.python.org> > <https://bugs.python.org/issue36588> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36588> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com