On 8/16/06, Collin Winter <[EMAIL PROTECTED]> wrote: > Sorry, I meant "restrict" as in having it stated that the annotations > are for typechecking, rather than attempting to support a dozen > different uses simultaneously. The annotations would still be > free-form, with the semantics up to whoever's implementing the > __typecheck__ function, and Python itself wouldn't take any steps to > enforce what can or can't go in the annotations.
-1. Th annotations should be available for whatever the user wants to use them for. Remember, lots of folks do *not* use shared frameworks -- the only framework they care about is the one they write for themselves, and they should not feel guilty about using annotations for whatever metadata they need. To take up an old rule from the X11 world, the language should provide mechanism without policy. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com