Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me.
Sorry, something went wrong.
|
Looks like _Pickle_GetState needs same change on sperate PR.. Line 183 in dffe4c0 |
Sorry, something went wrong.
|
Looks like _Pickle_GetState needs same change on sperate PR.. Line 183 in dffe4c0 I create this sperate change due to binascii extension module have been ported to pep-489. |
Sorry, something went wrong.
|
cc @vstinner Hi, victor. It's a enhancement operation of binascii's get_module_state() |
Sorry, something went wrong.
|
I don't think that this change is worth it. In practice, I don't see why the state would be NULL. If it's the case, the code should crash anyway :-) Existing code which checks that the state is not NULL with an assertion is fine. But I don't think that this change is worth it. |
Sorry, something went wrong.
|
got it, thanks, victor :) |
Sorry, something went wrong.
https://bugs.python.org/issue1635741