Skip to content

Rewrite numba.{carray,farray} support using @overload #8009

Description

@stuartarchibald

#7996 highlights that there's likely an issue with numba.{carray,farray}, where the CallableTemplate uses Numba types instead of Python values for the defaults in the typer kwargs. Getting this to work at all with @overload_glue was extremely challenging, as a result, instead of fixing the issue noted by @sklam here #7996 (comment) the time will be spend on translating numba.carray and numba.farray to use @overload as it is known to help prevent such issues and also translating it will improve compilation performance for these functions (fewer wrappers!).

Activity

  1. stuartarchibald commented on Apr 29, 2022

    @stuartarchibald
    ContributorAuthor

    To minimise merge conflicts, this should be done once #7999 is merged.

  2. stuartarchibald commented on Nov 11, 2022

    @stuartarchibald
    ContributorAuthor

    Fixed in #8432, closing.

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions