Message5176
From where I'm standing this looks like a bug in the gdata API. CPython
does intern these kinds of strings, but there are no guarantees in
Python as a language that this kind of interning will be done. The 'is'
comparator is an identity equals comparator, nothing else. And interning
of strings that look like identifiers is a performance optimization in
CPython, any code comparing strings with 'is'/'is not' when identity
equality isn't what they are after (this is almost never the case with
strings) is faulty. |
|
Date |
User |
Action |
Args |
2009-09-17 07:04:24 | thobes | set | messageid: <1253171064.67.0.39230556336.issue1471@psf.upfronthosting.co.za> |
2009-09-17 07:04:24 | thobes | set | recipients:
+ thobes, fwierzbicki, asnama |
2009-09-17 07:04:24 | thobes | link | issue1471 messages |
2009-09-17 07:04:24 | thobes | create | |
|