mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Use the sip -g flag so the GIL is released and reaquired for every API call
This commit is contained in:
@@ -118,11 +118,13 @@ class Configuration(object):
|
||||
|
||||
self.DOXY_XML_DIR = os.path.join(self.WXDIR, 'docs/doxygen/out/xml')
|
||||
|
||||
self.SIPOPTS = ' '.join(['-w', # enable warnings
|
||||
self.SIPOPTS = ' '.join([
|
||||
'-w', # enable warnings
|
||||
'-o', # turn on auto-docstrings
|
||||
#'-e', # turn on exceptions support
|
||||
'-g', # turn on acquire/release of GIL for everything
|
||||
#'-e', # turn on exceptions support
|
||||
#'-T', # turn off writing the timestamp to the generated files '-g', # always release and reaquire the GIL
|
||||
#'-r', # turn on function call tracing
|
||||
#'-r', # turn on function call tracing
|
||||
'-I', os.path.join(phoenixDir(), 'src'),
|
||||
'-I', os.path.join(phoenixDir(), 'sip', 'gen'),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user