Skip to content

ctypes does not support fspath protocol #77772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mrh1997 mannequin opened this issue May 21, 2018 · 2 comments
Closed

ctypes does not support fspath protocol #77772

mrh1997 mannequin opened this issue May 21, 2018 · 2 comments
Labels

Comments

@mrh1997
Copy link
Mannequin

mrh1997 mannequin commented May 21, 2018

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']

    @mrh1997
    Copy link
    Mannequin Author

    mrh1997 mannequin commented May 21, 2018

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

    @mrh1997 mrh1997 mannequin added topic-ctypes 3.7 (EOL) end of life 3.8 (EOL) end of life labels May 21, 2018
    @mrh1997
    Copy link
    Mannequin Author

    mrh1997 mannequin commented Jun 10, 2019

    Can anyone do a review?

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant