tree = fparser.api.parse(stream.read(), isfree=True, isstrict=True)
File ".../vendor/f2py/fparser/api.py", line 158, in parse
parser.analyze()
File ".../vendor/f2py/fparser/parsefortran.py", line 90, in analyze
self.block.analyze()
File ".../vendor/f2py/fparser/utils.py", line 209, in new_func
func(self)
File ".../vendor/f2py/fparser/block_statements.py", line 223, in analyze
stmt.analyze()
File ".../vendor/f2py/fparser/utils.py", line 209, in new_func
func(self)
File ".../vendor/f2py/fparser/block_statements.py", line 324, in analyze
stmt.analyze()
File ".../vendor/f2py/fparser/utils.py", line 209, in new_func
func(self)
File ".../vendor/f2py/fparser/block_statements.py", line 1098, in analyze
args,rest = parse_bind(spec)
File ".../vendor/f2py/fparser/utils.py", line 89, in parse_bind
newline = newline[4:].lstrip()
UnboundLocalError: local variable 'newline' referenced before assignment
fixed by adding newline = line after line 87 in fparser/utils.py
fixed by adding
newline = line
after line 87 in fparser/utils.py