Python Gotcha's?

Grzegorz Staniak gstaniak at gmail.com
Fri Apr 6 12:02:49 EDT 2012


On 06.04.2012, rusi <rustompmody at gmail.com> wroted:

>> > This is the 21st century, not 1960, and if the language designer is
>> > worried about the trivially small extra effort of parsing ' as well as "
>> > then he's almost certainly putting his efforts in the wrong place.
>>
>> Yes, that's what you said already. My reasoning was in the part you stripped
>> from my quote. *shrug*
>
> Multiple symmetric quote characters breaks one of python's own zen
> rules:
>
> There should be one-- and preferably only one --obvious way to do it.

Then again, practicality beats purity.

GS
-- 
Grzegorz Staniak   <gstaniak _at_ gmail [dot] com>



More information about the Python-list mailing list