[issue9543] 2.6.6 rc1 socket.py flush() calls del on unbound 'view' variable
David I. Lehn
report at bugs.python.org
Mon Aug 9 03:35:24 CEST 2010
New submission from David I. Lehn <dil at lehn.org>:
An error was introduced in 2.6.6 rc1 in the socket flush() call where del is called on the unbound 'view' variable.
Associated commit and diff:
http://svn.python.org/view?view=rev&revision=83624
http://svn.python.org/view/python/tags/r266rc1/Lib/socket.py?r1=81488&r2=83624
Tail end of the runtime stack trace:
File "/usr/lib/python2.6/socket.py", line 318, in write
self.flush()
File "/usr/lib/python2.6/socket.py", line 302, in flush
del view, data # explicit free
UnboundLocalError: local variable 'view' referenced before assignment
----------
components: Library (Lib)
messages: 113357
nosy: dil
priority: normal
severity: normal
status: open
title: 2.6.6 rc1 socket.py flush() calls del on unbound 'view' variable
type: crash
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9543>
_______________________________________
More information about the Python-bugs-list
mailing list