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

DM-10336: Fix Python 3.2+ breakage due to PySlice API change. #223

Merged
merged 1 commit into from Apr 25, 2017

Conversation

TallJimbo
Copy link
Member

No description provided.

Copy link
Contributor

@r-owen r-owen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix.

(PySliceObject*)
#endif
s.ptr(), self.size(), &start, &stop, &step, &length) != 0
) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish there was a slightly more readable way to do this, but it looks good enough to me. You might consider a brief comment saying "the API changed in Python 3.2"

@TallJimbo TallJimbo merged commit a37f01a into master Apr 25, 2017
@ktlim ktlim deleted the tickets/DM-10336 branch August 25, 2018 06: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.

None yet

2 participants