The Wayback Machine - https://web.archive.org/web/20200910210636/https://github.com/go-python/gpython/issues/95
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement list pop method #95

Open
deeesp opened this issue Sep 28, 2019 · 2 comments · May be fixed by #126
Open

Implement list pop method #95

deeesp opened this issue Sep 28, 2019 · 2 comments · May be fixed by #126
Assignees

Comments

@deeesp
Copy link

@deeesp deeesp commented Sep 28, 2019

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'"
@xarus01
Copy link
Contributor

@xarus01 xarus01 commented Oct 24, 2019

I'll work on this issue.

@ncw
Copy link
Collaborator

@ncw ncw commented Oct 25, 2019

I'll work on this issue.

Thank you :-)

@xarus01 xarus01 linked a pull request that will close this issue Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.