Marc-Andre Lemburg <m...@egenix.com> added the comment:

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.

----------
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40578>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to