[ python-Bugs-1295432 ] cookielib undefined local variable error

SourceForge.net noreply at sourceforge.net
Mon Sep 19 15:42:18 CEST 2005


Bugs item #1295432, was opened at 2005-09-19 09:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1295432&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Yusuke Shinyama (euske)
Assigned to: Nobody/Anonymous (nobody)
Summary: cookielib undefined local variable error

Initial Comment:
The domain_return_ok() method in DefaultCookiePolicy
class got Undefined local variable exception with
cookies returned by some websites. I couldn't see the
cookie which caused the problem. But it seems this is
because the local variables dotted_req_host and
dotted_erhn are first assigned in a if statement and
might not be always defined.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1295432&group_id=5470


More information about the Python-bugs-list mailing list