soimort/python-romkan — pull request #2 by leoboiko (2013-02-25 10:44:16+00:00)
Title: Python 3.1 support

Hi,

Sorry to bother again with compatibility issues, but romkan isn't building in old Python 3.1 , because that Python has no functools.cmp_to_key() . I put together a simple fix (I simply copied the function from 3.2 if the import fails), and now the tests run. If you think it's useful, here it is :)