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 :-) ---------- _______________________________________ 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