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 r.david.murray
Recipients BreamoreBoy, SilentGhost, berker.peksag, eric.araujo, pje, ptn, r.david.murray, ramiroluz, tarek
Date 2014-07-01.14:18:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Since we don't need to avoid new language features, using the ternary would be better than using the or.  This is exactly the sort of situation the ternary was introduced for: making sure the input really is None before applying the default.

Otherwise the patch looks good.
Date User Action Args
2014-07-01 14:18:22r.david.murraysetrecipients: + r.david.murray, pje, tarek, eric.araujo, ptn, SilentGhost, BreamoreBoy, ramiroluz, berker.peksag
2014-07-01 14:18:22r.david.murraysetmessageid: <>
2014-07-01 14:18:22r.david.murraylinkissue5800 messages
2014-07-01 14:18:22r.david.murraycreate