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

aipy_src/_miriad/miriad_wrap.h: improve some ergonomics for Python 3 #43

Merged
merged 1 commit into from Jun 24, 2018

Conversation

pkgw
Copy link
Contributor

@pkgw pkgw commented Jun 22, 2018

In Python 3, the Numpy integer types such as np.int32 are no longer subclasses of the basic int type. Therefore writing out scalar integers in MIRIAD stopped working when those integers were Numpy-y. Adding PyIndex_Check enables this use case again.

In Python 3, the Numpy integer types such as np.int32 are no longer subclasses
of the basic `int` type. Therefore writing out scalar integers in MIRIAD
stopped working when those integers were Numpy-y. Adding `PyIndex_Check`
enables this use case again.
@coveralls
Copy link

coveralls commented Jun 22, 2018

Coverage Status

Coverage increased (+0.02%) to 45.791% when pulling d4d1268 on pkgw:index-check into 879b7d1 on HERA-Team:v3.

@pkgw pkgw merged commit 42dd9dd into HERA-Team:v3 Jun 24, 2018
@pkgw pkgw deleted the index-check branch June 24, 2018 17:02
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