Hard-wire -modern and -modernargs on
What SWIG calls "modern" classes are supported by Python 2.3 and up which means they're supported by all the Python versions we aim to support in 4.0.0. Conflicts: Source/Modules/python.cxx This is a cherry-pick and merge from the patch in #1261
This commit is contained in:
parent
728b8955bd
commit
e4fceee12f
3 changed files with 75 additions and 193 deletions
|
|
@ -41,9 +41,6 @@ The implementation is based on this recipe:
|
|||
|
||||
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252158
|
||||
|
||||
and works for modern (-modern) and plain python. We do not use __slots__,
|
||||
so, it works with old python versions.
|
||||
|
||||
*/
|
||||
|
||||
#define %pythonnondynamic %feature("python:nondynamic", "1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue