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

Fix int/ssize_t mismatch in tests for the file shim #8

Merged
merged 2 commits into from
Jul 5, 2016
Merged

Conversation

encukou
Copy link
Owner

@encukou encukou commented Jul 5, 2016

No description provided.

Using "s#" in PyArg_ParseTuple caused test failures on big-endian
architectures. The choice between int and Py_ssize_t is governed
by the PY_SSIZE_T_CLEAN macro, but in a header file we don't control.
the macro.
Use "s*" with Py_buffer instead.

Reported by Dan Horák here: https://bugzilla.redhat.com/show_bug.cgi?id=1351971
@encukou encukou merged commit cde7d3f into master Jul 5, 2016
@encukou encukou deleted the v07rc branch July 5, 2016 17:49
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

1 participant