5 May
2013
5 May
'13
7:18 p.m.
Hi Amaury, On Sun, May 5, 2013 at 1:38 PM, Amaury Forgeot d'Arc <amauryfa@gmail.com> wrote:
Strings are not always cached; with CPython2.7:
x = u'é'.encode('ascii', 'ignore') x == '', x is '' (True, False)
That's true, there are such cases, but that's partially irrelevant for this issue: strings that *sometimes,* or *often,* end up with the same id() in CPython. Should they also end up with the same id() in PyPy? A bientôt, Armin.