Replying to myself... the first step towards perdition... Steven D'Aprano wrote: > We really don't know what the optimization recognises, how it works, or > how fast a difference it makes. Of course, by "we" I mean "those of us who haven't seen and understood the CPython source code, or run detailed benchmarks". -- Steven.