Shall I worry about python2/3 compatibility when using library?

Chris Angelico rosuav at gmail.com
Fri Aug 31 02:26:55 EDT 2018


On Fri, Aug 31, 2018 at 3:50 PM, Cameron Simpson <cs at cskk.id.au> wrote:
> And aim for Python 2.7 - this goes a long way to making 2 and 3 easy to work
> with. The fursther back you go in 2.x the harder it gets.

Yep; also, aim for 3.5+, since you get the ability to write u"..."
(from 3.3) and b"..."%... (from 3.5). That can make your life quite a
bit easier.

ChrisA



More information about the Python-list mailing list