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

BUG: Cast high to Python int to avoid overflow #13

Merged
merged 1 commit into from
Apr 15, 2019

Conversation

bashtage
Copy link

Bug in random_integers discovered in numpy#13164

Case high to a Python int to avoid overflow from NumPy types
@mattip mattip merged commit 563c258 into mattip:randomgen Apr 15, 2019
@bashtage bashtage deleted the random_integers-bug branch May 16, 2019 10:36
mattip pushed a commit that referenced this pull request Nov 19, 2021
commit 9c833bed5879d77e625556260690c349de18b433
Author: Thomas Li <47963215+lithomas1@users.noreply.github.com>
Date:   Wed Nov 17 16:21:27 2021 -0800

    Add Windows config to GHA

    update script [wheel build]

    typo [wheel build]

    fix typo? [wheel build]

    fix linux builds? [wheel build]

    typo [wheel build]

    add license and pin to windows 2016

    skip tests [wheel build]

    pin to windows 2019 instead [wheel build]

    try to find out the error on windows [wheel build]

    maybe fix? [wheel build]

    maybe fix? [wheel build]

    fix? [wheel build]

    cleanup [wheel build]

    Add Windows config to GHA

    update script [wheel build]

    typo [wheel build]

    fix typo? [wheel build]

    fix linux builds? [wheel build]

    typo [wheel build]

    add license and pin to windows 2016

    skip tests [wheel build]

    pin to windows 2019 instead [wheel build]

    try to find out the error on windows [wheel build]

    maybe fix? [wheel build]

    maybe fix? [wheel build]

    fix? [wheel build]

    cleanup [wheel build]

    Update LICENSE_win32.txt

    Update LICENSE_win32.txt

    Add Windows config to GHA

    update script [wheel build]

    typo [wheel build]

    fix typo? [wheel build]

    fix linux builds? [wheel build]

    typo [wheel build]

    add license and pin to windows 2016

    skip tests [wheel build]

    pin to windows 2019 instead [wheel build]

    try to find out the error on windows [wheel build]

    maybe fix? [wheel build]

    maybe fix? [wheel build]

    fix? [wheel build]

    cleanup [wheel build]

    Update LICENSE_win32.txt

    Update LICENSE_win32.txt

    Update cibw_test_command.sh

commit 4bd12df
Author: Thomas Li <47963215+lithomas1@users.noreply.github.com>
Date:   Mon Nov 15 17:28:47 2021 -0800

    # This is a combination of 14 commits.
    # This is the 1st commit message:

    Add Windows config to GHA
    # This is the commit message #2:

    update script [wheel build]
    # This is the commit message #3:

    typo [wheel build]
    # This is the commit message #4:

    fix typo? [wheel build]
    # This is the commit message #5:

    fix linux builds? [wheel build]
    # This is the commit message #6:

    typo [wheel build]
    # This is the commit message #7:

    add license and pin to windows 2016
    # This is the commit message #8:

    skip tests [wheel build]
    # This is the commit message #9:

    pin to windows 2019 instead [wheel build]
    # This is the commit message #10:

    try to find out the error on windows [wheel build]
    # This is the commit message #11:

    maybe fix? [wheel build]
    # This is the commit message #12:

    maybe fix? [wheel build]
    # This is the commit message #13:

    fix? [wheel build]
    # This is the commit message #14:

    cleanup [wheel build]
mattip pushed a commit that referenced this pull request Nov 15, 2023
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from fa/nditer2 to labs-hpy-port

* commit 'b06d48d5f27887fe147801235142468758ab648b': (46 commits)
  Revert "Temporarily add missing scalarapi.h"
  Do appropriate include for alloca
  Introduce HNPY_cast_info, use HPyField in PyArrayMethodObject, migrate function signature 'resolve_descriptors_function' to HPy.
  Convert PyArrayMethod_Type to legacy HPy type
  Migrate define_cast_for_descrs, init_cast_info, PyArray_GetCastingImpl
  Use HPyArray_AdaptDescriptorToArray in hnpyiter_prepare_one_operand
  Do minimal migration of find_descriptor_from_array
  Migrate HPyArray_ExtractDTypeAndDescriptor to use HPyGlobal
  Migrate nditer_constr to use HPyGlobal
  Include hpy_utils.h in common.h
  Add HPyGlobal_Is to hpy_utils.c
  Migrate PyArray_ExtractDTypeAndDescriptor
  Introduce HPyGlobal HPyArrayDTypeMeta_Type
  Migrate PyArray_FailUnlessWriteable
  Introduce legacy accessors NIT_PY_OPERANDS and NIT_PY_DTYPES
  Finish minimal migration of HNpyIter_AdvancedNew
  Migrate PyArray_GetMaskedDTypeTransferFunction and PyArray_GetDTypeTransferFunction
  Temporarily add missing scalarapi.h
  Use HPyArray_NewFromDescr
  Add HPyArray_NewFromDescr to ctors.h
  ...
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