[Python-ideas] [Python-3000] PEP 3107 Function Annotations: overloadable ->

Tony Lownds tony at PageDNA.com
Mon Jan 1 23:28:11 CET 2007

On Jan 1, 2007, at 2:03 PM, Josiah Carlson wrote:

> To Tony and Kay, my short answer is: use __returns__ .


Talin's arguments for a consistent semantic make me think
that __implies__ would be a bad idea (among other things).

Is anyone against "->" overloadable as __returns__ /__rreturns__
with no semantics for existing types?


More information about the Python-ideas mailing list