G <[email protected]> added the comment:

What do you propose to do for objects outside your project?
Replace their __lt__ method with a context manager which replaces the original 
implementation, for lists at a time?

__lt__ is not good enough as a one-way-to-do-it solution.
issue4356 is also a good-enough solution for me, but __lt__ definitely isn't.

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

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37229>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to