On 7/15/2012 11:19 AM, Ian Kelly wrote: > Ugh, that's irritating. I can't think of any scenario where I would > ever want the semantics "if timeval (is not midnight):". It's not implemented with such a test, but logging.handlers.TimedRotatingFileHandler has an option to rollover at midnight. -- CPython 3.3.0b1 | Windows NT 6.1.7601.17803 -- http://mail.python.org/mailman/listinfo/python-list
- Implicit conversion to boolean in if and while statements Andrew Berg
- Re: Implicit conversion to boolean in if and while s... Chris Angelico
- Re: Implicit conversion to boolean in if and while s... Stefan Behnel
- Re: Implicit conversion to boolean in if and while s... Steven D'Aprano
- Re: Implicit conversion to boolean in if and whi... Ian Kelly
- Re: Implicit conversion to boolean in if and... Andrew Berg
- Re: Implicit conversion to boolean in if and... Terry Reedy
- Re: Implicit conversion to boolean in if and whi... Rick Johnson
- Re: Implicit conversion to boolean in if and... Ian Kelly
- Re: Implicit conversion to boolean in if and... Rick Johnson
- Re: Implicit conversion to boolean in if... Chris Angelico
- Re: Implicit conversion to boolean in if... Ranting Rick
- Re: Implicit conversion to boolean ... Chris Angelico
- Re: Implicit conversion to bool... Devin Jeanpierre
- Re: Implicit conversion to bool... Ranting Rick