Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

CPython 3.6+ is switching to a 16-bit wordcode format #71

Closed
freakboy3742 opened this issue May 26, 2016 · 4 comments
Closed

CPython 3.6+ is switching to a 16-bit wordcode format #71

freakboy3742 opened this issue May 26, 2016 · 4 comments

Comments

@freakboy3742
Copy link
Member

Via @ncoghlan, reporting beeware/voc#132:

This is an early heads up that CPython will be switching to a 16-bit wordcode format as of 3.6a2: http://bugs.python.org/issue26647

The change itself is in https://hg.python.org/cpython/rev/3a57eafd8401

In theory this should be a transparent change for any project that interacts with compiled code solely through the dis module, but since VoC transpiles CPython bytecode I figured you may want to take a closer look at the implications.

@freakboy3742
Copy link
Member Author

See also #26, for the changes affecting CPython 3.5.

@cjrh
Copy link

cjrh commented May 25, 2017

I've begun implementation of 16-bit wordcode in PR #536. The changes are wound up in also trying to get dicts to work for 3.6.1. Unfortunately, both the 16-bit wordcode change as well as the new opcode changes (like the new dict support) have to be done at the same time.

@Zac-HD
Copy link

Zac-HD commented Dec 13, 2017

Closed by #621?

@freakboy3742
Copy link
Member Author

@Zac-HD Indeed it is. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants