Skip to content

Sync Fork from Upstream Repo #64

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

Merged
merged 9 commits into from
Aug 10, 2021
Merged

Sync Fork from Upstream Repo #64

merged 9 commits into from
Aug 10, 2021

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Aug 10, 2021

No description provided.

Snowapril and others added 9 commits August 9, 2021 21:33
This commit fix three test cases in test_index.py
* SeqTestCase.test_index
* SeqTestCase.test_wrappers
* ListTestCase.test_setdelitem

All these three cases' failures were caused by not supporting classes
that override __index__ operator when indexing sequence type.

This commit implement almost same routine with PR(#2807) which also did not
support classes which override __index__ operator in range indexing.

Signed-off-by: snowapril <[email protected]>
Add __index__ operator overriding class support for SequenceIndex
Fixes infinite recursion on `raise e from e`
Use rustpython_common via public name.
@sthagen sthagen merged commit 668953c into sthagen:master Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants