Python options simplification: Remove -buildnone, -nobuildnone
A custom implementation for Py_None was implemented in SWIG_Py_None(). This was used by default on Windows only. It isn't clear why this was done just for Windows. Now Py_None is the real Py_None on all operating systems.
This commit is contained in:
parent
d84d26832f
commit
b2aa01f492
3 changed files with 4 additions and 54 deletions
|
|
@ -380,9 +380,6 @@ SWIG_init(void) {
|
|||
#endif
|
||||
|
||||
/* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */
|
||||
#ifdef SWIG_PYTHON_BUILD_NONE
|
||||
SWIG_Py_None();
|
||||
#endif
|
||||
SWIG_This();
|
||||
SWIG_Python_TypeCache();
|
||||
SwigPyPacked_type();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue