py3k feature proposal: field auto-assignment in constructors

Terry Reedy tjreedy at udel.edu
Mon Jan 28 23:01:20 EST 2008


"André" <andre.roberge at gmail.com> wrote in message 
news:e82b9c41-935d-45c9-8d7b-6bd3fa7eaae5 at i3g2000hsf.googlegroups.com...
|Here's a version that
|1. does not require new syntax
|2. does not *necessarily* override the "_" prefix convention

'self_' is way too bulky and intrusive.  Putting '_' at the end of the word 
is nearly as easy to detect and conflicts with no convention I know of.

tjr







More information about the Python-list mailing list