Jason R. Coombs <jar...@jaraco.com> added the comment:

In https://github.com/jaraco/cpython/tree/bc73729eb9, I started drafting a 
proposed implementation to address this concern, but ran into a snag - the 
tests immediately reveal that `tuple(platform.uname())` invokes `__len__`, 
triggering the deprecation warning... so deprecating it while supporting 
`tuple(result)` may not be possible.

----------

_______________________________________
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