Fix Python 2 builtin tp_hash hashfunc closure regression when using "python:slot"

Closes https://github.com/swig/swig/issues/843
This commit is contained in:
William S Fulton 2016-12-23 23:41:07 +00:00
commit 4963a7f88f
4 changed files with 35 additions and 3 deletions

View file

@ -5,6 +5,11 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 3.0.11 (in progress)
============================
2016-12-23: wsfulton
[Python] Fix builtin "python:slot" feature failing for tp_hash when using
hashfunc closure with a "Wrong type for hash function" for Python 2.
Issue https://github.com/swig/swig/issues/843
2016-12-21: joequamt
Changed generation of functions so that only functions
that end in _set generate accessor functions rather than