(Posting to dev list, again...) On Thu, Nov 14, 2019 at 1:47 AM Julian Foad <[email protected]> wrote: > Nathan wrote in another thread: > > Note: If the patch contributed by Jun Omae a little earlier is > > committed, the text regarding SWIG 4.0.0+ in INSTALL will need to be > > adjusted accordingly. I have not changed it because the patch has not > > been committed yet. > > Perhaps someone could commit this if there are no other concerns with > it, and adjust INSTALL at the same time? > > - Julian
Updated proposed patch, including a change of subversion/bindings/swig/INSTALL. [[[ Support building with SWIG 4 on Python 3.x * build/ac-macros/swig.m4 (SVN_FIND_SWIG): Allow building with SWIG 4+, and add -modern option when Python 3 and SWIG 3.x are detected. * subversion/bindings/swig/INSTALL (BUILDING SWIG BINDINGS FOR SVN ON UNIX, Step 1): Update supported SWIG versions for Python 3 bindings. * subversion/bindings/swig/include/proxy.py Use _get_instance_attr and _set_instance_attr. * subversion/bindings/swig/include/proxy.swg (_get_instance_attr): New function to get an instance attribute without metadata for new-style and old-style classes. (_set_instance_attr): New function to set an instance attribute for new-style and old-style classes. ]]] -- Jun Omae <[email protected]> (大前 潤)
python-swig4-r1869745.diff
Description: Binary data

