Skip to content

piranha-0.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@bluescarni bluescarni released this 15 Nov 21:36
· 803 commits to master since this release

Release of version 0.7.

This new version concerns mostly pyranha. In addition to important bugfixes for Windows, two breaking changes are introduced:

  • the square brackets [] are now used in the type generator template syntax,
  • the type short has been replaced by int16.

In particular, the first bit means that code such as

>>> from pyranha.types import polynomial, rational, monomial, int16
>>> pt = polynomial(rational,monomial(int16))()

needs to be rewritten as

>>> from pyranha.types import polynomial, rational, monomial, int16
>>> pt = polynomial[rational,monomial[int16]]()

The intent is to have a better visual distinction between type generators and type generator templates, and in some sense to mimic more closely the corresponding C++ syntax (i.e., polynomial<rational,monomial<std::int16_t>>).