Content-Length: 281419 | pFad | https://github.com/python/cpython/issues/105107

C0 C API: Remove deprecate PyEval_CallObject() function · Issue #105107 · python/cpython · GitHub
Skip to content

C API: Remove deprecate PyEval_CallObject() function #105107

@vstinner

Description

@vstinner

The Python C API has many functions to call a function or a method: https://docs.python.org/dev/c-api/call.html

The PyEval variants were deprecated in Python 3.9. I propose to now remove them:

  • PyEval_CallObject()
  • PyEval_CallObjectWithKeywords()
  • PyEval_CallFunction()
  • PyEval_CallMethod()

There are replacement functions like PyObject_Call() and PyObject_CallFunction() which exist since Python 3.0 at least and so is backward compatible.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/105107

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy