Steve Holden wrote:
> Does PHP really keep only one copy of every string?
Not at all.
I might have said something confusing if you understood that...
> So, don't try to translate concepts from one language to another.
>
> --
> Gabriel Genellina
I'll try ;]
--
http://mail.python.org/mailman/lis
Everything's clear now.
Thanks all (especially Christian and Tino) :]
--
http://mail.python.org/mailman/listinfo/python-list
Gary Herron wrote:
> The question now is: Why do you care? The properties of strings do
> not depend on the implementation's choice, so you shouldn't care because
> of programming considerations. Perhaps it's just a matter of curiosity
> on your part.
>
> Gary Herron
Well, it's not about curio
After reading the discussion about the same subject ( From: "Thomas
Moore" Date: Tue, 1 Nov 2005 21:45:56
+0800 ), I tried myself some tests with some confusing results (I'm a
beginner with Python, I'm coming from PHP)
# 1. Short alpha-numeric String without space
a = "b747"
b = "b747"
>>> a