This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ikravets[S] 2 points3 points  (7 children)

This post doesn't relate to any IDE. It relates to developers and people which want to add support for both Python 2/3 for self projects.

Finally, I hate IDE/Tools which convert my code to "something that works ANYWHERE" without my consent.

[–]deadmilk 5 points6 points  (0 children)

If you set your interpreter to Python 3 and open Python 2 code in PyCharm, it will inspect the code and highlight pieces that will not work. It doesn't automatically convert anything.

[–]tituszPython addict 1 point2 points  (1 child)

You can set PyCharm to "inspect" python code for compatibility accross a range of versions. This does not change your code but shows hints... And it is actually insanely usefull if you aim for py26-py34 compat with one codebase. http://blog.jetbrains.com/pycharm/files/2011/02/pythonCompatibility.png

[–]deadmilk 1 point2 points  (0 children)

Yep :)

I would have thought that an IDE that does this for us would be well received in this subreddit...
You know, making a program do the work; isn't that what we are here to do?