py3k feature proposal: field auto-assignment in constructors

Paul McGuire ptmcg at austin.rr.com
Sun Jan 27 20:17:04 EST 2008


On Jan 27, 6:13 pm, "Terry Reedy" <tjre... at udel.edu> wrote:
>
> I think this version, with this name convention, is nice enough to possibly
> go in the stdlib if there were an appropriate place for it.  Not sure where
> though.  If there were a classtools module....
>
> tjr

+1

I thought at one time there was to be a "decorators" module in the
stdlib for just this kind of useful item.  At minimum, you could post
this to the Python wiki at http://wiki.python.org/moin/PythonDecoratorLibrary.

-- Paul




More information about the Python-list mailing list