Better error messages for wsgiref validator failures

Open
#58,857 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reviewing the issue14652 context and the three attached patch files: ssm_validate.patch and issue14652.diff. Check the linked PR gh-148291 and the existing wsgiref validator behavior before proceeding. Done means the validator reports clearer failures with appropriate coverage and the relevant tests pass.

Written by the indexing model from the issue text.

Description

easy stdlib type-feature
BPO 14652
Nosy @berkerpeksag, @Sidnicious
Files
  • ssm_validate.patch
  • ssm_validate.patch: Don’t use tuples when using only len() to format a string
  • issue14652.diff
  • 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 = None
    closed_at = None
    created_at = <Date 2012-04-23.17:48:02.699>
    labels = ['type-feature', 'library']
    title = 'Better error messages for wsgiref validator failures'
    updated_at = <Date 2015-02-13.19:23:25.772>
    user = 'https://github.com/Sidnicious'
    

    bugs.python.org fields:

    activity = <Date 2015-02-13.19:23:25.772>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-04-23.17:48:02.699>
    creator = 'ssm'
    dependencies = []
    files = ['25320', '25624', '38131']
    hgrepos = []
    issue_num = 14652
    keywords = ['patch']
    message_count = 4.0
    messages = ['159053', '160951', '160971', '235914']
    nosy_count = 3.0
    nosy_names = ['mcjeff', 'berker.peksag', 'ssm']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue14652'
    versions = ['Python 3.4', 'Python 3.5']
    

    Linked PRs
    • gh-148291
    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.