[Python-Dev] PEP 318 and syntax coloring

Skip Montanaro skip at pobox.com
Mon Mar 29 07:28:48 EST 2004


    Greg> def [type2trans] foo(args) [type1trans, type1trans...]:
    Greg> ...
    Greg> 
    Greg> or
    Greg> 
    Greg> def foo [type2trans] (args) [type1trans, type1trans...]:

    Tim> Hmm - this seems like it has possibilities. Since we could only
    Tim> have one decorator that returned a descriptor, we could dispense
    Tim> with the [] on those ...

Has anyone considered the side effect of any of these proposals would have
on auxiliary tools like syntax-directed editors, other code colorizers, etc?

Skip



More information about the Python-Dev mailing list