Fixing tests
Posted Apr 12, 2012 20:50 UTC (Thu) by
man_ls (subscriber, #15091)
In reply to:
Fixing tests by spaetz
Parent article:
Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3 security release
Why, OrderedDicts didn't exist when I began coding eLyXer (and Python in general). Even if they had, they are new in Python 3.1 and I am still using Python 2. And I wanted to maintain compatibility back to Python 2.4 (Debian oldstable at the time), now back to Python 2.5.
Also, I did not know that I might eventually need insertion order at the time. I am guessing that also pure inertia might have played a role, although if OrderedDicts keep the same interface (and it appears that they do) that would make the switch quite painless. So I have at least three good reasons and two good excuses :)
(
Log in to post comments)