[Patches] [ python-Patches-969907 ] Don't print to stdout in cookielib.py exception handler

SourceForge.net noreply at sourceforge.net
Sat Jul 10 20:32:33 CEST 2004


Patches item #969907, was opened at 2004-06-09 17:09
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=969907&group_id=5470

Category: Library (Lib)
Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 6
Submitted By: John J Lee (jjlee)
Assigned to: Martin v. Löwis (loewis)
Summary: Don't print to stdout in cookielib.py exception handler 

Initial Comment:
There are a couple of blanket except: statements in
cookielib.  The idea is to handle any bugs in
cookielib's input handling that may be tickled by
unexpected input by issuing a warning instead of
letting the exception propagate.

Previously, in addition to issuing a warning, a
traceback was printed.  This patch makes the traceback
part of the warning, so it can be suppressed.

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

>Comment By: A.M. Kuchling (akuchling)
Date: 2004-07-10 14:32

Message:
Logged In: YES 
user_id=11375

Applied to CVS; thanks!

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

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


More information about the Patches mailing list