Hi!

I find global getattr() function awkward when reading code.
What is the reason there's no "natural" syntax allowing to access attributes 
with names not being valid Python identifiers in a similar way to other 
attributes?
Something along the line of 
my_object.'valid-attribute-name-but-not-valid-identifier'?


Regards,
Piotr Dobrogost
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to