New submission from David I. Lehn <d...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9543>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to