[Python-checkins] r42736 - peps/trunk/pep-3000.txt

brett.cannon python-checkins at python.org
Wed Mar 1 19:47:47 CET 2006


Author: brett.cannon
Date: Wed Mar  1 19:47:47 2006
New Revision: 42736

Modified:
   peps/trunk/pep-3000.txt
Log:
Move an edited idea from the core language section down to atomic types
section.


Modified: peps/trunk/pep-3000.txt
==============================================================================
--- peps/trunk/pep-3000.txt	(original)
+++ peps/trunk/pep-3000.txt	Wed Mar  1 19:47:47 2006
@@ -54,9 +54,6 @@
 * ``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 @@
 * 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:
 


More information about the Python-checkins mailing list