This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients docs@python, serhiy.storchaka
Date 2016-11-26.18:24:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480184644.53.0.660721117392.issue28810@psf.upfronthosting.co.za>
In-reply-to
Content
There are many bytecode changes in 3.6, but seems most of them are not documented (besides short line in _bootstrap_external.py).

* The bytecode now uses 16 bit units (wordcode) (issue26647).

* Added FORMAT_VALUE opcode (issue25483).

* Added BUILD_CONST_KEY_MAP opcode (issue27140).

* Added BUILD_STRING opcode (issue27078).

* Added BUILD_TUPLE_UNPACK_WITH_CALL opcode (issue28257).

* Added SETUP_ANNOTATIONS and STORE_ANNOTATION opcodes (issue27985).

* Changed CALL_FUNCTION, CALL_FUNCTION_KW and BUILD_MAP_UNPACK_WITH_CALL opcodes, removed CALL_FUNCTION_VAR, CALL_FUNCTION_VAR_KW opcodes, added CALL_FUNCTION_EX opcode (issue27213).

* Changed MAKE_FUNCTION opcode, removed MAKE_CLOSURE opcode (issue27095).

* Not related to the bytecode itself: lineno delta of code.co_lnotab now is signed (issue26107).

There are third-party projects that need correct information about bytecode changes.
History
Date User Action Args
2016-11-26 18:24:04serhiy.storchakasetrecipients: + serhiy.storchaka, docs@python
2016-11-26 18:24:04serhiy.storchakasetmessageid: <1480184644.53.0.660721117392.issue28810@psf.upfronthosting.co.za>
2016-11-26 18:24:04serhiy.storchakalinkissue28810 messages
2016-11-26 18:24:04serhiy.storchakacreate