is implemented with id ?

Aahz aahz at pythoncraft.com
Sun Nov 4 01:08:08 EDT 2012


In article <50959827$0$29967$c3e8da3$5496439d at news.astraweb.com>,
Steven D'Aprano  <steve+comp.lang.python at pearwood.info> wrote:
>
>Actually, for many applications, the space "savings" may actually be 
>*costs*, since interning forces Python to hold onto strings even after 
>they would normally be garbage collected. 

That's old news, fixed in 2.5 or 2.6 IIRC -- interned strings now get
collected by refcounting like everything else.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"....Normal is what cuts off your sixth finger and your tail..."  --Siobhan



More information about the Python-list mailing list