J2 decorator grammar

Ville Vainio ville at spammers.com
Mon Aug 23 14:00:55 EDT 2004


>>>>> "Francois" == François Pinard <pinard at iro.umontreal.ca> writes:

    Francois> I'm not especially crusading for `with', but it has the
    Francois> advantage that it will likely become a keyword in some
    Francois> later version of Python, and likely also, will be used
    Francois> in `with SOMETHING:' and not barely as `with:'.

    Francois> Reserving a keyword is a lengthy process, like it was
    Francois> demonstrated by the progressive implementation of
    Francois> `yield'.  So using `with' here would be a nice
    Francois> investment for the future in that regard.

If that is an advantage rather than drawback (i.e. BDFL doesn't
disagree w/ 'with' having a dual purpose), I'm all for 'with'. The
less keywords we have, the better.

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list