Patch to print symbolic value of errno in OSError.__str__()

Open
#47,169 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the existing symbolic-errno.diff patches and the OSError.str implementation, then inspect linked PR gh-150041 for current work. Done means OSError.str() prints the symbolic errno value as requested, with behavior aligned with the existing patch discussion.

Written by the indexing model from the issue text.

Description

3.13 interpreter-core type-feature
BPO 2920
Nosy @amauryfa, @abalkin, @pitrou, @avassalotti, @ambv, @eryksun, @ZackerySpytz
PRs
  • python/cpython#14988
  • Files
  • python-26-sympolic-errno.diff: patch for symbolic errno
  • symbolic-errno.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 2008-05-19.20:14:34.567>
    labels = ['interpreter-core', 'type-feature', '3.10']
    title = 'Patch to print symbolic value of errno in OSError.__str__()'
    updated_at = <Date 2021-03-22.19:43:06.919>
    user = 'https://bugs.python.org/ygingras'
    

    bugs.python.org fields:

    activity = <Date 2021-03-22.19:43:06.919>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2008-05-19.20:14:34.567>
    creator = 'ygingras'
    dependencies = []
    files = ['10377', '10378']
    hgrepos = []
    issue_num = 2920
    keywords = ['patch']
    message_count = 11.0
    messages = ['67074', '67077', '106651', '106654', '106655', '111206', '113333', '113334', '160879', '348820', '349135']
    nosy_count = 8.0
    nosy_names = ['amaury.forgeotdarc', 'belopolsky', 'pitrou', 'alexandre.vassalotti', 'ygingras', 'lukasz.langa', 'eryksun', 'ZackerySpytz']
    pr_nums = ['14988']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2920'
    versions = ['Python 3.10']
    

    Linked PRs
    • gh-150041
    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.