Loading Jishaku under Python 3.13 results in an AttributeError. This is caused by the removal of opcode._specialized_instructions . This seems to have been replaced internally by opcode._specialized_opmap.
discord.ext.commands.errors.ExtensionFailed: Extension 'jishaku' raised an error: AttributeError: module 'opcode' has no attribute '_specialized_instructions'
Checklist
[x] I have updated discord.py and jishaku to the latest available versions and have confirmed that this issue is still present
[x] I have searched the open issues for duplicates
[x] I have shown the entire traceback, if possible
[x] I have removed my token from display, if visible
System information
Jishaku Version: 2.5.2a503+g4408b2a.master
Python v3.13.0-candidate
discord.py v2.5.0-alpha
discord.py metadata: v2.5.0a5060+gff638d39
aiohttp v3.10.4
system info: Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000
Summary
Loading Jishaku under Python 3.13 results in an AttributeError. This is caused by the removal of
opcode._specialized_instructions
. This seems to have been replaced internally byopcode._specialized_opmap
.Responsible Code
Reproduction steps
Load extension while running under Python 3.13.
Expected results
Extension loads successfully.
Actual results
Checklist
System information
Jishaku Version: 2.5.2a503+g4408b2a.master
Python v3.13.0-candidate discord.py v2.5.0-alpha discord.py metadata: v2.5.0a5060+gff638d39 aiohttp v3.10.4 system info: Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000