On Sun, Oct 01, 2006 at 02:01:51PM -0400, Jean-Paul Calderone wrote: > Each line in an interactive session is compiled separately, like modules > are compiled separately. With the current implementation, literals in a > single compilation unit have a chance to be "cached" like this. Literals > in different compilation units, even for the same value, don't.
That makes sense - thanks for the explanation! -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com