Antoine Pitrou added the comment: Le 29/07/2014 07:09, Serhiy Storchaka a écrit : > > About your use case. Note that all indices after inserted element should be shifted. If you inserted more than one statement in the same ir_block, all but first insertions can be at wrong position.
Thanks for noticing! This is precisely why I'm not using indices, and why a regular sequence isn't fit for the use case. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22097> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com