On 4/26/05, Greg Ewing email@example.com wrote:
Also, string literals that resemble Python identifiers are often interned, although this is not guaranteed. And this only applies to literals, not strings constructed dynamically by the program (unless you explicitly apply intern() to them).
This simplifies the whole thing.
If the issue arises again, my speech will be: "Don't worry about that, Python worries for you". :D
And I *someone* in particular keeps interested in it (I'm pretty sure the whole class won't), I'll explain it to him better, and with more time.