Skip to content

Scalarfromobject bug #26

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

Merged
1 commit merged into from
Dec 11, 2010
Merged

Scalarfromobject bug #26

1 commit merged into from
Dec 11, 2010

Conversation

mwiebe
Copy link
Member

@mwiebe mwiebe commented Dec 9, 2010

It doesn't look like there's a way to test this in Python, but the fix is pretty trivial.

In CPython, boolean is a subtype of integer, so the PyInt_Check
was catching booleans as well.
@pv
Copy link
Member

pv commented Dec 11, 2010

Seems obvious, pushed.

mattip referenced this pull request in mattip/numpy Mar 20, 2019
Clarify that the internal generator is closed on [low, high-1] even though
the external interface is open [low, high)

closes #26
bashtage referenced this pull request in bashtage/numpy May 18, 2019
bashtage referenced this pull request in bashtage/numpy May 23, 2019
Clarify that the internal generator is closed on [low, high-1] even though
the external interface is open [low, high)

closes #26
fangerer pushed a commit to hpyproject/numpy-hpy that referenced this pull request Jul 7, 2022
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from ss/PyArray_InitializeCasts2 to labs-hpy-port

* commit '6eb541713b7243b66452826de33e8887d14e023c':
  Port intern_strings
  set_matmul_flags
  PyArray_InitializeDatetimeCasts
  PyArray_InitializeObjectToObjectCast
  PyArray_InitializeVoidToVoidCast
  PyArray_InitializeStringCasts
  Partial port of PyArray_InitializeStringCasts
luyahan pushed a commit to plctlab/numpy that referenced this pull request Apr 25, 2024
This pull request was closed.
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