What's new in Python-SIP 4.18
Apr 13, 2016
- Added the /TypeHint/ argument, class, mapped type, function, typedef and variable annotations.
- Added the /TypeHintIn/ and /TypeHintOut/ argument, class, mapped type and typedef annotations.
- Added the /TypeHintValue/ argument, class and mapped type annotations.
- Added the /NoTypeHint/ class, enum, function and variable annotations.
- Added the %ExportedTypeHintCode and %TypeHintCode directives.
- Added the -f command line option to treat warnings as errors.
- Added the -y command line option to generated PEP 484 compatible type hint stub files.
- Deprecated the /DocType/ and /DocValue/ annotations.
New in Python-SIP 4.17 (Oct 26, 2015)
- This version adds support for PEP 465, PEP 492 and MSVC 2015.
New in Python-SIP 4.16.9 (Jul 24, 2015)
- This is a bug-fix only release.
New in Python-SIP 4.16.8 (Jun 15, 2015)
- This is mainly a bug-fix release.
New in Python-SIP 4.16.5 (Dec 24, 2014)
- This is a minor functional and bug-fix release.
New in Python-SIP 4.16.3 (Oct 13, 2014)
- Enums now support __qualname__ for Python v3.3 and later.
New in Python-SIP 4.15.4 (Jan 9, 2014)
- This is a minor bug fix release required by PyQt v5.2.
New in Python-SIP 4.15.3 (Oct 16, 2013)
- This is a bug fix release for a regression that affects PyQtChart.
New in Python-SIP 4.15.2 (Sep 16, 2013)
- This is a minor functional release that will be needed by PyQt v5.1.
- It also contains bug fixes needed by PyKDE4.
New in Python-SIP 4.15 (Aug 22, 2013)
- This is a significant functional release that is required by PyQt v5.0.1 and PyQt v4.10.3.
New in Python-SIP 4.14.7 (Jun 18, 2013)
- This is a minor functional release and is required by PyQt v5.
New in Python-SIP 4.14.6 (Apr 22, 2013)
- This is a minor bugfix release.
New in Python-SIP 4.14.5 (Mar 27, 2013)
- This is a minor bugfix release, specifically for QGIS.
New in Python-SIP 4.14.4 (Mar 4, 2013)
- This is a minor bugfix release, but it does include a potential incompatibility in the use of the %VirtualErrorHandler directive.
New in Python-SIP 4.14.2 (Dec 10, 2012)
- This is a minor functional release required by PyQt v4.9.6 and pogles v0.2.
New in Python-SIP 4.14.1 (Oct 29, 2012)
- This is a minor feature release aimed at generating modules for C libraries.
New in Python-SIP 4.13.2 (Feb 11, 2012)
- This is a bug fix release.
New in Python-SIP 4.13.1 (Dec 23, 2011)
- Deprecation warnings can no longer be disabled.
- Class templates now allow super-classes to be defined as template arguments.
- This release adds the all_raise_py_exception argument to the %Module directive, the /NoRaisesPyException/ function annotation, the /PyName/ typedef annotation, support for "public" preceding the name of a class in a super-class list, and support for "protected" and "private" preceding the name of a class in a super-class list (any such super-class will be ignored).
New in Python-SIP 4.13 (Nov 1, 2011)
- This version adds the �faultDocstringFormat directive.
- It adds the format argument to the %Docstring directive.
- %ConvertToSubClassCode can now cause a restart of the conversion process using a different requested type. '*' and '&' are now supported as unary operators in expressions used in the values of default arguments.
- The /Transfer/ annotation can now be used with the /Array/ annotation to prevent the freeing of the temporary array of pointers.
New in Python-SIP 4.12.2 (May 2, 2011)
- /KeepReference/ is now supported as a function annotation.
- Handwritten code in class templates no longer has the types substituted in lines that appear to contain C preprocessor directives.
- Support for global inplace numeric operators was added.
New in Python-SIP 4.12 (Dec 27, 2010)
- This version includes significant new functionality and also provides a path to ease the migration to SIP v5.
New in Python-SIP 4.11 (Sep 1, 2010)
- added the %UnitPostIncludeCode directive
- /KeepReference/ will now accept a key to track when the same object is passed to more than one method
- operator() and __call__() can now accept keyword arguments
- added support for Python v3.2.
New in Python-SIP 4.10.3 (Jul 13, 2010)
- added support for Q_SLOT, Q_SLOTS, Q_SIGNAL and Q_SIGNALS
- added the /__len__/ function annotation.
New in Python-SIP 4.10.1 (Mar 18, 2010)
- This is primarily a bug-fix release.
New in Python-SIP 4.10 (Jan 21, 2010)
- Added the sip.voidptr.ascapsule() method.
- Added the -P command line option to build modules with "protected" redefined to "public" if supported by the platform. This can result in significantly smaller modules.
- Added the -o command line option to automatically generate docstrings.
- Added the -k command line option and /KeywordArgs/ and /NoKeywordArgs/ function annotations to support keyword arguments.
- Added the /Default/ exception annotation.
- Added the /DocType/ argument, function, mapped type and variable annotations.
- Added the /DocValue/ argument annotation.
- Added the %Docstring directive to specify explicit docstrings for classes, functions and methods.
- Added sipError to %MethodCode to allow user errors to be distinguished from interpreter errors.
- Added sipBadCallableArg() to the C API.
- Added support for configuring and building outside of the source tree.
New in Python-SIP 4.9 (Sep 28, 2009)
- This release adds the ability to wrap classes and functions in different ways and allows an application to choose a particular implementation at runtime.
- It adds support for __iter__ and __next__.
- Mapped types can now act as a namespace for enums and static methods.
- The /Array/ annotation can now be applied to classes and mapped types.
- The /NoArgParser/ annotation can now be applied to methods as well as functions.
New in Python-SIP 4.8.2 (Aug 17, 2009)
- Fixed the '/' operator for Python v3 and future import for Python v2.
- Backported the /AllowNone/ class annotation from v4.9.