News for hackers. Stuff that matters.
Re:Pip has dropped support for Python 2 by gdwatson on Sunday January 24, 2021 @12:34AM (#25889597)
Single-codebase compatibility means that the same code can run under both Python 2 and Python 3.

The initial expectation was that translation tools would solve this problem, but it didn’t really work out that way. Adding language features and library shims to make it possible to write pidgin Python that would run under either version meant that you could migrate libraries and parts of large codebases one at a time until the whole thing ran under Python 3.

Re:Pip has dropped support for Python 2 by dwheeler on Sunday January 24, 2021 @01:09AM (#25889767)
That's the main working solution I found: code works in both versions.

The problem is that it's way trickier than it should be. Has they made that relatively easy, the Python 2->3 transition would have had a much smoother "normal" upgrade process.

Re:Pip has dropped support for Python 2 by uranusjr on Sunday January 24, 2021 @12:37AM (#25889610)
“Pidgin Python” is such an apt term, why am I only seeing it when it is no longer relevant!