"Greg Ewing" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Marcin Qrczak Kowalczyk wrote: > What about lists? I guess (haven't checked) that they are made like > tuples.
I always thought they were built one item at a time, but I was wrong (see below). So there doesn't seem to be much logic or consistency here at all. ==================== Would it be possible to consistently build all such builtin collections in bunches of say 256 items (or 128 pairs)? Such a 'compromise' between the efficient 'all-at-once' and the safer 'one-at-a-time' methods would effectively be 'all-at-once' for perhaps 99% of literals without imposing arbitrary limits on extreme cases. tjr
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com