Re:Customizing class creation in Python
by joshuamorton on Friday March 31, 2017 @12:27PM
(#14005383)
Exactly. You probably don't want this thing that is essentially a namespace to be indexable, but you index into it, which is a bug, but it quacks like a tuple, so your mistake propagates silently, which is a bad thing.
Its more permissive than one would expect. Although the bigger issue is what dragonne mentioned.
Its more permissive than one would expect. Although the bigger issue is what dragonne mentioned.