[ZPT] tal:repeat over the sorted keys of a dictionary

Dieter Maurer dieter at handshake.de
Fri Jul 25 21:59:39 EDT 2003


Fred L. Drake, Jr. wrote at 2003-7-25 11:52 -0400:
 > ...
 > but that would break a Python consistency rule
 > in a fundamental way ("if you're calling it for a side effect, don't
 > return anything").

This is broken anyway: e.g. by "list.pop"...


Dieter



More information about the ZPT mailing list