Disable automatic interning
R. David Murray
rdmurray at bitdance.com
Wed Mar 18 14:13:40 EDT 2009
George Sakkis <george.sakkis at gmail.com> wrote:
> Is there a way to turn off (either globally or explicitly per
> instance) the automatic interning optimization that happens for small
> integers and strings (and perhaps other types) ? I tried several
> workarounds but nothing worked:
No. It's an implementation detail.
What use case do you have for wanting to disable it?
--
R. David Murray http://www.bitdance.com
More information about the Python-list
mailing list