[Buildbot-devel] Trouble with addSuppression()

Ian Zimmerman itz at buug.org
Mon Apr 20 19:28:38 UTC 2015

On Fri, 17 Apr 2015 01:35:31 +0200,
Vadim Zeitlin <vz-buildbot at zeitlins.org> wrote:

> 	step = Compile(..., warningPattern=r"...")
> 	step.addSuppression(...)

> 	class MyCompile(Compile):
> 		def __init__(self, **kwargs):
> 			Compile.__init__(warningPattern=r"...", **kwargs)
> 			self.addSuppression(...)
> 	step = MyCompile(...)

Well I'm sorry but .. aren't these two sequences semantically

I guess I already know the answer is "no", but that means something
quite tricky is going on, and the question becomes, is such trickiness
good, proper, or at least necessary?

Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.
Local Variables:

More information about the devel mailing list