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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17925>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to