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 serhiy.storchaka
Recipients clevy, martin.panter, rhettinger, serhiy.storchaka, stutzbach
Date 2015-06-12.04:58:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434085120.58.0.110082450445.issue24434@psf.upfronthosting.co.za>
In-reply-to
Content
Additional check hits performance. First issue can be resolved by changing code to

    try:
        key, value = item
    except TypeError:
        return False

Second issue can be resolved by comparing not v with value, but (key, v) with item. However I'm not sure that fixing it is worth such complication of the code.
History
Date User Action Args
2015-06-12 04:58:40serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, stutzbach, martin.panter, clevy
2015-06-12 04:58:40serhiy.storchakasetmessageid: <1434085120.58.0.110082450445.issue24434@psf.upfronthosting.co.za>
2015-06-12 04:58:40serhiy.storchakalinkissue24434 messages
2015-06-12 04:58:39serhiy.storchakacreate