Skip to content

Unneeded include in call.c #93785

Closed
Closed
@pamelafox

Description

@pamelafox

Bug report

Objects/call.c has:

#include "frameobject.h" // _PyFrame_New_NoTrack()

However, it no longer uses _PyFrame_New_NoTrack - that was removed in PR #24368
https://github.com/python/cpython/pull/24368/files#diff-b876797aa8c96d633b0b869447e7e14da64b9f53e48561149446939e7c6257e9

It also does not use any other functions from frameobject.h, and CPython compiles fine without it.

I will send a PR shortly with its removal.

Your environment

  • CPython versions tested on: main branch
  • Operating system and architecture: Mac OS X

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions