Add bytecode and disassembly support for Python 3.8.
Also fixes running pymultic from outside of its source directory.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user