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

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


In article <mailman.6824.1392265865.18130.python-list at python.org>,
 Chris Angelico <rosuav at gmail.com> 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:

os.fork()



More information about the Python-list mailing list