Svenskithesource/PyArmor-Unpacker

Support async code objects

Svenskithesource opened this issue · 0 comments

Currently when we try to invoke an async code object it will fail saying that we never awaited the function. Python knows it's an async code object by one of the flags that is set, we can simply remove that flag when we invoke it to prevent the error from raising. After it's invoked we will restore the original flag.