- add guidance around the use of
Py_FindMethod(thanks to David Aguilar)
- Avoid compiler warning about unused function
DESTDIRsupport in the Makefile (thanks to David Aguilar)
- Various documentation warning fixes (thanks to David Aguilar)
- Switch to GitHub Actions for pull request tests
- Allow building the documentation without sphinx_rtd_theme
There is no neeed to update to 1.3.1 unless you are having trouble building the documentation.
- Tested with Python 3.9.0
- To help avoid compiler warning about uninitialized members, extra members
are added to the
PyModuleDefstructure for Python 2:
m_free. Under Python 2, they must be set to NULL (usually by continuing to leave them out).
- Tests updated to pass with Python 3.9.0b3
make installnow honors DESTDIR to support staged installations
- Tests updated to pass with Python 3.8.0rc1
- Python versions 2.6 and 3.3 are no longer tested (due to lack of CI support)
- Add Py_UNREACHABLE from Python 3.7
- Add Py_RETURN_RICHCOMPARE from Python 3.7
- Add Py_UNUSED from Python 3.4
- The macro PY3C_RICHCMP is deprecated in favor of Py_RETURN_RICHCOMPARE. There are no plans to remove the old macro from py3c.
- The PyStr_Concat function no longer causes GCC warnings about being unused.
- The test suite now fails on unexpected compiler warnings.
- py3c is now on PyPI, thanks to @xoviat
- Adapt tests to Python 3.7 regarding const correctness (thanks to Marcel Plch)
- Fix includedir substitution on OS X (thanks to Branko Čibej) (This might cause make to fail if includedir, by default /usr/local/include, is not present; in that case it needs to be created.)
- Add backports for PyMem_Raw*
- Restore compatibility with old Visual Studio versions
- Enable tests on Python 3.6
- Fix file shim tests on big endian architectures (bug in testsuite only)
- Fix file permissions when doing
- Fix the pkgconfig file
- Fix unterminated #if in tpflags.h (thanks to MURAOKA Yusuke)
- Support for C++ (with initial help from MURAOKA Yusuke)
- Support PyFloat_FromString (thanks to Christoph Zwerschke)
- Test suite is much more comprehensive
- Type flags moved to “tpflags.h”, which is not included by default. See the warning in the file, or in documentation.
- Integrated capsulethunk.h
- Added PyFile_AsFile shim
- Discuss porting type definitions in the guide
- First tagged public release