SIP v4.8 Released

5 June 2009

SIP v4.8 has been released. The highlights of this release include support for Python v3, the ability to supply alternate super-types and meta-types for wrapped objects, and documentation built using Sphinx.

The major new features are:

  • support for Python v3
  • the %BIGetBufferCode and %BIReleaseBufferCode to support the buffer interface of Python v3
  • the %DefaultMetatype directive and the /Metatype/ class annotation to allow the meta-type of a wrapped type to be changed
  • the %DefaultSupertype directive and the /Supertype/ class annotation to allow the super-type of a wrapped type to be changed
  • the sip.simplewrapper type to be used as a super-type for wrapped types that don't take part in parent/child relationships
  • the %InitialisationCode directive
  • the /KeepReference/ argument annotation
  • the /Encoding/ argument, function, typedef and variable annotation
  • super() now works as expected with wrapped types
  • support for __floordiv__, __ifloordiv__, __truediv__, __itruediv__ and __index__
  • __bool__ is a synonym for __nonzero__
  • Sphinx is now used for the documentation
  • many additions and deprecations in the API to eliminate the differences between classes and mapped types. (See the documentation for the details.)