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 vstinner
Recipients Ned Williamson, giampaolo.rodola, gvanrossum, methane, ned.deily, vstinner, yselivanov
Date 2016-12-14.08:12:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I see three options:

* avoid PyObject_RichCompareBool() which can run arbitrary Python code: this can be complicated since callbacks can be proxies, functools.partial, lambda, and other funny callable objects
* reimplement the same algorithm than the Python implementation: create a new list.
* do nothing: if you do weird things, it's your fault :-)

My favorite option is to work on a new list.
Date User Action Args
2016-12-14 08:12:58vstinnersetrecipients: + vstinner, gvanrossum, giampaolo.rodola, ned.deily, methane, yselivanov, Ned Williamson
2016-12-14 08:12:58vstinnersetmessageid: <>
2016-12-14 08:12:58vstinnerlinkissue28963 messages
2016-12-14 08:12:58vstinnercreate