Hi folks!
I'm looking for a way to compile python source to bytecode instead of
code-objects. Is there a possibility to do that? The reason is: I want
to store pure bytecode with no additional data.
The second question is, therefore: How can I get the correct values
for a given bytecode, such as the stacksize and flags attributes of
the correspondent code object?
No, I don't want to extract all of these things out of a code object.
Best wishes and thanks for answering!
F. Sidler
I'm looking for a way to compile python source to bytecode instead of
code-objects. Is there a possibility to do that? The reason is: I want
to store pure bytecode with no additional data.
The second question is, therefore: How can I get the correct values
for a given bytecode, such as the stacksize and flags attributes of
the correspondent code object?
No, I don't want to extract all of these things out of a code object.
Best wishes and thanks for answering!
F. Sidler
Comment