[issue36962] Cant sort ModuleInfo instances

Batuhan report at bugs.python.org
Sat May 18 23:30:36 EDT 2019


Batuhan <batuhanosmantaskaya at gmail.com> added the comment:

I think dataclasses can be used to do it with order, frozen true parameters. Also a __getitem__ is required for doesnt break anything.

----------

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


More information about the Python-bugs-list mailing list