[Python-Dev] Comments of the PEP 3151

Ethan Furman ethan at stoneleaf.us
Tue Jul 26 04:31:48 CEST 2011


Andrew Bennetts wrote:
> Ethan Furman wrote:
>>> […] or "EINTRError" in my order of preference.
 >>
>> Please not that last one! ;)
>> Why not, exactly?

Because this is Python, and readability counts. Yes, it does take some 
getting used to (I finally stopped typing 'enum' a couple months ago ;) 
, but it is a worthwhile goal -- a goal we take a step back from with 
names like EINTRError instead of InterruptedError.
~Ethan~


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /