This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Lakin.Wecker
Recipients Lakin.Wecker, belopolsky, r.david.murray
Date 2012-02-03.20:55:10
SpamBayes Score 1.2019666e-05
Marked as misclassified No
Message-id <>
Right. I've updated my code to be more correct:

instead of:

if not start_time:
    start_time = default_time

it now reads:

if start_time is None:
    start_time = default_time

which operates correctly and works fine for my case, I just thought it was odd that one time out of all of them evaluates to False.  I too wonder if it's by design or not.

It's definitely not documented if it is by design.
Date User Action Args
2012-02-03 20:55:11Lakin.Weckersetrecipients: + Lakin.Wecker, belopolsky, r.david.murray
2012-02-03 20:55:11Lakin.Weckersetmessageid: <>
2012-02-03 20:55:10Lakin.Weckerlinkissue13936 messages
2012-02-03 20:55:10Lakin.Weckercreate