[issue27097] ceval: Wordcode follow up, explicit unsigned short read

Mark Dickinson report at bugs.python.org
Tue May 24 13:37:24 EDT 2016


Mark Dickinson added the comment:

This assignment:

    oparg = *(unsigned short*)next_instr

has undefined behaviour, according to the C standards. I'm not sure it's a good idea to introduce this into the core.

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27097>
_______________________________________


More information about the Python-bugs-list mailing list