[pypy-commit] [pypy/pypy] PyFile_FromFile, PySys_SetArgv and PyThreadState_New implementation (pull request #68)

Roberto De Ioris pullrequests-noreply at bitbucket.org
Sun Apr 8 06:57:25 CEST 2012


A new pull request has been opened by Roberto De Ioris.

unbit/pypy/default has changes to be pulled into pypy/pypy/embedded-pypy.

https://bitbucket.org/pypy/pypy/pull-request/68/pyfile_fromfile-pysys_setargv-and

Title: PyFile_FromFile, PySys_SetArgv and PyThreadState_New implementation

PyFile_FromFile() is used by c apps to map a libc FILE object to a Python file object. The implementation make use of the pypy-specific file.fdopen function.  PySys_SetArgv is used to set sys.argv. Both Tested with latest uWSGI tip. PyThreadState_New is only a prototype, i suspect the different internal threading usage in PyPy will require a bigger effort.

Changes to be pulled:

5b28c054a739 by Roberto De Ioris: "added PySys_SetArgv and PyThreadState_New"
7bd1b6f657a8 by Roberto De Ioris: "merge with official pypy"
a7b45b1ec178 by Matti Picus: "fix float-to-time conversion in windows"
057219807d73 by arigo: "merge heads"
01a73d86d3c7 by arigo: "minimark: Tweaks to reduce by one the number of checks in the common
case."
d356d169e770 by Roberto De Ioris: "add fflush to cpyext pyfile implementation"
1f3baa6ce8b1 by rob... at mrsurr: "merge"
2afeef0e350b by Roberto De Ioris: "implemed PyFile_FromFile as cpyext"
7eb44aa590a2 by Roberto De Ioris: "added Py_Initialize,Py_Finalize,Py_SetPythonHome,Py_SetProgramName as cpyext"
4c1e64afbe9a by Roberto De Ioris: "added implementation of Py_Initialize"


--
This is an issue notification from bitbucket.org.
You are receiving this either because you are the participating
in a pull request, or you are following it.



More information about the pypy-commit mailing list