[Python-Dev] IEEE/ISO draft on Python vulnerabilities (original) (raw)

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Dec 13 11:37:32 CET 2011


2011/12/12 Victor Stinner <victor.stinner at haypocalc.com>

"When sorting a list using the sort() method, attempting to inspect or mutate the content of the list will result in undefined behaviour."

But is this even true? in listobject.c::listsort(), since 2002, /* The list is temporarily made empty, so that mutations performed

-- Amaury Forgeot d'Arc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20111213/7595f764/attachment.html>



More information about the Python-Dev mailing list