May 3, 2013
1:34 p.m.
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