The Wayback Machine - https://web.archive.org/web/20210823223728/https://github.com/RustPython/RustPython/issues/2839
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

collections.deque doesn't have __imul__ method. #2839

Open
Tracked in #2812
DimitrisJim opened this issue Aug 10, 2021 · 2 comments
Open
Tracked in #2812

collections.deque doesn't have __imul__ method. #2839

DimitrisJim opened this issue Aug 10, 2021 · 2 comments
Assignees

Comments

@DimitrisJim
Copy link
Member

@DimitrisJim DimitrisJim commented Aug 10, 2021

Feature

CPython:

>>> from collections import deque
>>> d = deque()
>>> d.__imul__(3)
deque([1, 1, 1, 1, 1])

RustPython:

>>>>> from collections import deque
>>>>> d = deque()
>>>>> d.__imul__(5)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'deque' object has no attribute '__imul__'
@architjen
Copy link

@architjen architjen commented Aug 11, 2021

Hi @DimitrisJim, I'm new to open-source, can I take up this issue?

@DimitrisJim
Copy link
Member Author

@DimitrisJim DimitrisJim commented Aug 11, 2021

@architjen sure! Go for it.

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.

None yet
2 participants