Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] PyEval_EvalCode()

Guido van Rossumguido@python.org
Thu, 17 Oct 2002 11:18:22 -0400


> This prototype is not available when including "Python.h" (Using v2.1.3)> Why did you exclude it from the "official" API prototypes?Because it's unlikely that someone writing a Python extension wouldever have a need for it.> I found it in "eval.h", which has to be included manually, besides> "Python.h".>> Isn't that PyEval_EvalCode() the regular API function to run> CodeObjects from Py_CompileString() ?Probably -- I've never used it this way.  But why aren't you usingPyRun_String()?--Guido van Rossum (home page:http://www.python.org/~guido/)


[8]ページ先頭

©2009-2025 Movatter.jp