mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-87092: do not allocate PyFutureFeatures dynamically (GH-98913)
This commit is contained in:
parent
c76db37c0d
commit
6d683d8525
4 changed files with 22 additions and 32 deletions
|
@ -18,10 +18,11 @@ PyAPI_FUNC(PyCodeObject*) _PyAST_Compile(
|
|||
PyCompilerFlags *flags,
|
||||
int optimize,
|
||||
struct _arena *arena);
|
||||
extern PyFutureFeatures* _PyFuture_FromAST(
|
||||
|
||||
int _PyFuture_FromAST(
|
||||
struct _mod * mod,
|
||||
PyObject *filename
|
||||
);
|
||||
PyObject *filename,
|
||||
PyFutureFeatures* futures);
|
||||
|
||||
extern PyObject* _Py_Mangle(PyObject *p, PyObject *name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue