-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2018-bd98fb720a 2018-04-17 03:10:09.806454 --------------------------------------------------------------------------------
Name : python-pycxx Product : Fedora 28 Version : 7.0.3 Release : 1.fc28 URL : http://CXX.sourceforge.net/ Summary : Write Python extensions in C++ Description : PyCXX is a set of classes to help create extensions of Python in the C++ language. The first part encapsulates the Python C API taking care of exceptions and ref counting. The second part supports the building of Python extension modules in C++. -------------------------------------------------------------------------------- Update Information: Version: 7.0.3 (23-April-2017) - Update Py::Long to support long long consitently between Python2 and Python3. Version: 7.0.2 (16-April-2017) - Add Py::Char ord() method to return the long value of a character. Fix String::size() that could return twice the actual length. This affected as_ucs4string() which would return a string with its second half as uninitialised memory. Fix setup.py for the Demo code to build all the required C++ code. Version: 7.0.1 (29-Aug-2016) - Add extra methods to Py::String that as needed on Windows to support full unicode range of code points. On Windows Python defines Py_UNICODE as unsigned short, which is too small to hold all Unicode values. PyCXX has added to the Py::String API to support creationg from Py_UCS4 strings and converting Py::String() into Py::ucs4string objects. Fix validate for Bytes to use the correct check function. Version 7.0.0 (15-Aug-2016) - Warning: This version fixes a number of problems that require source incompatible changes. However by defining PYCXX_6_2_COMPATIBILITY the V6.2.x API is restored. This is not recommended for new code. The first version of python3 that is supported is 3.3. A special thanks goes to Benjamin Webb, working at the US Army Engineer Research and Development Center, who has contributed to the design and testing of this release. 7.0.0 is better for his work. New source file needs to built: Src/cxx_exceptions.cxx. This file implements the new exception handling features. Fix the type used for lengths and sequence indexes to use Py_ssize_t. This will require sources changes for users of PyCXX. Implement smart handling of Exceptions between C++ and Python. You can now catch exceptions in C++ by type that are raised in C++ or Python. All builtin exceptions are support and are user defined exceptions. The base exception type is now BaseException not Exception. To upgrade source code replace all use of Exception with BaseException. The documentation has been updated to describe the new exception features. The supportSequence, supportMapping, supportNumber etc functions now take a bit mask that defines which specific callbacks are handled. -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade python-pycxx' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- package-announce@lists.fedoraproject.org To unsubscribe send an email to package-announce-le...@lists.fedoraproject.org