PyWart: More surpises via "implict conversion to boolean" (and other steaming piles!)

Roy Smith roy at
Thu Feb 13 15:58:25 CET 2014

In article <mailman.6824.1392265865.18130.python-list at>,
 Chris Angelico <rosuav at> wrote:

> Whether it's a module-level function, a bound method, a closure, or a
> callable object, a zero-arg function in Python always has some kind of
> implicit state.

Sometimes, it has a *lot* of implicit state:


More information about the Python-list mailing list