Skip to content

bpo-32500: Fix error messages for sequence and mapping C API. #7846

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

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 21, 2018

Fix error messages for PySequence_Size(), PySequence_GetItem(),
PySequence_SetItem() and PySequence_DelItem() called with a mapping
and PyMapping_Size() called with a sequence.

https://bugs.python.org/issue32500

Fix error messages for PySequence_Size(), PySequence_GetItem(),
PySequence_SetItem() and PySequence_DelItem() called with a mapping
and PyMapping_Size() called with a sequence.
@ammaraskar
Copy link
Member

ammaraskar commented Jun 23, 2018

Shouldn't this be attached to https://bugs.python.org/issue33933 which is specifically about the error message?

Edit: nevermind, Raymond addresses this on the ticket.

@serhiy-storchaka
Copy link
Member Author

I'm going to merge this PR if there are no other suggestions.

@serhiy-storchaka serhiy-storchaka merged commit a6fdddb into python:master Jul 23, 2018
@serhiy-storchaka serhiy-storchaka deleted the mapping-sequence-api-errors branch July 23, 2018 20:43
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.

4 participants