Backport of 8944737844 (Also fixes return type of `__pow__` to always be derived class)
8944737844
A Fortis Scientia site