[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

Pierrick Koch report at bugs.python.org
Tue May 7 15:45:56 CEST 2013


New submission from Pierrick Koch:

Dear,

del deque[0] is not safe, see the attached patch for the asynchat.async_chat.initiate_send method.
fix the "IndexError: deque index out of range" of "del self.producer_fifo[0]"

Best,
Pierrick Koch

----------
components: Library (Lib)
files: asynchat.async_chat.initiate_send.deldeque.patch
keywords: patch
messages: 188652
nosy: Pierrick.Koch
priority: normal
severity: normal
status: open
title: asynchat.async_chat.initiate_send : del deque[0] is not safe
type: crash
versions: Python 3.3
Added file: http://bugs.python.org/file30165/asynchat.async_chat.initiate_send.deldeque.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17925>
_______________________________________


More information about the Python-bugs-list mailing list