Add changes entry for python import fixes
This commit is contained in:
parent
ad98b58a3b
commit
f3cff47845
1 changed files with 12 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue