[pypy-commit] pypy py3k: remove remnants of the getslice operations

amauryfa noreply at buildbot.pypy.org
Sun Nov 6 20:59:10 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r48836:d34a3188c6c8
Date: 2011-10-22 23:25 +0200
http://bitbucket.org/pypy/pypy/changeset/d34a3188c6c8/

Log:	remove remnants of the getslice operations

diff --git a/pypy/objspace/std/builtinshortcut.py b/pypy/objspace/std/builtinshortcut.py
--- a/pypy/objspace/std/builtinshortcut.py
+++ b/pypy/objspace/std/builtinshortcut.py
@@ -34,17 +34,12 @@
 KNOWN_MISSING = ['getattr',   # mostly non-builtins or optimized by CALL_METHOD
                  'setattr', 'delattr', 'userdel',  # mostly for non-builtins
                  'get', 'set', 'delete',   # uncommon (except on functions)
-                 'getslice', 'setslice', 'delslice',  # see below
                  'delitem', 'trunc',              # rare stuff?
                  'abs', 'hex', 'oct',             # rare stuff?
                  'pos', 'divmod', 'cmp',          # rare stuff?
                  'float', 'long', 'coerce',       # rare stuff?
                  'isinstance', 'issubtype',
                  ]
-# We cannot support {get,set,del}slice right now because
-# DescrOperation.{get,set,del}slice do a bit more work than just call
-# the special methods: they call old_slice_range().  See e.g.
-# test_builtinshortcut.AppTestString.
 
 for _name, _, _, _specialmethods in ObjSpace.MethodTable:
     if _specialmethods:


More information about the pypy-commit mailing list