We currently require Python 2.4, and have a bit of special code for Python older than 2.6. I could use a module that's available since 2.6.
Python 2.4 is from 2004. We require GLib 2.22, which from 2009. Makes me suspect we don't actually support any system with such an old Python anymore. I vaguely remember we settled for GLib 2.22 due to some version of SLES. If that's correct: what version of Python does it provide?