elaird/supy — pull request #19 by betchart (2011-10-14 07:15:37+00:00)
Title: Changes to check

Hi Ted,

I have 6 secondary calculables now, and checking the dependencies is quite cpu intensive for each one since I fixed the dependency tracking bugs recently. I decided I wanted to do the checking in parallel, and ran into trouble with operateOnListUsingQueue trying to make deep copies of TROOT. The code ran fine, but with noisey nasty errors. I found that it is the TDirectories in objects that lead to trying to copy TROOT upon deepcopy. I first moved the autobook definitions (which have tdirectories) after the 'minimal' bailout, which solved my problem, but I found in testing that the books need to be there for mergeFunc. So I ended up adding an option to setupSteps to avoid setting the books, which defaults to the previous behavior of including them regardless.

I also added a __deepcopy__ specification to organizer, which allows me to deepcopy it without throwing up all over the terminal. You might look at it for awareness sake, though I think you were probably not already deepcopying organizers.

--