Move an edited idea from the core language section down to atomic types

section.
This commit is contained in:
Brett Cannon 2006-03-01 18:47:47 +00:00
parent 1b6075f020
commit 61b759c5f7
1 changed files with 3 additions and 5 deletions

View File

@ -54,9 +54,6 @@ Core language
* ``exec`` as a statement is not worth it -- make it a function
* Add optional declarations for static typing [11]_
* Support only new-style classes; classic classes will be gone [1]_
* Return iterators instead of lists where appropriate for atomic type methods
(e.g. ``dict.keys()``, ``dict.values()``, ``dict.items()``, etc.)
iter*() methods will be removed.
* OR... Make keys() etc. return "views" a la Java collections???
* Replace ``print`` by a function [16]_
* Do something so you can catch multiple exceptions using ``except E1,
@ -114,8 +111,9 @@ Atomic Types
* Remove distinction between int and long types [1]_
* Make all strings be Unicode, and have a separate bytes() type [1]_
* Return iterators instead of lists where appropriate for atomic type methods
(e.g. ``dict.keys()``, ``dict.values()``, ``dict.items()``, etc.)
(Do we keep iter*() methods or remove them? I vote remove. -- nn)
(e.g. ``dict.keys()``, ``dict.values()``, ``dict.items()``, etc.); iter*
methods will be removed
OR make keys(), etc. return views ala Java collections???
To be removed: