On Sun, May 15, 2011 at 1:53 PM, Terry Reedy <tjre...@udel.edu> wrote: > On 5/15/2011 6:46 AM, Christoph Groth wrote: <snip> >> But hey, they keys of my dictionary are actually strings, so I can use >> the built-in intern. Somehow, I have never stumbled accross this >> built-in function so far. > > It was, however, removed in 3.x as a seldom-externally-used internal > implementation detail.
Still exists in sys module though: http://docs.python.org/dev/library/sys.html#sys.intern Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list