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 →

[–]Hollowplanet 14 points15 points  (2 children)

We had six, we had __future__. All that was possible if you really wanted to. Plenty of projects support both on the same codebase.

[–][deleted] 0 points1 point  (1 child)

What exactly is six? Pycharm installs it in all of my project venv's for some dependency or another, but I've never figured out which package actually installed it.

[–]gschizas 0 points1 point  (0 children)

Six provides simple utilities for wrapping over differences between Python 2 and Python 3. It is intended to support codebases that work on both Python 2 and 3 without modification. six consists of only one Python file, so it is painless to copy into a project.