A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-January/085051.html below:

[Python-Dev] should list's call to __len__ swallow SystemExit?

[Python-Dev] should list's call to __len__ swallow SystemExit? [Python-Dev] should list's call to __len__ swallow SystemExit?Raymond Hettinger python at rcn.com
Wed Jan 14 20:59:41 CET 2009
>> If you want this changed, I can use a negative return
>> value for other than an attribute error, and modify
>> the calling code to handle the exception.
>> To me this isn't worth making the code slower and
>> more complex.  But I can also see wanting to catch
>> a SystemError at any possible step.

> It has the potential of masking errors, and thus I'd like to see it fixed.

No problem.  I'll take care of this one.  Since it's an internal API,
it should be easy.


Raymond
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4