Python Error message

Chris Angelico rosuav at gmail.com
Thu Aug 4 12:14:41 EDT 2016


On Fri, Aug 5, 2016 at 2:09 AM, Igor Korot <ikorot01 at gmail.com> wrote:
>> [1] There are exceptions to this rule, for experts. But if you need to ask
>> what they are, you're not ready to know
>
> But even the experts will never write such a code - you never know what happens
> in a month. Server might throw some new exception, you may move on to
> a different project,
> etc, etc. ;-)

Yes, in those situations you don't write a bare except :) As Steven
said, there ARE legit uses; most of them fall under the description
"boundary location".

ChrisA



More information about the Python-list mailing list