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

remove PyAPI_* from function definitions #78827

Closed
benjaminp opened this issue Sep 12, 2018 · 2 comments
Closed

remove PyAPI_* from function definitions #78827

benjaminp opened this issue Sep 12, 2018 · 2 comments
Labels
3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@benjaminp
Copy link
Contributor

BPO 34646
Nosy @benjaminp
PRs
  • closes bpo-34646: Remove PyAPI_* macros from declarations. #9218
  • 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 2018-09-12.19:06:46.052>
    created_at = <Date 2018-09-12.17:22:24.104>
    labels = ['interpreter-core', '3.8']
    title = 'remove PyAPI_* from function definitions'
    updated_at = <Date 2018-09-12.19:06:46.051>
    user = 'https://github.com/benjaminp'

    bugs.python.org fields:

    activity = <Date 2018-09-12.19:06:46.051>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-09-12.19:06:46.052>
    closer = 'benjamin.peterson'
    components = ['Interpreter Core']
    creation = <Date 2018-09-12.17:22:24.104>
    creator = 'benjamin.peterson'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34646
    keywords = ['patch']
    message_count = 2.0
    messages = ['325147', '325169']
    nosy_count = 1.0
    nosy_names = ['benjamin.peterson']
    pr_nums = ['9218']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue34646'
    versions = ['Python 3.8']

    @benjaminp
    Copy link
    Contributor Author

    It suffices to have PyAPI_FUNC and PyAPI_DATA on the forward declaration in a header file. We should remove the usages we have in .c files.

    @benjaminp benjaminp added 3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Sep 12, 2018
    @benjaminp
    Copy link
    Contributor Author

    New changeset e502451 by Benjamin Peterson in branch 'master':
    closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
    e502451

    @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.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant