Skip to content
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

Missing declaration of _PyObject_GetMethod #81430

Closed
jdemeyer opened this issue Jun 12, 2019 · 2 comments
Closed

Missing declaration of _PyObject_GetMethod #81430

jdemeyer opened this issue Jun 12, 2019 · 2 comments
Labels
3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@jdemeyer
Copy link
Contributor

BPO 37249
Nosy @methane, @jdemeyer, @1st1
PRs
  • bpo-37249: add declaration of _PyObject_GetMethod #14015
  • 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 = <Date 2019-06-14.10:37:37.201>
    created_at = <Date 2019-06-12.12:54:43.071>
    labels = ['interpreter-core', '3.9']
    title = 'Missing declaration of _PyObject_GetMethod'
    updated_at = <Date 2019-06-14.10:37:37.201>
    user = 'https://github.com/jdemeyer'

    bugs.python.org fields:

    activity = <Date 2019-06-14.10:37:37.201>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-14.10:37:37.201>
    closer = 'methane'
    components = ['Interpreter Core']
    creation = <Date 2019-06-12.12:54:43.071>
    creator = 'jdemeyer'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37249
    keywords = ['patch']
    message_count = 2.0
    messages = ['345336', '345576']
    nosy_count = 3.0
    nosy_names = ['methane', 'jdemeyer', 'yselivanov']
    pr_nums = ['14015']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue37249'
    versions = ['Python 3.9']

    @jdemeyer
    Copy link
    Contributor Author

    The function _PyObject_GetMethod is internal and private, but it should still be declared properly. Currently, it is "manually" declared in two .c files where it's used.

    @jdemeyer jdemeyer added 3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Jun 12, 2019
    @methane
    Copy link
    Member

    methane commented Jun 14, 2019

    New changeset b2f9473 by Inada Naoki (Jeroen Demeyer) in branch 'master':
    bpo-37249: add declaration of _PyObject_GetMethod (GH-14015)
    b2f9473

    @methane methane closed this as completed Jun 14, 2019
    @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
    3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants