Skip to content

Releases: encukou/py3c

Version 0.5

13 May 16:00
Compare
Choose a tag to compare

This version fixes the packageconfig file (useful to distro packagers rather than to users).

Version 0.4

13 May 13:25
Compare
Choose a tag to compare

py3c is a comprehensive guide, and a set of macros, for porting CPython extensions to Python 3.

Version 0.4 brings these changes:

  • C++-based extensions are now supported (and tested). Thanks to MURAOKA Yusuke for the initial patch.
  • Floats are now covered by both the guide and code. Thanks to Christoph Zwerschke for this!
  • Bug fix: An unterminated conditional was fixed in tpflags.h. Thanks to MURAOKA Yusuke for the fix. Tests were updated to guard against these situations in the future.

Version 0.3

13 May 13:20
Compare
Choose a tag to compare

py3c is a comprehensive guide, and a set of macros, for porting CPython extensions to Python 3.

Version 0.3 brings these changes:

  • Breaking change: py3c's type flag definitions are not safe in all cases, so they have been moved to tpflags.h, which is not included by default. Please read the documentation and check your project for usage of PyType_HasFeature before including this file.
  • To make it possible to port PyCapsule-based code and retain compatibility with Python 2.6, this release adds capsulethunk.h, lifted from the Python documentation (with author's permision) and updated to actually work. The file is now maintained as part of py3c.
  • A simplistic replacement for PyFile_AsFile, intended for for debugging purposes, was added.
  • Several Guide was updated with detailed information on porting extension types (PyTypeObject subclasses).

First tagged release

13 May 13:08
Compare
Choose a tag to compare

Hello, world!