Modifying Class Object

Steve Howell showell30 at
Sun Feb 14 03:54:34 CET 2010

On Feb 13, 6:41 pm, a... at (Aahz) wrote:
> In article <hl6ilk$f7... at>,
> Alf P. Steinbach <al... at> 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