As a former Perl programmer, dabbling in Python, I keep getting reminded how awesome Perl is.
For example: I'm collecting some stats indexed by (small) ints. In Perl, I'd just say
$collection[$index] = $stat;
Try that in Python when $index is not received in order.Edit: Fixed typo; meant "$stat" and not "%stat"