average-vr-56795
09/10/2018, 5:24 PMaverage-vr-56795
09/10/2018, 5:27 PMaloof-angle-91616
09/10/2018, 6:22 PMaloof-angle-91616
09/10/2018, 6:23 PMaloof-angle-91616
09/10/2018, 6:24 PMconvert(tuple)
aloof-angle-91616
09/11/2018, 7:44 AMaloof-angle-91616
09/11/2018, 7:44 AMSyntaxError: 'return' with argument inside generator
and i wanted to say i remember the last time i made this mistake and it was incomprehensible so thanks whoever wrote thataloof-angle-91616
09/11/2018, 7:44 AMaloof-angle-91616
09/11/2018, 7:46 AM@rule
which does yielding)witty-crayon-22786
09/11/2018, 4:46 PMwitty-crayon-22786
09/11/2018, 4:46 PMdef
is either a function or a generator, but not bothaloof-angle-91616
09/12/2018, 7:51 AMaloof-angle-91616
09/12/2018, 6:30 PM_copy_target_attributes
in codegen tasks and moving that into an attribute on the generated target type itself, e.g. PythonLibrary.synthetic_passthrough_args == ['compatibility']
. this has the additional benefit of colocating the passthrough args with the target that they're getting passed through to. i'm thinking this probably best done with a new abstract task class subclassing SimpleCodegenTask
, and then individual codegen tasks can switch over kinda like BinaryTool
-- and then we can deprecate using SimpleCodegenTask
directly. if this had existed before, i wouldn't have had to update multiple internal tasks to support compiler_option_sets
, and in general this seems far more stable. i don't think this is a lot of code, and since the idea is to make a new class first, it shouldn't be too intrusive. i can put that up today, but if it sounds like something i should put up an issue for first, i can do that first.witty-crayon-22786
09/12/2018, 7:25 PMpassthrough
is overloaded though. should call it something else.witty-crayon-22786
09/12/2018, 7:26 PMwitty-crayon-22786
09/12/2018, 7:27 PM_copy_target_attributes
...?witty-crayon-22786
09/12/2018, 7:28 PMaloof-angle-91616
09/12/2018, 8:58 PMaloof-angle-91616
09/12/2018, 8:58 PMwitty-crayon-22786
09/12/2018, 9:02 PMaloof-angle-91616
09/13/2018, 6:35 AMwitty-crayon-22786
09/13/2018, 5:44 PM./pants --v2 dependees
looks like: https://github.com/pantsbuild/pants/compare/master...twitter:stuhood/fast-dependees#diff-1296e3c25dac4b8e3dee225895ae16cfR23witty-crayon-22786
09/13/2018, 5:45 PM--changed
.witty-crayon-22786
09/13/2018, 5:45 PM./pants --dependees test $target
happy-kitchen-89482
09/13/2018, 5:45 PMhappy-kitchen-89482
09/13/2018, 5:45 PM./pants --dependees print $target
happy-kitchen-89482
09/13/2018, 5:45 PMwitty-crayon-22786
09/13/2018, 5:46 PM./pants --v2 --no-v1 --loop --enable-pantsd dependees src/scala/org/pantsbuild/zinc/analysis
)witty-crayon-22786
09/13/2018, 5:46 PMlist
😉happy-kitchen-89482
09/13/2018, 5:46 PM