mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Add bytecode and disassembly support for Python 3.8.
Also fixes running pymultic from outside of its source directory.
This commit is contained in:
parent
de78e1b882
commit
428d11c4b5
12 changed files with 419 additions and 267 deletions
|
|
@ -9,6 +9,11 @@ void PycCode::load(PycData* stream, PycModule* mod)
|
|||
else if (mod->verCompare(2, 3) >= 0)
|
||||
m_argCount = stream->get32();
|
||||
|
||||
if (mod->verCompare(3, 8) >= 0)
|
||||
m_posOnlyArgCount = stream->get32();
|
||||
else
|
||||
m_posOnlyArgCount = 0;
|
||||
|
||||
if (mod->majorVer() >= 3)
|
||||
m_kwOnlyArgCount = stream->get32();
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue