Josh {*()} Rosenberg
Josh {*()} Rosenberg
If the goal is to look up `__name__` on the class of the instance, shouldn't the weakref code be using `_PyObject_LookupSpecial` (or `_PyObject_LookupSpecialId`, though I guess those are the same...
Hmm... I've actually signed the CLA before under the old system, but it looks like the old private GitHub e-mail I was using doesn't work anymore (didn't realize this when...
> Looks good, apart from one more reST nit. Accepted as given. > Also: @mentioning people in commit messages has historically led to an awful lot of unneeded pinging from...
Sorry, I've had a hell of a year. I'm going to try to rebase this soon.
It's a mistake in the implementation of `Fraction.__pow__`; rather than returning `NotImplemented` when the type of the exponent is unrecognized and letting the other type handle it through `__rpow__` normally,...
Is anyone working on a fix? If not, this is an easy one, I can do it. I worry slightly about possible breakage of existing code, but: 1. The existing...
@zitterbewegung: Same. I'm the guy standing up cause my back is borked. Fix is pretty easy: ``` elif isinstance(b, (float, complex)): return float(a) ** b else: return NotImplemented ``` replacing...
I'd suggest the news entry simplify to something like: > ``fractions.Fraction.__pow__`` no longer coerces itself to ``float`` for unrecognized exponent types, instead returning ``NotImplemented`` to defer to the exponent's ``__rpow__``...
Looks like a mistake in the test (or if you prefer, a test tailored to the old behavior). The `Rect` defines: ``` def __rpow__(self, other): return Polar(other ** self.x, math.log(other)...