Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation.

This commit is contained in:
Serhiy Storchaka 2016-09-06 22:07:53 +03:00
parent 620bb277f8
commit ea525a2d1a
14 changed files with 396 additions and 356 deletions

View file

@ -777,6 +777,14 @@ All of the following opcodes use their arguments.
.. versionadded:: 3.6
.. opcode:: BUILD_STRING (count)
Concatenates *count* strings from the stack and pushes the resulting string
onto the stack.
.. versionadded:: 3.6
.. opcode:: LOAD_ATTR (namei)
Replaces TOS with ``getattr(TOS, co_names[namei])``.