Add changes entry for python imports/packages changes
This commit is contained in:
parent
91120c84f2
commit
2866c70f78
1 changed files with 21 additions and 0 deletions
|
|
@ -5,6 +5,27 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 3.0.0 (in progress)
|
Version 3.0.0 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
2013-12-24: ptomulik
|
||||||
|
[Python] SF Bug #1297
|
||||||
|
|
||||||
|
Resolve several issues related to python imports.
|
||||||
|
For example, it's now possible to import modules having the same module
|
||||||
|
names, but belonging in different packages.
|
||||||
|
|
||||||
|
From the user's viewpoint, this patch gives a little bit more control on
|
||||||
|
import statements generated by SWIG. The user may choose to use relative
|
||||||
|
or absolute imports.
|
||||||
|
|
||||||
|
Some details:
|
||||||
|
- we (still) generate import statements in the form 'import a.b.c' which
|
||||||
|
corresponds to absolute imports in python3 and (the only available)
|
||||||
|
ambiguous one in python2.
|
||||||
|
- added -relativeimport option to use explicit relative import syntax
|
||||||
|
(python3),
|
||||||
|
|
||||||
|
The "Python Packages" section in the documentation discusses how to work
|
||||||
|
with importing packages including the new -relativeimport command line option.
|
||||||
|
|
||||||
2013-12-23: vadz
|
2013-12-23: vadz
|
||||||
[Octave, Perl, Python, R, Ruby, Tcl] Change the length of strings created from fixed-size char
|
[Octave, Perl, Python, R, Ruby, Tcl] Change the length of strings created from fixed-size char
|
||||||
buffers in C code.
|
buffers in C code.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue