[Python-checkins] r87030 - in python/branches/py3k: Include/pythonrun.h PC/python3.def

martin.v.loewis python-checkins at python.org
Sat Dec 4 13:00:49 CET 2010


Author: martin.v.loewis
Date: Sat Dec  4 13:00:49 2010
New Revision: 87030

Log:
Expose CompileString, not CompileStringFlags under the
limited API.


Modified:
   python/branches/py3k/Include/pythonrun.h
   python/branches/py3k/PC/python3.def

Modified: python/branches/py3k/Include/pythonrun.h
==============================================================================
--- python/branches/py3k/Include/pythonrun.h	(original)
+++ python/branches/py3k/Include/pythonrun.h	Sat Dec  4 13:00:49 2010
@@ -74,7 +74,7 @@
 #endif
 
 #ifdef Py_LIMITED_API
-PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *, const char *, int);
+PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int);
 #else
 #define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1)
 #define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1)

Modified: python/branches/py3k/PC/python3.def
==============================================================================
--- python/branches/py3k/PC/python3.def	(original)
+++ python/branches/py3k/PC/python3.def	Sat Dec  4 13:00:49 2010
@@ -632,7 +632,7 @@
   Py_AddPendingCall=python32.Py_AddPendingCall
   Py_AtExit=python32.Py_AtExit
   Py_BuildValue=python32.Py_BuildValue
-  Py_CompileStringFlags=python32.Py_CompileStringFlags
+  Py_CompileString=python32.Py_CompileString
   Py_DecRef=python32.Py_DecRef
   Py_EndInterpreter=python32.Py_EndInterpreter
   Py_Exit=python32.Py_Exit


More information about the Python-checkins mailing list