4 ms·
> It pretty clear that if you support python 3.6 you should use `f` strings. And if you support any earlier version of python, you cannot use f strings. Hence
by kbutler 10y ago
> It pretty clear that if you support python 3.6 you should use `f` strings.
And if you support any earlier version of python, you cannot use f strings. Hence, there is a conflict between improvement and backward compatibility.
- ghshephard 10y agoBut for new projects, where you can chose the version of Python you want, there is no requirement for "backwards compatibility" - it's not as though Python 3.6 isn't available for every platform that 3.5 was on.