Reply to post: Why didn't they...

For real this time, get your butt off Python 2: No updates, no nothing after 1 January 2020


Why didn't they...

Make a simple transition tool. Takes in "python 2(.7)" and emits "python 3". The parser for python2.x already exists, just change what it outputs. Sure it might not be "optimal", but it ought to work. If it doesn't (something that doesn't translate) emit a nice message and a couple of suggestions, and let it go.

Sounds like the way to go for me.

Of course, I prefer nice ANSI C89, which doesn't have such fluff as '//' comments and the like (and MISRA seems to agree!). Of course YMMV!

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2021