[Martin Blais] > Now, it's not all about storage space. What about front-insertion? > Everytime I have to type L.insert(0, bli), somewhere that I know runs > "often" I cringe. If I had lists I would be able to express my > thoughts more clearly in the computer program. Right now, I cringe, > and then I just shrug.
Doesn't collections.deque() meet your front-insertion needs? Raymond _______________________________________________ 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