[Patches] [ python-Patches-1116583 ] NameError in cookielib domain check

SourceForge.net noreply at sourceforge.net
Sat Feb 5 01:40:37 CET 2005


Patches item #1116583, was opened at 2005-02-04 19:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1116583&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Chad Miller (chadmiller)
Assigned to: Nobody/Anonymous (nobody)
Summary: NameError in cookielib domain check

Initial Comment:
Some cookies trigger this cookielib bug.

The bug is analogous to...

if a == ...:
    new_a = a + other_value

if new_a ... :
    foo()

But, "new_a" doesn't exist if the first condition
fails.  I included a lot of lines of context to show
that it's correct without having to see surrounding code.

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

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


More information about the Patches mailing list