Author: Amaury Forgeot d'Arc <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit