Update for __builtin__ rename.

This commit is contained in:
Guido van Rossum 2007-12-02 04:49:16 +00:00
parent 1633a7b08b
commit 76f348481f
1 changed files with 6 additions and 3 deletions

View File

@ -97,9 +97,9 @@ Core language
[x for x in 1, 2] will need to be: [x for x in (1, 2)] [done] [x for x in 1, 2] will need to be: [x for x in (1, 2)] [done]
- Lambdas may have to be parenthesized [#pep308]_ [NO] - Lambdas may have to be parenthesized [#pep308]_ [NO]
* __builtins__ should get a different name *or* completely unified * In order to get rid of the confusion between __builtin__ and __builtins__,
with __builtin__. Keeping both with confusingly similar spellings it was decided to rename __builtin__ (the module) to builtins, and to leave
and semantics is evil. [#__builtin__]_ __builtins__ (the sandbox hook) alone. [#__builtin__]_ [#__builtins__]_ [done]
* Attributes on functions of the form ``func_whatever`` will be renamed * Attributes on functions of the form ``func_whatever`` will be renamed
``__whatever__`` [17]_ [done] ``__whatever__`` [17]_ [done]
* Set literals and comprehensions [19]_ [20]_ [done] * Set literals and comprehensions [19]_ [20]_ [done]
@ -406,6 +406,9 @@ References
.. [#__builtin__] Approach to resolving __builtin__ vs __builtins__ .. [#__builtin__] Approach to resolving __builtin__ vs __builtins__
http://mail.python.org/pipermail/python-3000/2007-March/006161.html http://mail.python.org/pipermail/python-3000/2007-March/006161.html
.. [#__builtins__] New name for __builtins__
http://mail.python.org/pipermail/python-dev/2007-November/075388.html
.. [#exitfunc-patch] Patch to remove sys.exitfunc .. [#exitfunc-patch] Patch to remove sys.exitfunc
http://www.python.org/sf/1680961 http://www.python.org/sf/1680961