[Python] Fix indentation so that we give a useful error if the
module can't be loaded. Patch from Gaetan Lehmann in SF#2829853. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
43da669254
commit
5215d9227a
2 changed files with 5 additions and 6 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
Version 1.3.40 (in progress)
|
Version 1.3.40 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
2009-07-31: olly
|
||||||
|
[Python] Fix indentation so that we give a useful error if the
|
||||||
|
module can't be loaded. Patch from Gaetan Lehmann in SF#2829853.
|
||||||
|
|
||||||
2009-07-29: wsfulton
|
2009-07-29: wsfulton
|
||||||
Add $typemap(method, typelist) special variable macro. This allows
|
Add $typemap(method, typelist) special variable macro. This allows
|
||||||
the contents of a typemap to be inserted within another typemap.
|
the contents of a typemap to be inserted within another typemap.
|
||||||
|
|
@ -19,11 +23,6 @@ Version 1.3.40 (in progress)
|
||||||
[PHP] Fix memory leak in PHP OUTPUT typemaps. Reported by Hitoshi
|
[PHP] Fix memory leak in PHP OUTPUT typemaps. Reported by Hitoshi
|
||||||
Amano in SF#2826322.
|
Amano in SF#2826322.
|
||||||
|
|
||||||
2009-07-29: olly
|
|
||||||
[PHP] Fix memory leak in PHP resource destructor for classes
|
|
||||||
without a destructor and non-class types. Patch from Hitoshi Amano
|
|
||||||
in SF#2825303.
|
|
||||||
|
|
||||||
2009-07-28: olly
|
2009-07-28: olly
|
||||||
[PHP] Update warnings about clashes between identifiers and PHP
|
[PHP] Update warnings about clashes between identifiers and PHP
|
||||||
keywords and automatic renaming to work with the PHP5 class
|
keywords and automatic renaming to work with the PHP5 class
|
||||||
|
|
|
||||||
|
|
@ -728,7 +728,7 @@ public:
|
||||||
Printf(f_shadow, tab8 tab8 "_mod = imp.load_module('%s', fp, pathname, description)\n", module);
|
Printf(f_shadow, tab8 tab8 "_mod = imp.load_module('%s', fp, pathname, description)\n", module);
|
||||||
Printv(f_shadow, tab4 tab8, "finally:\n", NULL);
|
Printv(f_shadow, tab4 tab8, "finally:\n", NULL);
|
||||||
Printv(f_shadow, tab8 tab8, "fp.close()\n", NULL);
|
Printv(f_shadow, tab8 tab8, "fp.close()\n", NULL);
|
||||||
Printv(f_shadow, tab8 tab8, "return _mod\n", NULL);
|
Printv(f_shadow, tab4 tab8, "return _mod\n", NULL);
|
||||||
Printf(f_shadow, tab4 "%s = swig_import_helper()\n", module);
|
Printf(f_shadow, tab4 "%s = swig_import_helper()\n", module);
|
||||||
Printv(f_shadow, tab4, "del swig_import_helper\n", NULL);
|
Printv(f_shadow, tab4, "del swig_import_helper\n", NULL);
|
||||||
Printv(f_shadow, "else:\n", NULL);
|
Printv(f_shadow, "else:\n", NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue