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

MAINT: unify tup processing, move tup use to after all PyTuple_SetItem calls #7627

Merged
merged 1 commit into from
May 12, 2016
Merged

MAINT: unify tup processing, move tup use to after all PyTuple_SetItem calls #7627

merged 1 commit into from
May 12, 2016

Conversation

mattip
Copy link
Member

@mattip mattip commented May 12, 2016

PyTuples are immutable once used, so the calls to PyDict_SetItem (that use PyTuple tup) must be after all calls to PyTuple_SET_ITEM.

@njsmith
Copy link
Member

njsmith commented May 12, 2016

Tests are failing

@charris
Copy link
Member

charris commented May 12, 2016

Was this causing problems?

@mattip
Copy link
Member Author

mattip commented May 12, 2016

yes it causes problems on PyPy

@charris charris merged commit 383d800 into numpy:master May 12, 2016
@charris
Copy link
Member

charris commented May 12, 2016

Thanks @mattip . I can't help feeling this things could be cleaned up a bit more, but there you go.

@charris charris added this to the 1.11.1 release milestone May 12, 2016
@njsmith
Copy link
Member

njsmith commented May 12, 2016

@charris: backporting is harmless but unnecessary; the only folks who care are pypy and this is only one item in their queue so 1.11.1 isn't going to work for them regardless.

@charris charris removed this from the 1.11.1 release milestone May 14, 2016
@charris charris changed the title unify tup processing, move tup use to after all PyTuple_SetItem calls MAINT: unify tup processing, move tup use to after all PyTuple_SetItem calls Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants