Skip to content

Fix for endianness test on Python - #1887

Merged
mdboom merged 2 commits into
astropy:masterfrom
mdboom:testing/python3-endianness
Dec 18, 2013
Merged

mdboom merged 2 commits into
astropy:masterfrom
mdboom:testing/python3-endianness

Conversation

@mdboom

@mdboom mdboom commented Dec 11, 2013

Copy link
Copy Markdown
Contributor

This is another partial fix for #1849, and a follow-on to #1855.

mdboom added a commit that referenced this pull request Dec 18, 2013
@mdboom
mdboom merged commit 4fc194d into astropy:master Dec 18, 2013
@embray

embray commented Dec 18, 2013

Copy link
Copy Markdown
Member

So, certain versions of Numpy really blow up if you provide the byteorder symbol as a byte string? Wow.....

@mdboom

mdboom commented Dec 18, 2013

Copy link
Copy Markdown
Contributor Author

It seems to be anything on Python 3.

@mdboom

mdboom commented Dec 18, 2013

Copy link
Copy Markdown
Contributor Author

...and the reason this wasn't caught was because it's in an if block that only runs on big endian platforms. It worked at one time, but then broke during the transition from 2to3 to six.

@embray

embray commented Dec 18, 2013

Copy link
Copy Markdown
Member

Oy gevaldt

mdboom added a commit that referenced this pull request Feb 12, 2014
mdboom added a commit that referenced this pull request Feb 12, 2014
@mdboom
mdboom deleted the testing/python3-endianness branch May 21, 2014 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants