Skip to content

warning: ‘nkwargs’ may be used uninitialized #72292

Closed

Description

@serhiy-storchaka
BPO 28105
Nosy @vstinner, @ned-deily, @serhiy-storchaka

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 2016-09-12.19:50:08.261>
created_at = <Date 2016-09-12.17:55:52.486>
labels = ['interpreter-core', 'build', 'release-blocker']
title = 'warning: \xe2\x80\x98nkwargs\xe2\x80\x99 may be used uninitialized'
updated_at = <Date 2016-09-12.19:50:08.259>
user = 'https://github.com/serhiy-storchaka'

bugs.python.org fields:

activity = <Date 2016-09-12.19:50:08.259>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2016-09-12.19:50:08.261>
closer = 'vstinner'
components = ['Interpreter Core']
creation = <Date 2016-09-12.17:55:52.486>
creator = 'serhiy.storchaka'
dependencies = []
files = []
hgrepos = []
issue_num = 28105
keywords = []
message_count = 3.0
messages = ['276082', '276099', '276100']
nosy_count = 4.0
nosy_names = ['vstinner', 'ned.deily', 'python-dev', 'serhiy.storchaka']
pr_nums = []
priority = 'release blocker'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue28105'
versions = ['Python 3.6']

Activity

  1. serhiy-storchaka commented on Sep 12, 2016

    @serhiy-storchaka
    MemberAuthor

    Objects/methodobject.c: In function ‘_PyCFunction_FastCallKeywords’:
    Objects/methodobject.c:281:24: warning: ‘nkwargs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    assert((nargs == 0 && nkwargs == 0) || stack != NULL);
    ^

  2. python-dev commented on Sep 12, 2016

    python-devmannequin
    Mannequin

    New changeset e67e685a1301 by Victor Stinner in branch 'default':
    Fix warning in _PyCFunction_FastCallKeywords()
    https://hg.python.org/cpython/rev/e67e685a1301

  3. vstinner commented on Sep 12, 2016

    @vstinner
    Member

    It should be fixed. Thanks for the report.

  4. 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

    Labels

    buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)release-blocker

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions