[Python-Dev] Naming conventions in Py3K

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Fri Dec 30 10:26:10 CET 2005


Ka-Ping Yee wrote:
> In a fair number of cases, Python doesn't follow its own recommended
> naming conventions. Changing these things would break backward
> compatibility, so they are out of the question for Python 2.*, but
> it would be nice to keep these in mind for Python 3K.
>> Constants in all caps:
> NONE, TRUE, FALSE, ELLIPSIS

That's ugly. I bet with this change you will find modules out there
which do
True = TRUE
at the start.
In fact, I like it that the basic Python functions and most of the types
are all-lowercase. It find the code to be better readable.
Reinhold
-- 
Mail address is perfectly valid!


More information about the Python-Dev mailing list

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