[Python-ideas] Was: Annotations (and static typing), Now:Sharing __annotations__

Chris Angelico rosuav at gmail.com
Mon Aug 25 01:22:51 CEST 2014


On Mon, Aug 25, 2014 at 9:17 AM, Cem Karan <cfkaran2 at gmail.com> wrote:
> @doc(a, "docs about a")
> @type(a, set(range(10)))
> def foo(a):
>         pass

If this is your proposal, then how do UUIDs even help? You already
effectively piggy-back off the standard module import system for
uniqueness. Surely that's going to do everything that UUIDs would?

ChrisA


More information about the Python-ideas mailing list