[Python-3000] in-out parameters
Terry Reedy
tjreedy at udel.edu
Sun Apr 30 06:01:02 CEST 2006
"Rudy Rudolph" <rudyrudolph at excite.com> wrote in message
news:20060430005356.3DA9B8B34E at xprdmxin.myway.com...
>
> One thing that has always bothered me about Python is the lack of in-out
> parameters. Python is such a wonderful object-oriented language, but it
> lacks
> this feature that nearly every language has. Maybe we can fix this in
> 3.0.
-1
a. Not needed because Python allows one to return multiple values (forming
a tuple) instead of just one.
b. Not needed because Python already has them: any mutable arg. Under the
CPython covers, the current pass-by-name-binding amounts to pass by
reference as some define it.
Terry Jan Reedy
More information about the Python-3000
mailing list