Skip to content

Missing error check in _testinternalcapi #110241

Closed
@sobolevn

Description

@sobolevn

Bug report

While looking at #110238 I've noticed that

PyList_Append(state->record_list, ((PyFunctionObject *)f->f_funcobj)->func_name);
does not handle errors properly.

I have a PR ready :)

Linked PRs

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions