Message156478
Incidentally, the workaround that I'm using for the time being is to run the following code before attempting to compile root_node.
for node in ast.walk(root_node):
if isinstance(node, ast.ImportFrom) and node.module == '__future__':
node.module = '__future__' |
|
Date |
User |
Action |
Args |
2012-03-21 06:23:38 | talljosh | set | recipients:
+ talljosh |
2012-03-21 06:23:38 | talljosh | set | messageid: <1332311018.21.0.078755224683.issue14378@psf.upfronthosting.co.za> |
2012-03-21 06:23:37 | talljosh | link | issue14378 messages |
2012-03-21 06:23:37 | talljosh | create | |
|