This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Rename __builtin__ to builtins
Type: behavior Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: christian.heimes, georg.brandl, gvanrossum
Priority: high Keywords: patch

Created on 2007-12-01 13:28 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
2to3_builtins.patch christian.heimes, 2007-12-01 13:57
builtins.diff georg.brandl, 2007-12-01 14:08
Messages (7)
msg58045 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-12-01 13:28
As discussed on python-dev.
msg58046 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-12-01 13:48
I had to copy the __builtin__.rst prior to patch.

svn cp Doc/library/__builtin__.rst Doc/library/builtins.rst
svn patch -p0 < builtins.diff
svn del --force Doc/library/__builtin__.rst
msg58047 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-12-01 13:57
Here is a fixer for the new name.
msg58049 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-12-01 14:08
Okay, new version of the patch, should fix the rst file problem,
and also fixes test_pickle{,tools} which I missed last time.
msg58077 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-12-02 04:38
OK Georg, take 'er away!
msg58078 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-12-02 04:40
PS. A note on backporting this to 2.6: I think it's sufficient if
"builtins" exists in sys.modules as an alias of "__builtin__" in 2.6.

Crys: go ahead and check in the fixer as well.
msg58082 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-12-02 10:02
Committed r59268.
History
Date User Action Args
2022-04-11 14:56:28adminsetgithub: 45876
2008-01-06 22:29:44adminsetkeywords: - py3k
versions: Python 3.0
2007-12-02 10:02:48georg.brandlsetstatus: open -> closed
messages: + msg58082
2007-12-02 04:40:24gvanrossumsetmessages: + msg58078
2007-12-02 04:38:11gvanrossumsetassignee: gvanrossum -> georg.brandl
resolution: accepted
messages: + msg58077
2007-12-01 14:08:39georg.brandlsetfiles: - builtins.diff
2007-12-01 14:08:33georg.brandlsetfiles: + builtins.diff
messages: + msg58049
2007-12-01 14:07:42christian.heimeslinkissue1498 superseder
2007-12-01 13:57:36christian.heimessetfiles: + 2to3_builtins.patch
messages: + msg58047
2007-12-01 13:48:08christian.heimessetpriority: high
keywords: + py3k, patch
messages: + msg58046
nosy: + christian.heimes
2007-12-01 13:28:10georg.brandlcreate