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

Fix invalid uses of %d in format strings in C #80435

Closed
serhiy-storchaka opened this issue Mar 10, 2019 · 5 comments
Closed

Fix invalid uses of %d in format strings in C #80435

serhiy-storchaka opened this issue Mar 10, 2019 · 5 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes extension-modules C modules in the Modules dir interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@serhiy-storchaka
Copy link
Member

BPO 36254
Nosy @vstinner, @serhiy-storchaka
PRs
  • bpo-36254: Fix invalid uses of %d in format strings in C. #12264
  • bpo-36254: Fix yet one invalid use of %d in format string in C. #12318
  • [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). #12320
  • [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). #12322
  • 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-08-31.20:29:15.935>
    created_at = <Date 2019-03-10.10:44:49.230>
    labels = ['extension-modules', 'interpreter-core', '3.8', 'type-bug', '3.7']
    title = 'Fix invalid uses of %d in format strings in C'
    updated_at = <Date 2019-08-31.20:29:15.934>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2019-08-31.20:29:15.934>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-08-31.20:29:15.935>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules', 'Interpreter Core']
    creation = <Date 2019-03-10.10:44:49.230>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36254
    keywords = ['patch']
    message_count = 5.0
    messages = ['337606', '337609', '337875', '337901', '337904']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'serhiy.storchaka']
    pr_nums = ['12264', '12318', '12320', '12322']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36254'
    versions = ['Python 3.7', 'Python 3.8']

    @serhiy-storchaka
    Copy link
    Member Author

    The proposed patch fixes invalid uses of %d in format strings in C (mostly when the argument has type Py_ssize_t or size_t).

    @serhiy-storchaka serhiy-storchaka added 3.7 (EOL) end of life 3.8 only security fixes extension-modules C modules in the Modules dir interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error labels Mar 10, 2019
    @serhiy-storchaka
    Copy link
    Member Author

    See also bpo-36251.

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset d53fe5f by Serhiy Storchaka in branch 'master':
    bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264)
    d53fe5f

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 2c0d3f4 by Serhiy Storchaka in branch 'master':
    bpo-36254: Fix yet one invalid use of %d in format string in C. (GH-12318)
    2c0d3f4

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 783bed4 by Serhiy Storchaka in branch '3.7':
    [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322)
    783bed4

    @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.7 (EOL) end of life 3.8 only security fixes extension-modules C modules in the Modules dir interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant