Closed AlexWaygood closed 6 months ago
The 4.12.0 release should go out today, do you think it's better to merge this in now or wait for the next release? The change seems pretty safe so I think it's fine to merge now in the RC phase.
The 4.12.0 release should go out today, do you think it's better to merge this in now or wait for the next release? The change seems pretty safe so I think it's fine to merge now in the RC phase.
Oh shoot, sorry -- I merged before seeing this.
I think it's okay to put it into the next release; I agree that this change seems pretty safe. But I also don't think that this issue affects many people, so I would also be fine with cutting the release based on the commit prior to this.
Fixes #318. The workaround here is to avoid the
super()
call -- thesuper()
call accesses the__class__
variable from the__init__
method, which due to a CPython bug on Python <=3.10 means that__class__
is removed fromParamSpec.__dict__
if a profiling function has been set.