Visitar URL original
ctypes does not support fspath protocol · Issue #77772 · python/cpython · GitHub
Skip to content

ctypes does not support fspath protocol #77772

Closed

Description

@mrh1997
mannequin
BPO 33591
Nosy @mrh1997
PRs
  • bpo-33591: Fix CDLL to accept PathLike objects #7032
  • 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 2018-05-21.10:56:08.447>
    labels = ['ctypes', '3.7', '3.8']
    title = 'ctypes does not support fspath protocol'
    updated_at = <Date 2019-06-10.23:11:51.387>
    user = 'https://github.com/mrh1997'

    bugs.python.org fields:

    activity = <Date 2019-06-10.23:11:51.387>
    actor = 'mrh1997'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['ctypes']
    creation = <Date 2018-05-21.10:56:08.447>
    creator = 'mrh1997'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33591
    keywords = ['patch']
    message_count = 2.0
    messages = ['317230', '345151']
    nosy_count = 1.0
    nosy_names = ['mrh1997']
    pr_nums = ['7032']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue33591'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Activity

    1. mrh1997 commented on May 21, 2018

      mrh1997mannequin
      MannequinAuthor

      Passing a non-str path which fulfills the new fspath-protcol (like a Path() object) to CDLL (or WinDLL, PyDLL, ...) a exception is returned.

    2. mrh1997 commented on Jun 10, 2019

      mrh1997mannequin
      MannequinAuthor

      Can anyone do a review?

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions