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/2010-March/098587.html below:

[Python-Dev] containment checking

[Python-Dev] containment checking [Python-Dev] containment checkingGlenn Linderman glenn at nevcal.com
Sat Mar 20 01:15:06 CET 2010
On 3/19/2010 4:58 PM, Antoine Pitrou wrote:
> Glenn Linderman<v+python<at>  g.nevcal.com>  writes:
>    
>> >  
>> >  If there's a bug in your __eq__ method, it may or may not raise an
>> >  exception, which may or may not get you wrong containment results.  But
>> >  it will probably get you buggy results, somehow or another.  That's what
>> >  design, code reviews, and testing are for.
>>      
> We'll have to "agree to disagree" then. If you want error silencing by default,
> Python is not the language you are looking for.
>    

We can agree to disagree, if you like.  But taken to the limit, the Zen 
you quoted would prevent the try except clause from being used.
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