8000 Redundant NULL check for 'exc' after dereference in ceval.c · Issue #135161 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Redundant NULL check for 'exc' after dereference in ceval.c #135161
Closed
@rialbat

Description

@rialbat

Redundant comparison with a NULL value at

if (exc && PyTuple_Check(args) && PyTuple_GET_SIZE(args) == 1) {

for pointer 'exc', which was dereferenced at
PyObject *args = PyException_GetArgs(exc);

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0