In Tcl, there is a concept of stubs, where you can have a C extension that works with any compatible version of Tcl. Is there a comparable concept for Python?
I'd like to distribute a binary module that would run on Ubuntu 8.04 (python 2.5), Ubuntu 10.04 (python 2.6), and Centos 5 (python 2.4). I'd like to only have to distribute a 32 bit and a 64 bit version for Linux that would be compatible with all 3. I'd redistribute libstdc++ and compile for glib 2.7 which is forward compatible with glib 2.11.
stubstag, as it's previously been used just for stubs for unit testing. Alas.