[pypy-issue] [issue1109] list.pop() reports wrong number of expected arguments

Armin Rigo tracker at bugs.pypy.org
Mon Apr 2 10:37:02 CEST 2012

Armin Rigo <armin.rigo at gmail.com> added the comment:

This one is probably not going to be resolved.  Try this on CPython:

>>> class A(object):
...   def pop(self, x):
...     pass
>>> A().pop(1, 2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: pop() takes exactly 2 arguments (3 given)

So for the same reason, the built-in method pop() reports the same message. 
Actually in PyPy, pop() is a regular method object; we don't have "built-in
method" objects.

nosy: +arigo
status: unread -> wontfix

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list