gpython icon indicating copy to clipboard operation
gpython copied to clipboard

Implement list pop method

Open deeesp opened this issue 6 years ago • 2 comments

Attribute errors occured using list. ​

Python (expected)

>>> a.pop()
4
>>>a
[1,2,3]
>>>a.pop(1)
2
>>>a
[1,3]

gpython (Actual)

>>> a = [1,2,3,4]
>>> a.pop()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
    FIXME line of source goes here
AttributeError: "'list' has no attribute 'pop'"

deeesp avatar Sep 28 '19 15:09 deeesp

I'll work on this issue.

xarus01 avatar Oct 24 '19 08:10 xarus01

I'll work on this issue.

Thank you :-)

ncw avatar Oct 25 '19 14:10 ncw