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.

classification
Title: Duplicate Opcode value in master and 3.9rc2
Type: compile error Stage: resolved
Components: Interpreter Core Versions: Python 3.10, Python 3.9
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: anthonypjshaw
Priority: normal Keywords:

Created on 2020-09-30 03:06 by anthonypjshaw, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg377688 - (view) Author: anthony shaw (anthonypjshaw) * (Python triager) Date: 2020-09-30 03:06
I noticed that HAVE_ARGUMENT and STORE_NAME have the same value (90) in Include/opcode.h in both the source code and in the 2bd31b5f revision (3.9.0rc2).

This must be creating some weird bugs.

https://github.com/python/cpython/blob/582aaf19e8b94a70c1f96792197770d604ba0fdf/Include/opcode.h#L70-L71
msg377689 - (view) Author: anthony shaw (anthonypjshaw) * (Python triager) Date: 2020-09-30 03:08
Or is this some sort of obscure month python reference!?
msg377690 - (view) Author: anthony shaw (anthonypjshaw) * (Python triager) Date: 2020-09-30 03:09
No, this is intentional. sorry. closing
https://github.com/python/cpython/blob/34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3/Doc/library/dis.rst#L1194
History
Date User Action Args
2022-04-11 14:59:36adminsetgithub: 86054
2020-09-30 03:10:04anthonypjshawsetstatus: open -> closed
stage: resolved
2020-09-30 03:09:52anthonypjshawsetmessages: + msg377690
2020-09-30 03:08:44anthonypjshawsetmessages: + msg377689
2020-09-30 03:06:11anthonypjshawcreate