open() and EOFError

Chris Angelico rosuav at gmail.com
Tue Jul 8 02:55:13 CEST 2014


On Tue, Jul 8, 2014 at 3:40 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Chris Angelico <rosuav at gmail.com>:
>
>> if you always break everything out to keep exception-catching scope as
>> narrow as possible, you begin to lose readability in other ways.
>
> I've begun to wonder if there might exist a new, easier-to-read
> try-except syntax.

http://www.python.org/dev/peps/pep-0463/ anyone? :)

ChrisA



More information about the Python-list mailing list