Skip to content

Conversation

dieterv77
Copy link
Contributor

Not sure if this is a good way to go about it, but it seems to work.

Might be good to get rid of all the INT64_MAX/MIN stuff in parser.pyx and replace with np.iinfo(np.int64).max/min instead.

@wesm
Copy link
Member

wesm commented Jan 4, 2013

I'm pretty sure this is a Cython bug also and should be reported separately

@dieterv77
Copy link
Contributor Author

Agreed, i will file something with them. However, I find it appealing to rely on numpy to provide the min and max values for the different dtypes rather than having to rely on stdint.h. I think i should be able to eliminate the use of any of the stdint stuff from parser.pyx. Would that be helpful or would you rather scrap the change altogether?

@wesm
Copy link
Member

wesm commented Jan 5, 2013

Merged and verified this fixes the issue. Thanks dieter

@wesm wesm closed this Jan 5, 2013
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.

2 participants