8000 No overflow error for character arrays (Trac #191) · Issue #789 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

No overflow error for character arrays (Trac #191) #789

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

Closed
numpy-gitbot opened this issue Oct 19, 2012 · 1 comment
Closed

No overflow error for character arrays (Trac #191) #789

numpy-gitbot opened this issue Oct 19, 2012 · 1 comment

Comments

@numpy-gitbot
Copy link

Original ticket http://projects.scipy.org/numpy/ticket/191 on 2006-07-19 by @stefanv, assigned to unknown.

I'm tentatively filing this, although I am not sure exactly what the expected behaviour should be.

I expect the following snippet to raise an error:

x = N.array(['1.1'])
N.seterr(over='raise')
x[0] = '1.111'
@numpy-gitbot
Copy link
Author

@teoliphant wrote on 2006-07-20

This is not a bug. Overflow is for numeric types only. Extending it to string data-types is definitely in the realm of "feature-request." It's not high priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0