Pass-by-reference : Could a C#-like approach work in Python?
Daniel Dittmar
daniel.dittmar at sap.com
Tue Sep 23 05:53:52 EDT 2003
More information about the Python-list mailing list
Tue Sep 23 05:53:52 EDT 2003
- Previous message (by thread): Pass-by-reference : Could a C#-like approach work in Python?
- Next message (by thread): GET and POST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing (using news.cis.dfn.de) wrote: > However, as a convenience, we might want to allow the 'ref' > keyword to be usable on the left hand side of an expression > as well, in a kind of "unpacking" sense, so that > > ref x = xref > x = y > > would be equivalent to > > xref.set(y) You're moving too close to overloadable assignment for my taste (as a magical __assign__ method wouldn't even require the ref syntax). Don't mention this when impressionable kids are around. Daniel
- Previous message (by thread): Pass-by-reference : Could a C#-like approach work in Python?
- Next message (by thread): GET and POST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list