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)