• Mark Lodato's avatar
    freeze: fix for compiling with Python3 · e26883a6
    Mark Lodato authored
    To get the output of cython_freeze to compile with both Python 2 and
    Python 3, I copied the contents of Python-3.1.1/Modules/python.c, with
    some slight modifications.  The main issue is that Python 3 uses
    wchar_t, while Python 2 uses char.  It also appears that the
    Py_FlushLine/PyErr_Clear is not needed in Python 3.
    
    Related to #434: "main() function generated by --embed doesn't compile
    in Py3"
    e26883a6
Name
Last commit
Last update
Cython Loading commit data...
Demos Loading commit data...
Doc Loading commit data...
Tools Loading commit data...
bin Loading commit data...
pyximport Loading commit data...
tests Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
COPYING.txt Loading commit data...
INSTALL.txt Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
README.txt Loading commit data...
ToDo.txt Loading commit data...
USAGE.txt Loading commit data...
cython.py Loading commit data...
runtests.py Loading commit data...
setup.py Loading commit data...