[Python-Dev] Re: Caching objects in memory

Facundo Batista facundobatista at gmail.com
Tue Apr 26 18:24:11 CEST 2005

On 4/26/05, Greg Ewing <greg.ewing at canterbury.ac.nz> 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

Thank you!

.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/

More information about the Python-Dev mailing list