object.__reduce__() no longer takes arguments, object.__reduce_ex__() now requires one argument.
Based on patch by Vajrasky Kok.