#19063: partially fix set_payload handling of non-ASCII string input.
This is a backward compatible partial fix, the complete fix requires raising an error instead of accepting the invalid input, so the real fix is only suitable for 3.4.
R
R David Murray committed
d5c4c7411af644fe7607695eb58ef91fd29066c3
Parent: 31a6554