Modifying Class Object

Steve Howell showell30 at yahoo.com
Sat Feb 13 21:54:34 EST 2010


On Feb 13, 6:41 pm, a... at pythoncraft.com (Aahz) wrote:
> In article <hl6ilk$f7... at news.eternal-september.org>,
> Alf P. Steinbach <al... at start.no> wrote:
>
>
>
> >My original statement, with reference to the Java language spec,
> >didn't say much more about the language than that it has assignable
> >references.
>
> Assuming this is what you're referring to:
>
>     Python passes pointers by value, just as e.g. Java does.
>
> Then you are simply, completely, totally, and absolutely wrong.  Period.
> Regardless of how CPython manages its state internally, Python as a
> programming language does not have pointers.  

I agree with your statement for a suitably narrow definition of the
words "pointer" and "have."



More information about the Python-list mailing list