Mailing List Archive

[ python-Bugs-1295432 ] cookielib undefined local variable error
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
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[ python-Bugs-1295432 ] cookielib undefined local variable error [ In reply to ]
Bugs item #1295432, was opened at 2005-09-19 15:42
Message generated for change (Settings changed) made by birkenfeld
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: Closed
>Resolution: Out of Date
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.

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

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-09-19 20:50

Message:
Logged In: YES
user_id=1188172

This was already fixed with patch #1116583 on 2005/02/05.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1295432&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com