IsString

Alex Martelli aleax at mail.comcast.net
Sat Dec 17 22:47:57 EST 2005


Steven D'Aprano <steve at REMOVETHIScyber.com.au> wrote:

> If you think about Python
> as if it were C or Java, you will forever be confused about its behaviour.

Thinking of it as Java actually works great here.

> Understand Python's call by object behaviour, and it will all make sense.

Java's behavior is identical, excepting only Java's "primitives" (e.g.
floats), but definitely identical e.g. for strings (also immutable) and
class instances (normally mutable).


Alex



More information about the Python-list mailing list