Add callable validation to codecs.register_error
#6229
Merged
Loading
codecs.register_error
#6229