FYI, I backported abc to 2.4 and put it inside sdetools (didn't touch anything, it was completely portable and compatible with 2.4, just not included by default). The import takes it from sdelib which handles import on 2.4 and 2.6 differently.