maxcountryman/irctk — pull request #17 by daemianmack (2012-01-16 14:06:15+00:00)
Title: I don't think (x and y) in buffer is probably what you want here. Owing ...

...to the way Python short-circuits boolean expressions, (x and y) will eval to y before performing the in check, so in effect you're asserting that both names are not False (which will always be True, having just been assigned) and that y is present in the buffer. Just noticed this browsing your code -- hope it's helpful.