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 tim.peters
Recipients David.Manowitz, tim.peters
Date 2016-04-14.01:21:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If that's the actual code you're using, it has a bug:  the "if k2[1] is None" test is useless, since regardless of whether it's true or false, the next `if` suite overwrites `retval`.  You probably meant

    elif k1[1] ...

instead of

    if k1[1] ...

Does that fix your problem?

If not, please augment the bug report with the _complete_ code you're actually using, a sample problematic input, the exact output you're expecting, and the exact output you're seeing instead.  We're not telepathic ;-)
Date User Action Args
2016-04-14 01:21:33tim.peterssetrecipients: + tim.peters, David.Manowitz
2016-04-14 01:21:33tim.peterssetmessageid: <>
2016-04-14 01:21:33tim.peterslinkissue26751 messages
2016-04-14 01:21:33tim.peterscreate