[Python-3000] What's the point of annotations?

Tony Lownds tony at PageDNA.com
Thu Jan 4 00:46:42 CET 2007


On Jan 3, 2007, at 1:59 PM, Collin Winter wrote:

> On 1/2/07, Phillip J. Eby <pje at telecommunity.com> wrote:
>> For example, interfacing to at least Java and Objective C have  
>> also been
>> mentioned as use cases, and I can think of a variety of other uses  
>> such as
>> database query mapping, predicate logic functions, and web or  
>> other types
>> of RPC parameter marshalling.
>
> Several people have emailed me off-list and mentioned a number of
> other use-cases that I hadn't thought of, which is what I was looking
> for. I'm now convinced that there's a sufficiently broad spectrum of
> uses for annotations. I'll be working up a patch for PEP 3107 that
> will include a "possible use cases" section.
>
> Consider my objection dropped.
>

Whew! :)

Collin can you remove the use of types in examples at the same time?
I'll have some time tonight to finish those edits if you don't...

Thanks
-Tony





More information about the Python-3000 mailing list