[Python-Dev] Classes that claim to be defined in builtin but aren't (original) (raw)

James 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 .py and its module be set to '' (and a name for the module chosen)

James



More information about the Python-Dev mailing list