[Python-Dev] Bytcode "magic tag"

Eric V. Smith eric at trueblade.com
Wed Oct 28 10:28:33 EDT 2015


On 10/28/2015 10:22 AM, Eric Snow wrote:
> On Wed, Oct 28, 2015 at 6:35 AM, Eric V. Smith <eric at trueblade.com> wrote:

>> Do I need to do anything else? Unlike what the comment in
>> _boostrap_external.py suggests, this "magic tag" will not change every
>> time a bytecode is added, but only on every minor release. Which implies
>> that if we have a micro release that adds an opcode, we'll in fact break
>> the promise in the comment.
> 
> You will want to bump the number on the following line:
>   https://hg.python.org/cpython/file/default/Lib/importlib/_bootstrap_external.py#l231

Thanks. That part I've done (but forgot to mention). I was just
concerned about the "magic tag" part, which Barry cleared up.

Eric.




More information about the Python-Dev mailing list