Yury Selivanov added the comment:

> That's one way of looking at it. The way I see it is that CPython's builtin
> functions should rather behave exactly like Python functions. The fact that
> there is such a thing as a "__text_signature__" and general special casing
> of builtins is IMHO a rather annoying but truly long standing bug. The only
> necessary difference is that one of them contains byte code and the other
> doesn't, everything else should eventually be aligned.

I see your point. I think that modifying 'from_builtin' as I suggested in my 
previous comment is the right thing to do. I'll make a new patch soon.

----------

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

Reply via email to