Rémi Lapeyre <[email protected]> added the comment:
This does not do what you want:
>>> class MyInt(int): pass
>>> wibble(MyInt(4), MyInt(2))
2.0
and a patch is only needed if something is broken.
I'm with vstinner of the opinion that nothing is broken and vote to close this
issue.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35698>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com