3 ms·
Python adds new syntax in nearly every minor release. You can see samples here: https://github.com/jwilk/python-syntax-errors https://github.com/jwilk/python-s
by jwilk 8y ago
Python adds new syntax in nearly every minor release. You can see samples here:
https://github.com/jwilk/python-syntax-errors https://github.com/jwilk/python-syntax-errors
I don't know what's "covert" about these updates. They are always documented.
Also I don't understand why you put disruptive syntax changes in Python 3.X in one basket with backwards-compatible syntax additions like f-strings or the @ operator.
- gkya 8y agoBecause it's common to write you script with the shebang "/usr/bin/env python3" or equivalent [1], and this behaviour can cause syntax errors when going from one system to another. [1] https://github.com/search?utf8=%E2%9C%93&q=%22%2Fusr%2Fbin%2Fenv+python3%22&type=Code https://github.com/search?utf8=%E2%9C%93&q=%22%2Fusr%2Fbin%2...