[issue2339] Backport intern() -> sys.intern()

Raymond Hettinger report at bugs.python.org
Mon Mar 17 22:44:49 CET 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Guido, do you want this alias in Py2.6?

Seems like it should just be a 2-to-3 fixer issue only.

Also, I vaguely remembered that we weren't going to expose interning at
all.  There was a discussion on python-dev a couple years ago where I
believe that we concluded that this is primarily an internal
optimization and that almost no pure python programs benefitted from
calling intern() directly. IOW, I thought this was dead as a public API.

----------
assignee:  -> gvanrossum
nosy: +gvanrossum, rhettinger

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2339>
__________________________________


More information about the Python-bugs-list mailing list