Releases: encukou/py3c
Releases · encukou/py3c
v1.4
Additions:
- add guidance around the use of
Py_FindMethod
(thanks to David Aguilar)
Fixes:
- Avoid compiler warning about unused function
- Fix
DESTDIR
support in the Makefile (thanks to David Aguilar) - Various documentation warning fixes (thanks to David Aguilar)
Project infrastructure:
- Switch to GitHub Actions for pull request tests
v1.3.1 (2021-01-07)
Packaging:
- 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.
v1.3
Compatibility:
- Tested with Python 3.9.0
Additions:
- To help avoid compiler warning about uninitialized members, extra members
are added to thePyModuleDef
structure for Python 2:m_slots
,
m_traverse
,m_clear
andm_free
.
Under Python 2, they must be set to NULL (usually by continuing to leave
them out).
v1.2
v1.1
This is a tests-only release. You do not need to upgrade, unless you run py3c's tests to check its compatibility with your Python.
Compatibility:
- 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)
v1.0
Additions:
- Add Py_UNREACHABLE from Python 3.7
- Add Py_RETURN_RICHCOMPARE from Python 3.7
- Add Py_UNUSED from Python 3.4
Deprecations:
- The macro PY3C_RICHCMP is deprecated in favor of Py_RETURN_RICHCOMPARE.
There are no plans to remove the old macro from py3c.
Fixes:
- The PyStr_Concat function no longer causes GCC warnings about being unused.
Tests:
- The test suite now fails on unexpected compiler warnings.
Packaging:
- py3c is now on PyPI, thanks to @xoviat
Version 0.9
No functionality changes – fixes in tests and installation only.
Tests:
- Adapt tests to Python 3.7 regarding const correctness (thanks to Marcel Plch)
Build:
- 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.)
Version 0.8
Additions:
- Add backports for PyMem_Raw*
Compatibility:
- Restore compatibility with old Visual Studio versions
- Enable tests on Python 3.6
Version 0.7
Fix file shim tests on big endian architectures (bug in the test suite only, does not affect behavior)
Version 0.6
Fixed file permissions when installed. (Useful for distro packagers rather than users.)