Fix a bug when CFG-izing certain structures in try blocks
Augassigns and for loops had an issue where they would try to do something like 'i = i.__iadd__(j)', ie have multiple operations in a single statement. If an exception occurs, it's not clear if the name got redefined; so far we just assume that it always does (since we don't have the mechanism to propagate the name along only one control flow edge). So we have to split up those multi-operation-statements into multiple statements.
Showing
Please register or sign in to comment