errno and strerror attributes incorrectly set on socket errors wrapped by urllib

Offen
#50,720 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
networking

Rechercherichtung

Start by reviewing keeperrdata.patch and the Library (Lib) component information, then trace how urllib wraps socket errors. Done means the wrapped errors retain the correct errno and strerror attributes; verify the behavior against the original issue description.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

3.10 3.11 3.12 stdlib type-bug
BPO 6471
Nosy @birkenfeld, @amauryfa, @orsenthil, @ezio-melotti, @bitdancer, @cjerdonek, @iritkatriel
Files
  • keeperrdata.patch: patch to retain errno and strerror
  • 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 2009-07-12.20:54:33.896>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'errno and strerror attributes incorrectly set on socket errors wrapped by urllib'
    updated_at = <Date 2021-11-30.20:20:38.331>
    user = 'https://github.com/ezio-melotti'
    

    bugs.python.org fields:

    activity = <Date 2021-11-30.20:20:38.331>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2009-07-12.20:54:33.896>
    creator = 'ezio.melotti'
    dependencies = []
    files = ['26559']
    hgrepos = []
    issue_num = 6471
    keywords = ['patch']
    message_count = 9.0
    messages = ['90458', '90462', '90466', '100178', '166705', '167330', '170710', '170723', '407399']
    nosy_count = 9.0
    nosy_names = ['georg.brandl', 'amaury.forgeotdarc', 'orsenthil', 'ezio.melotti', 'r.david.murray', 'chris.jerdonek', 'catherine', 'denkoren', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6471'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.