python-2.1 function attributes
Michael Hudson
mwh21 at cam.ac.uk
Wed Jan 24 12:49:44 EST 2001
Mike Romberg <romberg at smaug.fsl.noaa.gov> writes:
> I've been messing around with python-2.1a1 and have discovered the
> new feature 'function attributes'. The project I'm currently working
> on can really use this feature. The feature itself would be much more
> useful if one could predefine a set of attributes with the function
> definition. This is one of the things mentioned in the 'future
> directions' sections of pep 232
>
> http://python.sourceforge.net/peps/pep-0232.html
>
> So... I guess I'd like to put in one 'yes' vote for this extension :).
I suspect if you can come up with a decent syntax, it will go in. I
can't though. Any ideas?
Cheers,
M.
--
The ability to quote is a serviceable substitute for wit.
-- W. Somerset Maugham
More information about the Python-list
mailing list