Discussion:
[Swig-devel] Next release
William S Fulton
2015-05-06 21:05:48 UTC
Permalink
I'd like to get the next release out the door, mainly because there
are a few 3.0 regressions, most notably Python default arguments. Are
there any more unfixed regressions that anyone knows about apart from

https://github.com/swig/swig/issues/327 - Python bool default args
https://github.com/swig/swig/issues/379 - Python whitespace
https://github.com/swig/swig/issues/344 - Python %constant regression.

Fixes for the above will be much appreciated.

William
William S Fulton
2015-06-01 18:07:35 UTC
Permalink
Post by William S Fulton
I'd like to get the next release out the door, mainly because there
are a few 3.0 regressions, most notably Python default arguments. Are
there any more unfixed regressions that anyone knows about apart from
https://github.com/swig/swig/issues/327 - Python bool default args
https://github.com/swig/swig/issues/379 - Python whitespace
https://github.com/swig/swig/issues/344 - Python %constant regression.
The 1st and 3rd are fixed now and Olly has a good solution for fixing the 2nd.

Regarding the 1st (Python default arguments), I am still a bit
reticent to keep the current code generation as default as it has
caused so many regressions. We might now be on top of the regressions,
but I am reticent only because we keep thinking this is solved but it
turns out not to be. I'm leaving it as it is, but in case it causes
any more problems, I've put in a workaround which will also please
those who don't like the default, I've added a new feature
"python:cdefaultargs" to use *args instead of named Python arguments,
so that the defaults are then obtained from the C++ layer.

William

------------------------------------------------------------------------------
William S Fulton
2015-07-04 21:36:55 UTC
Permalink
Post by William S Fulton
I'd like to get the next release out the door, mainly because there
are a few 3.0 regressions, most notably Python default arguments. Are
there any more unfixed regressions that anyone knows about apart from
https://github.com/swig/swig/issues/327 - Python bool default args
https://github.com/swig/swig/issues/379 - Python whitespace
https://github.com/swig/swig/issues/344 - Python %constant regression.
Fixes for the above will be much appreciated.
Thanks for the help, these are now fixed and I will start some extra
testing and release 3.0.6 within the next couple of days. Please hold
back any non-trivial commits until the release is finished.

Thanks
William

Continue reading on narkive:
Loading...