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.

Author dil
Recipients dil
Date 2010-08-09.01:35:21
SpamBayes Score 2.720413e-06
Marked as misclassified No
Message-id <1281317724.88.0.544391829079.issue9543@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-08-09 01:35:25dilsetrecipients: + dil
2010-08-09 01:35:24dilsetmessageid: <1281317724.88.0.544391829079.issue9543@psf.upfronthosting.co.za>
2010-08-09 01:35:23dillinkissue9543 messages
2010-08-09 01:35:21dilcreate