3 ms·
> Code written against 3.0 will still work perfectly fine on 3.8 Not 100%. For example, using `async` as a variable name works in 3.0 but not in 3.8, where it
by pansa2 7y ago
> Code written against 3.0 will still work perfectly fine on 3.8
Not 100%. For example, using `async` as a variable name works in 3.0 but not in 3.8, where it is a keyword.
- chupasaurus 7y agoAre you talking about PEP-0492? It was added in 3.5.2 with deprecation of previous behavior in 3.7, release dates of those are separated by exactly 2 years, with deprecation warnings in 3.6.
- pansa2 7y agoLooks like PEP 492 introduced `async` as a contextual keyword in 3.5, and it became a proper keyword in 3.7.