Message283172
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:58 | vstinner | set | recipients:
+ vstinner, gvanrossum, giampaolo.rodola, ned.deily, methane, yselivanov, Ned Williamson |
2016-12-14 08:12:58 | vstinner | set | messageid: <1481703178.75.0.715803169353.issue28963@psf.upfronthosting.co.za> |
2016-12-14 08:12:58 | vstinner | link | issue28963 messages |
2016-12-14 08:12:58 | vstinner | create | |
|