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/2005-January/050968.html below:

[Python-Dev] Re: PEP 246: LiskovViolation as a name

[Python-Dev] Re: PEP 246: LiskovViolation as a name [Python-Dev] Re: PEP 246: LiskovViolation as a namePhillip J. Eby pje at telecommunity.com
Thu Jan 13 02:18:48 CET 2005
At 05:54 PM 1/12/05 -0700, Steven Bethard wrote:
>Not that my opinion counts for much =), but returning None does seem
>much simpler to me.  I also haven't seen any arguments against this
>route of handling protocol nonconformance...  Is there a particular
>advantage to the exception-raising scheme?

Only if there's any objection to giving the 'object' type a default 
__conform__ method that returns 'self' if 'isinstance(protocol,ClassTypes) 
and isinstance(self,protocol)'.

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