On 7 November 2017 at 21:13, Chris Barker <chris.bar...@noaa.gov> wrote: > the "only until first deletion" part is really hard -- I hope we don't go > that route. But I don't think insertion-order is non-obvious -- particularly > with literals.
But I thought we *had* gone that route. Actually, there's no "route" to go here. We're only talking about documenting the existing semantics that cPython has, and I thought that included no longer guaranteeing insertion order after a delete. Although I can't prove that by experiment at the moment. I don't know whether my confusion above is an argument for or against documenting the behaviour :-) Paul _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com