[issue35346] Modernize Lib/platform.py code

Serhiy Storchaka report at bugs.python.org
Thu Nov 29 16:54:39 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

While we are here, look at other outdated code:

* Top-imported warnings is not used.
* struct.calcsize('P') is always success.
* plistlib is always available.

Should we keep compatibility with 2.7?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35346>
_______________________________________


More information about the Python-bugs-list mailing list