Skip to content

static_methods and static_method_count not constant folded in v1.10 #38

@oxinabox

Description

@oxinabox

follow up to #37
we actually broke the constant folding for static_methods and static_methodcount in 1.10.
Because methods isn't actually constant folded in 1.10.

I released anyway, because static_hasmethod is the star function of this package.
It is what most people actually use in the wild AFAIK.

But this is still a regression.
So it would be nice to fix.

Possibly via swapping those back to the old way.
(which just needs some testing I don't have time to do right now)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions