running python 2 vs 3

Ned Batchelder ned at
Thu Mar 20 22:31:58 CET 2014

On 3/20/14 4:59 PM, Marko Rauhamaa wrote:
> Ned Batchelder <ned at>:
>> It's an extreme case, but the latest released version of
>> 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. ;)

I'm not sure how to take this comment.  I feel like you are mocking my 
choice.  I wanted to make available to as broad an audience 
as possible, something that I think is worthwhile.  Yes, there was an 
engineering cost, but the tradeoff was worth it.

> Marko

Ned Batchelder,

More information about the Python-list mailing list