[Tutor] Python 2 & 3 and unittest
Albert-Jan Roskam
fomcl at yahoo.com
Thu Sep 5 23:37:26 CEST 2013
---- Original Message -----
> From: Don Jennings <dfjennings at gmail.com>
> To: Albert-Jan Roskam <fomcl at yahoo.com>
> Cc: Python Mailing List <tutor at python.org>
> Sent: Wednesday, September 4, 2013 4:15 PM
> Subject: Re: [Tutor] Python 2 & 3 and unittest
>
>
> On Sep 4, 2013, at 9:30 AM, Albert-Jan Roskam wrote:
>
>> Hi,
>>
>> I am trying to make my app work in Python 2.7 and Python 3.3 (one codebase)
> and I might later also try to make it work on Python 2.6 and Python 3.2 (if I am
> not too fed up with it ;-).
>
> You might like to read Armin Ronacher's (Flask, Jinja2) take on this topic
> [1].
>
> Take care,
> Don
>
> [1] http://lucumr.pocoo.org/2013/5/21/porting-to-python-3-redux
*Very* useful page, thanks! Also a cool example of a class decorator on that page. Python Modernize also sounds promising. I've downloaded it but did not yet try it.
More information about the Tutor
mailing list