3 ms·
It’s the opposite. This project is making it possible to use Python 3 syntax with a Python 2 interpreter.
by Myrmornis 7y ago
It’s the opposite. This project is making it possible to use Python 3 syntax with a Python 2 interpreter.
- JoshTriplett 7y agoIt would be much more helpful to make it possible to use Python 2 syntax with a Python 3 interpreter. Ideally as an extension for Python 3. That would allow people to incrementally port.
- bmelton 7y agoIsn't that just the opposite of `future`[1] It's been more than a decade now. I'm almost tempted to think that anyone who hasn't started porting their code simply isn't going to. [1] - https://pypi.org/project/future/ https://pypi.org/project/future/
- loeg 7y agoPython 3 syntax is mostly a superset of the 2 language, except for losing "print." The portability issues are around changed semantics of the main string type, changes to the C module API, and renaming of standard library components — rather than syntax. That's been my experience, anyway.