> Is there a better way? A hint on that is welcome :-)
printf debugging is what I use most of the times too - pdb is not a great debugger. however I have a snippet in my editor that will format all lines I output like so: print "#sirver: a: %s" % a.
Similarly if i note something that I want to fix in a branch before submitting a merge proposal, I add a comment: NOCOM(#sirver). Before sending stuff for review, I grep for '#sirver' in the code base - if there are none left I know i am done.
> Is there a better way? A hint on that is welcome :-)
printf debugging is what I use most of the times too - pdb is not a great debugger. however I have a snippet in my editor that will format all lines I output like so: print "#sirver: a: %s" % a.
Similarly if i note something that I want to fix in a branch before submitting a merge proposal, I add a comment: NOCOM(#sirver). Before sending stuff for review, I grep for '#sirver' in the code base - if there are none left I know i am done.