A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-January/151843.html below:

[Python-Dev] Unexpected bytecode difference

[Python-Dev] Unexpected bytecode difference [Python-Dev] Unexpected bytecode differenceAlexander Belopolsky alexander.belopolsky at gmail.com
Fri Jan 19 19:07:45 EST 2018
On Fri, Jan 19, 2018 at 7:01 PM, Guido van Rossum <guido at python.org> wrote:
> Presumably because Python 3 switched to wordcode. Applying dis.dis() to
> these code objects results in the same output.
>
>>>> dis.dis(c)
>           0 LOAD_NAME           0 (0)
>           3 RETURN_VALUE

I expected these changes to be documented at
<https://docs.python.org/3/library/dis.html>, but the EXTENDED_ARG
section, for example, is the same in the 2 and 3 versions and says
that the default argument is two bytes.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4