3 ms·
Python's changes between releases are not limited to removing deprecated APIs. Sometimes semantics changes in breaking ways, or new reserved words crop up, etc.
by jujube3 3y ago
Python's changes between releases are not limited to removing deprecated APIs. Sometimes semantics changes in breaking ways, or new reserved words crop up, etc. etc. It certainly is Russian roulette trying to run python code on any version other than the one it was written for.
- pdonis 3y ago> Sometimes semantics changes in breaking ways, or new reserved words crop up, etc. etc. Examples?
- mos_basik 3y agoI know this specific example because it was one of a handful of reasons that delayed my workplace from upgrading past Python 3.5 (I think) for quite a while because of the addition of the reserved word `async`. https://docs.python.org/3.11/whatsnew/3.5.html#pep-492-coroutines-with-async-and-await-syntax https://docs.python.org/3.11/whatsnew/3.5.html#pep-492-corou... Can't speak to what GP was alluding to re: breaking semantic changes.