[pypy-svn] pypy default: Update TODO list:

amauryfa commits-noreply at bitbucket.org
Tue Feb 15 13:41:58 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r41951:5abd0cfa317f
Date: 2011-02-15 13:41 +0100
http://bitbucket.org/pypy/pypy/changeset/5abd0cfa317f/

Log:	Update TODO list:

diff --git a/lib-python/TODO b/lib-python/TODO
--- a/lib-python/TODO
+++ b/lib-python/TODO
@@ -22,6 +22,14 @@
 
 - implement format__Complex_ANY() in pypy/objspace/std/complexobject.py
 
+- Code like this does not work, for two reasons::
+
+  \
+  from __future__ import (with_statement,
+                          unicode_literals)
+  assert type("") is unicode
+
+
 
 Medium tasks
 ------------
@@ -29,9 +37,6 @@
 - Ast objects should be picklable, see in pypy/module/_ast/test/test_ast.py:
   test_pickle()
 
-- add 'unicode' in ObjSpace.MethodTable + probably a default implementation that
-  falls back to space.str(). (WHY?)
-
 - socket module has a couple of changes (including AF_TIPC packet range)
 
 - (test_lib2to3) When a "for" loop runs a generator function, if the loop is
@@ -59,10 +64,6 @@
       a = A()
       a.__class__ = B
 
-- Remove "unbound builtin methods": some code in pprint.py, _threading_local.py
-  relies on comparisons like "str.__init__ is object.__init__", or
-  "type(x).__repr__ is dict.__repr__"
-
 - Show a ResourceWarning when a file/socket is not explicitely closed, like
   CPython did for 3.2: http://svn.python.org/view?view=rev&revision=85920
   in PyPy this should be enabled by default
@@ -98,3 +99,7 @@
   with pypy.  Use the `==` operator instead.
 
   * pprint.py, _threading_local.py
+
+- When importing a nested module fails, the ImportError message mentions the
+  name of the package up to the component that could not be imported (CPython
+  prefers to display the names starting with the failing part).


More information about the Pypy-commit mailing list