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 pitrou
Recipients benjamin.peterson, dw, hynek, kmike, pitrou, scoder, serhiy.storchaka, skrah, stutzbach
Date 2014-07-22.23:19:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406071196.32.0.624279275014.issue22003@psf.upfronthosting.co.za>
In-reply-to
Content
I don't like the idea of trying to hash the object. It may be a time-consuming operation, while the result will be thrown away.

I think restricting the optimization to bytes objects is fine. We can whitelist other types, such as memoryview.
History
Date User Action Args
2014-07-22 23:19:56pitrousetrecipients: + pitrou, scoder, benjamin.peterson, stutzbach, skrah, hynek, dw, serhiy.storchaka, kmike
2014-07-22 23:19:56pitrousetmessageid: <1406071196.32.0.624279275014.issue22003@psf.upfronthosting.co.za>
2014-07-22 23:19:56pitroulinkissue22003 messages
2014-07-22 23:19:56pitroucreate