[issue40570] len(platform.uname()) has changed in Python 3.9
Jason R. Coombs
report at bugs.python.org
Sat May 9 10:08:22 EDT 2020
Jason R. Coombs <jaraco at jaraco.com> added the comment:
Thanks Marc-Andre for the suggestion, but I don't think that approach is viable here. The whole point of issue35967 was to defer the execution of the `.processor` behavior until it was requested. The intention is not to extend the tuple, but to shorten it (at least not to require the last element to be provided at construction time). Perhaps I'm missing something here, so feel free to provide a more concrete example of what you have in mind. Just be cautious not to violate the intention (https://github.com/python/cpython/blob/77c614624b6bf2145bef69830d0f499d8b55ec0c/Lib/platform.py#L784-L787).
I created issue40578 to track deprecation of uname for positional access.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40570>
_______________________________________
More information about the Python-bugs-list
mailing list