tuple type support
a more general idea is to support tuple type, below is one application of that.
this is a rather special idea, but it could be useful for everybody who deals with indexing and search for versions (or ranges of versions).
if you have versions like 1.0.1, 1.0.2a1, 1.0.2b2, 1.0.2, 1.0.10 (see PEP386), you need special support for sorting and comparing them correctly, which is representing them as tuples and use tuple comparison.
I have written some code to correctly deal with versions (can be relicensed):
Of course it is likely impossible to support everybody's different ways to create version numbers, but this would at least cover some schemes as used in the python world.
Here is some other code:
Note: we have a GSOC project for implementing a ticket system / issue tracker within moin2. :)