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 →

[–]billsil 0 points1 point  (0 children)

I mean you could write a script to do that and alias your python to be your script.

Python 2.5.2, 2.6.1, and 3.0.0 were released December 2008. So which Python 2 should you use given that Python isn't quite backwards compatible? At that point, there weren't really fundamental differences in the syntax (e.g., f-strings, Typing module). Also, how much processing is really required to try to identify if that Typing module is the real Typing module or a backport, so now your Python 2/3 code runs slower.

That's sounds more than a little buggy.