* m7thon-issue-445-python-class-docstrings: Add changes note for Python tp_doc slot and docstring Set class docstring in tp_doc slot for python -builtin Conflicts: CHANGES.current
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
Below are the changes for the current release.
|
|
See the CHANGES file for changes in older releases.
|
|
See the RELEASENOTES file for a summary of changes in each release.
|
|
|
|
Version 3.0.7 (in progress)
|
|
===========================
|
|
|
|
2015-07-18: m7thon
|
|
[Python] Docstrings provided via %feature("docstring") are now quoted and added to
|
|
the tp_doc slot when using python builtin classes (-builtin). When no docstring is
|
|
provided, the tp_doc slot is set to the fully qualified C/C++ class name.
|
|
Github issues #445 and #461.
|
|
|
|
2015-07-17: kwwette
|
|
[octave] Support Octave version 4.0.0 (thanks to patches from Orion Poplawski).
|
|
|
|
2015-07-07: wsfulton
|
|
SWIG no longer generates a wrapper for a class' constructor if that class has
|
|
any base class with a private destructor. This is because your compiler should
|
|
not allow a class to be instantiated if a base has a private destructor. Some
|
|
compilers do, so if you need the old behaviour, use the "notabstract" feature, eg:
|
|
|
|
%feature("notabstract") Derived;
|
|
class Base {
|
|
~Base() {}
|
|
};
|
|
struct Derived : Base {};
|
|
|