[Scons-users] Value builder
dragon512 at live.com
Mon Jul 23 16:17:08 EDT 2018
I am making a value builder in SCons.
I think I found a bug. In the Value node there is a read() and write() method. If I try to call the read method before the node is built we go into a recursive loop. For example:
def build_value(target, source, env):
print target,target.read() # BOOM
This is because the read() method calls self.build(). Should it return None if there is nothing to read? The taskmaster should have called the node to build correctly. I don't think it should try to build otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users