Why is there no natural syntax for accessing attributes with names not being valid identifiers?

Ethan Furman ethan at stoneleaf.us
Wed Dec 4 16:00:58 EST 2013


On 12/04/2013 12:55 PM, Mark Lawrence wrote:
> On 04/12/2013 20:22, Ethan Furman wrote:
>> On 12/04/2013 12:07 PM, Piotr Dobrogost wrote:
>>>
>>> If there ought to be only one way to access attributes then it should
>>>  be dot notation.
>>
>> Not "only one way", it's "one obvious way".
>>
>
> Not "one obvious way" it's "There should be one-- and preferably only one --obvious way to do it.".  Get it right lad :)

I was paraphrasing.  ;)

--
~Ethan~



More information about the Python-list mailing list