Michael Thon
80ffb169c1
[Python] fix and improve default argument handling
...
1. Fix negative octals. Currently not handled correctly by `-py3`
(unusual case, but incorrect).
2. Fix arguments of type "octal + something" (e.g. `0640 | 04`).
Currently drops everything after the first octal. Nasty!
3. Fix bool arguments "0 + something" (e.g. `0 | 1`) are always
"False" (unusual case, but incorrect).
4. Remove special handling of "TRUE" and "FALSE" from
`convertValue` since there's no reason these have to match
"true" and "false".
5. Remove the Python 2 vs. Python 3 distinction based on the
`-py3` flag. Now the same python code is produced for default
arguments for Python 2 and Python 3. For this, octal default
arguments, e.g. 0644, are now wrapped as `int('644', 8)`. This
is required, as Python 2 and Python 3 have incompatible syntax
for octal literals.
Fixes #707
2017-06-23 13:38:49 +12:00
..
allegrocl.cxx
Add support for "ret" typemap where missing and improve documentation on it.
2016-09-29 08:07:26 +01:00
allocate.cxx
#733 - wrong "override" calculation in import mode
2016-06-27 20:27:10 +03:00
browser.cxx
Add lambda functions to the symbol tables and add ability to suppress lambda warnings.
2013-02-04 20:05:34 +00:00
cffi.cxx
Add support for "ret" typemap where missing and improve documentation on it.
2016-09-29 08:07:26 +01:00
chicken.cxx
Prevent redefinition warnings when compiling with SWIG<module> defined
2015-12-22 14:33:21 +02:00
clisp.cxx
Fix assertion for some languages when wrapping a C++11 enum class that is private in a class.
2016-03-31 20:27:36 +01:00
contract.cxx
Cosmetics/code beautification of nested class support
2013-11-29 07:29:58 +00:00
csharp.cxx
Remove undocumented features used in directors
2017-05-21 17:43:06 +01:00
d.cxx
Remove unnecessary dynamic_cast in C#/D/Java directors
2017-05-21 17:42:27 +01:00
directors.cxx
Add support for thread_local when specified with other legitimate storage class specifiers - extern and static
2013-02-08 06:36:39 +00:00
emit.cxx
Remove cvs/svn Id strings
2013-01-12 01:21:16 +00:00
go.cxx
Fix potential use of uninitialized variables in directors
2017-05-13 22:40:59 +01:00
guile.cxx
Prevent redefinition warnings when compiling with SWIG<module> defined
2015-12-22 14:33:21 +02:00
interface.cxx
Interface feature fix for typedef types
2016-03-07 21:42:27 +00:00
java.cxx
Merge branch 'asibross-master' into director-smartptr-ownership
2017-05-25 08:00:35 +01:00
javascript.cxx
Fix %import and %fragment forced inclusion to not generate code.
2017-06-03 18:37:05 +01:00
lang.cxx
Fix %import and %fragment forced inclusion to not generate code.
2017-06-03 18:37:05 +01:00
lua.cxx
Lua: Fix possible memory leaks
2016-06-16 15:51:50 +03:00
main.cxx
[PHP7] Make default C++ extension .cxx
2016-11-30 13:27:13 +13:00
modula3.cxx
Multiple inheritance warning wording tweak
2016-03-06 10:45:39 +00:00
module.cxx
Remove cvs/svn Id strings
2013-01-12 01:21:16 +00:00
mzscheme.cxx
Prevent redefinition warnings when compiling with SWIG<module> defined
2015-12-22 14:33:21 +02:00
nested.cxx
Fix segmentation fault when top==NULL
2015-02-26 14:57:19 +13:00
ocaml.cxx
Fix potential use of uninitialized variables in directors
2017-05-13 22:40:59 +01:00
octave.cxx
Fix potential use of uninitialized variables in directors
2017-05-13 22:40:59 +01:00
overload.cxx
Fixing implicitconv handling for fastdispatch and castmode
2016-06-23 08:06:14 -04:00
perl5.cxx
Fix potential use of uninitialized variables in directors
2017-05-13 22:40:59 +01:00
php.cxx
Merge pull request #970 from nihal95/master
2017-05-16 17:47:35 +12:00
php5.cxx
Merge pull request #970 from nihal95/master
2017-05-16 17:47:35 +12:00
pike.cxx
Fix GCC 7 warnings
2016-12-21 13:05:20 +13:00
python.cxx
[Python] fix and improve default argument handling
2017-06-23 13:38:49 +12:00
r.cxx
Fix R function pointer wrappers containing lvalue and rvalue reference parameters
2017-06-16 07:41:05 +01:00
README
File move
2002-12-03 20:33:35 +00:00
ruby.cxx
Fix potential use of uninitialized variables in directors
2017-05-13 22:40:59 +01:00
s-exp.cxx
Remove cvs/svn Id strings
2013-01-12 01:21:16 +00:00
scilab.cxx
fix Scilab 6.0.0 linking issue
2017-05-30 14:42:44 +02:00
swigmain.cxx
[PHP] Add support for PHP7.
2016-11-30 13:05:59 +13:00
swigmod.h
Add checks for interface name symbol clashes
2016-03-03 22:48:35 +00:00
tcl8.cxx
Prevent redefinition warnings when compiling with SWIG<module> defined
2015-12-22 14:33:21 +02:00
typepass.cxx
Add C++11 alias templates
2016-07-06 00:31:04 +03:00
uffi.cxx
Eliminate needless casting away const from string constants
2014-04-30 12:00:23 +12:00
utils.cxx
Remove cvs/svn Id strings
2013-01-12 01:21:16 +00:00
xml.cxx
Update xml.cxx to return typenames ( #777 )
2016-09-27 15:15:47 +13:00