[Python-Dev] (no subject)
Phillip J. Eby
pje at telecommunity.com
Tue Mar 15 18:04:55 CET 2005
At 10:36 PM 3/15/05 +1000, Nick Coghlan wrote:
>Phillip J. Eby wrote:
>>I discussed this approach with Guido in private e-mail a few months back
>>during discussion about an article I was writing for DDJ about
>>decorators. We also discussed something very similar to 'update_meta()',
>>but never settled on a name. Originally he wanted me to PEP the whole
>>thing, but he wanted it to include optional type declaration info, so you
>>can probably see why I haven't done anything on that yet. :)
>>However, if we can define a __signature__ format that allows for type
>>declaration, I imagine there'd be little problem with moving forward on it.
>But one of the reasons for providing 'update_meta' is so that additional
>metadata (like __signature__) can later be added transparently.
>Does deciding whether or not to supply the function really need to be
>dependent on whether or not a format for __signature__ has been chosen?
Um, no. Why would you think that?
More information about the Python-Dev