[Python-ideas] Suggestion for standardized annotations

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 6 05:46:46 CET 2014


CFK wrote:
> then it shouldn't be too hard 
> for a project to add its own UUID to the annotation dictionary.

I can't see what benefit there is in bringing UIIDs into
the picture.

If you're suggesting that people write the UUIDs directly
into their code as literals, that's *not* going to fly.
It would be appallingly ugly and error-prone.

The only way to make it usable would be to import the
UUIDs from somewhere under human-readable names. But then
there's no need to use UUIDs, any set of unique sentinel
objects will do.

-- 
Greg


More information about the Python-ideas mailing list