Ned Batchelder <n...@nedbatchelder.com>:

> It's an extreme case, but the latest released version of coverage.py
> supports Python 2.3 through 3.3 with one code base. To do it, there's
> a compatibility layer (akin to six). Then you stay away from features
> that aren't available on all versions. In a few places, you might need
> to have version checks, and the code can get a little idiomatic to
> continue to work.

Well, with proper care, I suppose the same code base could support perl
as well. ;)


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to