diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2016-06-05 21:23:18 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2016-06-05 21:23:18 +0100 |
commit | f3cff4784502523a8baaa4f37b048251c6394ed7 (patch) | |
tree | 381a387bd597ac162d617d3c774c89bd292eded1 /CHANGES.current | |
parent | ad98b58a3b29a0c8dceb1240e365a3569761b8d9 (diff) | |
download | swig-f3cff4784502523a8baaa4f37b048251c6394ed7.tar.gz |
Add changes entry for python import fixes
Diffstat (limited to 'CHANGES.current')
-rw-r--r-- | CHANGES.current | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CHANGES.current b/CHANGES.current index 22b00955e..33ace9524 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,6 +5,18 @@ See the RELEASENOTES file for a summary of changes in each release. Version 3.0.10 (in progress) ============================ +2016-06-05: mromberg + [Python] Patch #694 - Fix package import regressions introduced in swig-3.0.9. + + 1) The code in 3.0.9 did not fall back to 'import _foo' if 'import bar._foo' failed + (assuming bar.foo was the main module). Every place _foo is imported now first tries + it from the package where foo was found and if that fails tries _foo as a global module. + + 2) The separate block of python code that injected code to pull in the attributes + from _foo when -builtin is used made use of the -py3 switch to either do + 'from ._foo import *' or "from _foo import *". This block of code no longer does this + and instead checks the python version at runtime to switch between the two syntaxes. + 2016-05-31: wsfulton Fix #690 - Smart pointer to %ignored class doesn't expose inherited methods. Regression introduced in swig-3.0.9. |