On Mon, Aug 22, 2016, at 09:21, Steve D'Aprano wrote:
> Rather, you just use the features you rely on, document the minimum
> supported version, and if somebody is silly enough to try running your
> code
> under Python 1.4, they'll get a SyntaxError or an exception when you try
> to
> do something that is not supported.

Receiving a SyntaxError or whatever other exception, which provides no
suggestion about how to actually fix the issue (install a later version
of python / run with "python3" instead of "python"), is a bad user
experience. It will continue to be a bad user experience when people are
using features that only work on python 5.0 and later and other people
are trying to run their scripts under python 4.0, so it not having
existed all along is not a sufficient justification to not consider
adding it,.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to