pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


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

URL: http://github.com/python/cpython/commit/8689a10f075fa2a1980a4fda040c46ed4dbcb3bb

638bd26ec06210f.css" /> Merged revisions 79555 via svnmerge from · python/cpython@8689a10 · GitHub
Skip to content

Commit 8689a10

Browse files
committed
Merged revisions 79555 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79555 | antoine.pitrou | 2010-04-01 18:42:11 +0200 (jeu., 01 avril 2010) | 5 lines Issue #8276: PyEval_CallObject() is now only available in macro form. The function declaration, which was kept for backwards compatibility reasons, is now removed (the macro was introduced in 1997!). ........
1 parent c8bdc01 commit 8689a10

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

Include/ceval.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ extern "C" {
1010
PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
1111
PyObject *, PyObject *, PyObject *);
1212

13-
/* DLL-level Backwards compatibility: */
14-
#undef PyEval_CallObject
15-
PyAPI_FUNC(PyObject *) PyEval_CallObject(PyObject *, PyObject *);
16-
1713
/* Inline this */
1814
#define PyEval_CallObject(func,arg) \
1915
PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)

Misc/NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ Core and Builtins
246246
C-API
247247
-----
248248

249+
- Issue #8276: PyEval_CallObject() is now only available in macro form. The
250+
function declaration, which was kept for backwards compatibility reasons,
251+
is now removed (the macro was introduced in 1997!).
252+
249253
- Issue #7767: New function PyLong_AsLongLongAndOverflow added,
250254
analogous to PyLong_AsLongAndOverflow.
251255

Python/ceval.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3695,18 +3695,7 @@ PyEval_MergeCompilerFlags(PyCompilerFlags *cf)
36953695

36963696

36973697
/* External interface to call any callable object.
3698-
The arg must be a tuple or NULL. */
3699-
3700-
#undef PyEval_CallObject
3701-
/* for backward compatibility: export this interface */
3702-
3703-
PyObject *
3704-
PyEval_CallObject(PyObject *func, PyObject *arg)
3705-
{
3706-
return PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL);
3707-
}
3708-
#define PyEval_CallObject(func,arg) \
3709-
PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)
3698+
The arg must be a tuple or NULL. The kw must be a dict or NULL. */
37103699

37113700
PyObject *
37123701
PyEval_CallObjectWithKeywords(PyObject *func, PyObject *arg, PyObject *kw)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy