Some updates.
Remove an item that's covered by acceptance of PEP 3121. Remove an item that's covered by rejection of PEP 3122 and PEP 299.
This commit is contained in:
parent
7ff5632c66
commit
17c044d600
|
@ -98,9 +98,6 @@ Core language
|
|||
[x for x in 1, 2] will need to be: [x for x in (1, 2)]
|
||||
- Lambdas may have to be parenthesized [#pep308]_
|
||||
|
||||
* Builtin module init function names (PyMODINIT_FUNC) will be prefixed
|
||||
with _Py (or Py). Currently they aren't namespace safe since the names
|
||||
start with init.
|
||||
* __builtins__ should get a different name *or* completely unified
|
||||
with __builtin__. Keeping both with confusingly similar spellings
|
||||
and semantics is evil. [#__builtin__]_
|
||||
|
@ -112,7 +109,6 @@ Core language
|
|||
NB. {range(x)} means set([range(x)]), NOT set(range(x)).
|
||||
There's no literal for an empty set; use set() (or {1}&{2} :-).
|
||||
There's no frozenset literal; they are too rarely needed.
|
||||
* Might reconsider PEP 299 [#pep299]_: special __main__() function in modules.
|
||||
* The ``__nonzero__`` special method will be renamed to ``__bool__``
|
||||
and have to return a bool. The typeobject slot will be called
|
||||
``tp_bool`` [23]_ [done]
|
||||
|
@ -149,11 +145,12 @@ Atomic Types
|
|||
literals with 'L' or 'l' suffix disappear [1]_ [done]
|
||||
* Make all strings be Unicode, and have a separate bytes() type [1]_
|
||||
The new string type will be called 'str'.
|
||||
[halfway done, in py3k-struni branch]
|
||||
* Return iterable views instead of lists where appropriate for atomic
|
||||
type methods (e.g. ``dict.keys()``, ``dict.values()``,
|
||||
``dict.items()``, etc.); iter* methods will be removed. [done]
|
||||
* Make ``string.join()`` stringify its arguments? [18]_
|
||||
* Fix file() so it returns a ValueError if the mode is bad rather than IOError.
|
||||
* Fix open() so it returns a ValueError if the mode is bad rather than IOError.
|
||||
(This probably affects lots of places, we should review the exceptions
|
||||
and fix them if inappropriate.)
|
||||
|
||||
|
|
Loading…
Reference in New Issue