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.
Created on 2012年10月14日 10:37 by serhiy.storchaka, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| select_resized_list.patch | serhiy.storchaka, 2012年10月14日 10:40 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg172871 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2012年10月14日 10:37 | |
Simple crash code: import select a = [] class F: def fileno(self): del a[-1] return 1 a[:] = [F()] * 10 select.select([], a, []) |
|||
| msg172872 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2012年10月14日 10:40 | |
Here is a patch. |
|||
| msg174446 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年11月01日 19:20 | |
New changeset 87ccf2635ad7 by Antoine Pitrou in branch '3.2': Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on. http://hg.python.org/cpython/rev/87ccf2635ad7 New changeset 717660ec8f67 by Antoine Pitrou in branch '3.3': Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on. http://hg.python.org/cpython/rev/717660ec8f67 New changeset 823898ef37ce by Antoine Pitrou in branch 'default': Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on. http://hg.python.org/cpython/rev/823898ef37ce New changeset 02a5322b0cee by Antoine Pitrou in branch '2.7': Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on. http://hg.python.org/cpython/rev/02a5322b0cee |
|||
| msg174447 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2012年11月01日 19:23 | |
Committed, thank you! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:37 | admin | set | github: 60434 |
| 2012年11月01日 19:23:50 | pitrou | set | status: open -> closed nosy: + pitrou messages: + msg174447 resolution: fixed stage: patch review -> resolved |
| 2012年11月01日 19:20:32 | python-dev | set | nosy:
+ python-dev messages: + msg174446 |
| 2012年11月01日 13:20:28 | asvetlov | set | nosy:
+ asvetlov |
| 2012年10月24日 08:59:46 | serhiy.storchaka | set | stage: patch review |
| 2012年10月21日 17:17:24 | serhiy.storchaka | set | keywords: + needs review |
| 2012年10月15日 02:03:29 | jcea | set | nosy:
+ jcea |
| 2012年10月14日 10:40:59 | serhiy.storchaka | set | files:
+ select_resized_list.patch keywords: + patch messages: + msg172872 |
| 2012年10月14日 10:37:16 | serhiy.storchaka | create | |