ctypes: getbuffer() never provides strides

Offen
#57,060 2 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
15/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
backend

Rechercherichtung

The issue identifies ctypes.getbuffer() and historical PR #4714, but names no source file or test. Start by locating that entry point and reviewing the existing PR; done means getbuffer() exposes strides as requested and the behavior is covered by a regression test.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

extension-modules topic-ctypes type-bug
BPO 12851
Nosy @amauryfa, @abalkin, @meadori
PRs
  • python/cpython#4714
  • 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 2011-08-29.09:58:42.469>
    labels = ['extension-modules', 'type-bug']
    title = 'ctypes: getbuffer() never provides strides'
    updated_at = <Date 2019-03-08.16:39:00.181>
    user = 'https://github.com/skrah'
    

    bugs.python.org fields:

    activity = <Date 2019-03-08.16:39:00.181>
    actor = 'SilentGhost'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2011-08-29.09:58:42.469>
    creator = 'skrah'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 12851
    keywords = ['patch']
    message_count = 2.0
    messages = ['143135', '221560']
    nosy_count = 3.0
    nosy_names = ['amaury.forgeotdarc', 'belopolsky', 'meador.inge']
    pr_nums = ['4714']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12851'
    versions = ['Python 3.4', 'Python 3.5']
    

    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.