For what it's worth, after 20+ years of using Python, forgetting the colon
for blocks remains the most common error I make by a fairly wide margin.
Of course, once I see the error message—even being not all that descriptive
of the real issue—I immediately know what to fix too.

On Tue, Jan 14, 2020 at 8:21 AM Σταύρος Ντέντος <stde...@gmail.com> wrote:

> Hello there,
>
> If I have simply missed a double colon starting a for loop
>
>   File "./bbq.py", line 160
>     for config_file in config_files
>                                   ^
> SyntaxError: invalid syntax
>
> the message is not as straightforward.
>
> I am not sure what the status quo of these messages are, but: could it
> be enhanced?
>
> Ντέντος Σταύρος
> _______________________________________________
> Python-ideas mailing list -- python-ideas@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-ideas@python.org/message/RMAZTJ3RO5L5RNHGTAPVE4UL2GXIWTSO/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/DRJU5QSUI3XK2DFXIE7GOF6BDNUPXQOL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to