Closed
Description
Bug report
When decoding an invalid opcode (say opcode '0') Python raises a SystemError
but also prints debug information on stderr
. I think it would be better not to print these debug information in the (very uncommon!) case where such decode errors are a potential scenario that should be gracefully handled.
Simple reproducer:
exec(CodeType(0, 0, 0, 10, 0, b'\x00', (), (), (), '<>', '', 0, b''))