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/2012-June/120246.html below:

[Python-Dev] PEP 362 Third Revision

[Python-Dev] PEP 362 Third Revision [Python-Dev] PEP 362 Third RevisionEthan Furman ethan at stoneleaf.us
Thu Jun 14 21:12:57 CEST 2012
Alexandre Zani wrote:
> I don't think it really breaks TOOWTDI because you're talking about
> two use-cases. In one case, you're checking if something is a
> particular kind of parameter. In the other case, you're doing some
> sort of dict-based dispatch. I also think is_args etc is cleaner to
> use when doing a comparison:
> 
> if param.is_arg:
> 
> vs
> 
> if param.kind == param.ARG:

+1


> That said, it's not a huge deal and so I won't push this any more than
> I already have.

ditto

~Ethan~
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