提交 6af77b74 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

PEP8

上级 2bbb2820
......@@ -2199,22 +2199,29 @@ class _Maker(FunctionMaker): # inheritance buys a few helper functions
raise StochasticOrder(infolog.getvalue())
else:
if self.verbose:
print >> sys.stderr, "OPTCHECK: optimization", i, "of", len(li), "events was stable."
print >> sys.stderr, "OPTCHECK: optimization", i, \
"of", len(li), "events was stable."
else:
fgraph0 = fgraph
del fgraph0
self.fgraph = fgraph
#equivalence_tracker.printstuff()
linker = _Linker(self)
# the 'no_borrow' outputs are the ones for which that we can't return
# the internal storage pointer.
#the 'no_borrow' outputs are the ones for which that we can't return the internal storage pointer.
no_borrow = [output for output, spec in zip(fgraph.outputs, outputs+additional_outputs) if not spec.borrow]
no_borrow = [
output
for output, spec in izip(fgraph.outputs,
outputs + additional_outputs)
if not spec.borrow]
if no_borrow:
self.linker = linker.accept(fgraph, no_recycling = infer_reuse_pattern(fgraph, no_borrow))
self.linker = linker.accept(
fgraph,
no_recycling=infer_reuse_pattern(fgraph, no_borrow))
else:
self.linker = linker.accept(fgraph)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论