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

Guido van Rossum guido at python.org
Wed Aug 11 02:02:42 CEST 2004


> 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)

I guess (1).

Please submit a patch to SF...

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant