socket.getsockname() inconsistent return type with AF_UNIX

Offen
#61,883 15 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
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
networking

Rechercherichtung

Start by reading the linked issue17683.patch and af_unix_str.diff, then inspect the current socket.getsockname() implementation and its AF_UNIX behavior. The issue is in patch review, so confirm the intended return type and whether the historical patches still apply before identifying the required validation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib topic-socket type-bug
BPO 17683
Nosy @pitrou, @vstinner, @giampaolo
Files
  • issue17683.patch
  • af_unix_str.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 2013-04-10.01:02:50.789>
    labels = ['type-bug', 'library']
    title = 'socket.getsockname() inconsistent return type with AF_UNIX'
    updated_at = <Date 2013-06-01.17:26:38.703>
    user = 'https://github.com/giampaolo'
    

    bugs.python.org fields:

    activity = <Date 2013-06-01.17:26:38.703>
    actor = 'neologix'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-04-10.01:02:50.789>
    creator = 'giampaolo.rodola'
    dependencies = []
    files = ['29760', '30321']
    hgrepos = []
    issue_num = 17683
    keywords = ['patch', 'needs review']
    message_count = 15.0
    messages = ['186472', '186473', '186477', '186478', '186480', '186487', '186497', '186499', '189682', '189684', '189726', '189727', '189730', '189741', '189869']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'vstinner', 'giampaolo.rodola', 'neologix', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17683'
    versions = ['Python 3.4']
    

    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

    Neue Issues direkt in Ihr Postfach

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