[issue39383] Mention Darwin as a potential value for platform.system()
New submission from Peter Bittner <peter.bittner@gmx.net>: The platform module's documentation mentions 'Linux', 'Windows' and 'Java' explicitly as values for `platform.system()`. https://docs.python.org/3/library/platform.html#platform.system Given the popularity of macOS among developers, this gives the impression that the module won't detect 'Darwin' as a separate system type; developers may suspect this will be identified also as a "Linux-y" system (or so). Hence, 'Darwin' should be mentioned explicitly as one of the possible values. ---------- assignee: docs@python components: Documentation messages: 360248 nosy: bittner, docs@python priority: normal pull_requests: 17448 severity: normal status: open title: Mention Darwin as a potential value for platform.system() type: enhancement versions: Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
Change by Brett Cannon <brett@python.org>: ---------- priority: normal -> low _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
Ned Deily <nad@python.org> added the comment: New changeset 8d57a4182f0aa68e16d66dea31ba59e732612b4f by Ned Deily (Peter Bittner) in branch 'master': bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054) https://github.com/python/cpython/commit/8d57a4182f0aa68e16d66dea31ba59e7326... ---------- nosy: +ned.deily _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- keywords: +patch pull_requests: +17480 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18088 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +17481 pull_request: https://github.com/python/cpython/pull/18089 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 3da839046359644f286195f5126035e162440af1 by Miss Islington (bot) in branch '3.7': bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054) https://github.com/python/cpython/commit/3da839046359644f286195f5126035e1624... ---------- nosy: +miss-islington _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset c1964e09421e7ab61179eb4e2691e858a50d70e5 by Miss Islington (bot) in branch '3.8': bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054) https://github.com/python/cpython/commit/c1964e09421e7ab61179eb4e2691e858a50... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
Ned Deily <nad@python.org> added the comment: Thanks for the PR! ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> versions: +Python 3.7, Python 3.8 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39383> _______________________________________
participants (4)
-
Brett Cannon -
miss-islington -
Ned Deily -
Peter Bittner