Guido van Rossum <gu...@python.org> added the comment:

It's not necessary for complex() and bytes() to call the special methods if the 
argument's type is exactly complex or bytes (respectively) -- these cases are 
already taken care of by the current code.  But adding these special methods 
enables other code to be more regular, without having to test for the special 
cases.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue24234>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to