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/2013-May/125930.html below:

[Python-Dev] enum discussion: can someone please summarize open issues?

[Python-Dev] enum discussion: can someone please summarize open issues? [Python-Dev] enum discussion: can someone please summarize open issues?Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 3 15:34:59 CEST 2013
Barry Warsaw wrote:
> I still don't get it why this is an issue though, or at least why this is
> different than any other getattr on any other class,

It's not a problem that getattr() has this behaviour.
What I'm questioning is the idea that getattr() should
be the only provided way of doing a name->enum lookup,
because that will require everyone to do extra checks
to ensure safety.

-- 
Greg
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