A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047559.html below:

[Python-Dev] Classes that claim to be defined in __builtin__ but aren't

[Python-Dev] Classes that claim to be defined in __builtin__ but aren't [Python-Dev] Classes that claim to be defined in __builtin__ but aren'tJames Y Knight foom at fuhm.net
Tue Aug 10 18:17:14 CEST 2004
On Aug 10, 2004, at 11:01 AM, Guido van Rossum wrote:
> No, no, no!  The "new" convention for built-in type names is all
> lowercase.  CamelCaseType is old and only used in the context of
> types.py.

Sooo should (for 'generator' in objects that claim to be in 
__builtins__ but aren't),
1) 'generator' be added to __builtins__
2) 'generator' be added to types.py and its __module__ be set to 'types'
3) 'generator' be added to <newmodule>.py and its __module__ be set to 
'<newmodule>' (and a name for the module chosen)

James

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4