MatthieuDartiailh / bytecode

Python module to modify bytecode
https://bytecode.readthedocs.io/
MIT License
302 stars 38 forks source link

Flag inference is too agressive in determining generator #55

Closed MatthieuDartiailh closed 4 years ago

MatthieuDartiailh commented 4 years ago

await generates YIELD_FROM instruction and the function should not be tagged as a generator in that case (overall the flag inference need to be reworked).

MatthieuDartiailh commented 4 years ago

Closed by #56