deprecating parameters

Ivan Krstic krstic at fas.harvard.edu
Mon Jan 16 13:32:33 GMT 2006


Martin Pool wrote:
>   def foo(@deprecated init)
> but I don't know if you can even attach decorators to parameters. 

You can't; functions and methods only.

>  - 'nonce' might be a bit strange for people who are not native english
> speakers, and it's perhaps not used in the canonical technical sense of
> a one-time random value, and it might be confused with None

Agreed.

-- 
Ivan Krstic <krstic at fas.harvard.edu> | 0x147C722D




More information about the bazaar mailing list