New submission from Peter Bittner <peter.bitt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue39383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to