Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't print to stdout in cookielib.py exception handler #40372

Closed
jjlee mannequin opened this issue Jun 9, 2004 · 2 comments
Closed

Don't print to stdout in cookielib.py exception handler #40372

jjlee mannequin opened this issue Jun 9, 2004 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@jjlee
Copy link
Mannequin

jjlee mannequin commented Jun 9, 2004

BPO 969907
Nosy @loewis, @akuchling
Files
  • cookielib.py.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/loewis'
    closed_at = <Date 2004-07-10.18:32:32.000>
    created_at = <Date 2004-06-09.21:09:32.000>
    labels = ['library']
    title = "Don't print to stdout in cookielib.py exception handler "
    updated_at = <Date 2004-07-10.18:32:32.000>
    user = 'https://bugs.python.org/jjlee'

    bugs.python.org fields:

    activity = <Date 2004-07-10.18:32:32.000>
    actor = 'akuchling'
    assignee = 'loewis'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2004-06-09.21:09:32.000>
    creator = 'jjlee'
    dependencies = []
    files = ['6024']
    hgrepos = []
    issue_num = 969907
    keywords = ['patch']
    message_count = 2.0
    messages = ['46158', '46159']
    nosy_count = 3.0
    nosy_names = ['loewis', 'akuchling', 'jjlee']
    pr_nums = []
    priority = 'high'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue969907'
    versions = ['Python 2.4']

    @jjlee
    Copy link
    Mannequin Author

    jjlee mannequin commented Jun 9, 2004

    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.

    @jjlee jjlee mannequin closed this as completed Jun 9, 2004
    @jjlee jjlee mannequin assigned loewis Jun 9, 2004
    @jjlee jjlee mannequin added the stdlib Python modules in the Lib dir label Jun 9, 2004
    @jjlee jjlee mannequin closed this as completed Jun 9, 2004
    @jjlee jjlee mannequin assigned loewis Jun 9, 2004
    @jjlee jjlee mannequin added the stdlib Python modules in the Lib dir label Jun 9, 2004
    @akuchling
    Copy link
    Member

    Logged In: YES
    user_id=11375

    Applied to CVS; thanks!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant