This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients jaraco, lemburg, steven.daprano
Date 2020-05-13.08:03:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589357013.1.0.00850977252561.issue40578@roundup.psfhosted.org>
In-reply-to
Content
I am closing this issue, since deprecations should really only be used when no other means are possible.

The namedtuples returned by platform.uname() do support index access and so any implementation change altering this is surprising and backwards incompatible, potentially breaking existing code which makes reasonable use of the index interface (the namedtuple and processor attribute was introduced in Python 3.3, so code written for prior versions may well still use the perfectly reasonable index approach).

You are essentially suggesting to change the return type, since you want to remove a standard tuple interface.
History
Date User Action Args
2020-05-13 08:03:33lemburgsetrecipients: + lemburg, jaraco, steven.daprano
2020-05-13 08:03:33lemburgsetmessageid: <1589357013.1.0.00850977252561.issue40578@roundup.psfhosted.org>
2020-05-13 08:03:33lemburglinkissue40578 messages
2020-05-13 08:03:32lemburgcreate