On Mar 10, 9:11 pm, Matt Nordhoff <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> I believe Python automatically creates and caches int objects for 0-256, > >> so whenever you use them, they refer to the same exact objects. Since > >> ints are immutable, it doesn't matter. > > > One of the biggest hits on start-up time, by the way. ;) > > Well, the developers clearly decided it was worth it at the time. Who > knows, perhaps that's changed since then. > --
Matt, PDFTT. Cheers, John -- http://mail.python.org/mailman/listinfo/python-list