Why has python3 been created as a seperate language where there is still python2.7 ?

Chris Angelico rosuav at gmail.com
Wed Jun 27 09:44:54 EDT 2012


On Wed, Jun 27, 2012 at 11:15 PM, Christian Tismer <tismer at stackless.com> wrote:
> So what I would have done is to let it work in an imperfect way. People
> then have the chance to rewrite with the print function, where it makes
> sense. But old packages which need to be changed, only because they
> have lots of
>
>    if DEBUG:
>        print xxx, yyy, ...
>
> could just stay unchanged or migrated later after the real meat has
> been properly tested etc.

Far as I can tell, these sorts of things ought all to be handled by
2to3. No problem once you're looking at migrating.

ChrisA



More information about the Python-list mailing list