[pypy-svn] pypy default: Sanity courtesy of Alex_Gaynor

ademan commits-noreply at bitbucket.org
Fri Jan 28 00:52:54 CET 2011


Author: Daniel Roberts <Ademan555 at gmail.com>
Branch: 
Changeset: r41416:3707cad6d825
Date: 2011-01-27 15:52 -0800
http://bitbucket.org/pypy/pypy/changeset/3707cad6d825/

Log:	Sanity courtesy of Alex_Gaynor

diff --git a/pypy/module/cpyext/sequence.py b/pypy/module/cpyext/sequence.py
--- a/pypy/module/cpyext/sequence.py
+++ b/pypy/module/cpyext/sequence.py
@@ -147,7 +147,7 @@
     changes in your code for properly supporting 64-bit systems."""
     if PyDict_Check(space, w_o) or not PySequence_Check(space, w_o):
         raise operationerrfmt(space.w_TypeError, "'%s' object does not support item assignment",
-                             space.str_w(space.repr(space.type(w_o)))) # FIXME: looks like lisp...
+                             space.type(w_o).getname(space))
     space.setitem(w_o, space.wrap(i), w_v)
     return 0
 


More information about the Pypy-commit mailing list