On Fri, Jun 15, 2012 at 11:24 PM, Larry Hastings wrote:
> There are four more candidates I found with the grep but couldn't figure out
> how to instantiate and test. They have to do with the descriptor protocol,
> aka properties, but the types aren't directly exposed by Python. They're
> all def
On 2012-06-15, at 5:24 PM, Larry Hastings wrote:
[snip]
> I'm happy to do the work, but I don't have a good sense of which callables
> need a __signature__ attribute. Can someone here tell me which ones might
> need a __signature__ attribute?
I think may we need to be able to write __signature_
One wrinkle of PEP 362 in CPython is callables implemented directly in
C. Right now there's no good way to generate such signatures
automatically. That's why we kept __signature__ in the spec, to allow
implementors to generate signatures by hand for these callables.
But the wrinkle gets w