-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release GIL around global get/set option call
ldap.set_option() and ldap.get_option() now properly release the GIL around potentially blocking calls. Also fixes a problem with make indent by replacing Py_BEGIN/END_ALLOW_THREADS with PyEval_SaveThread / PyEval_RestoreThread function calls. python-ldap requires threading support any way. Fixes: https://github.com/python-ldap/python-ldap/issues/85 Signed-off-by: Christian Heimes <cheimes@redhat.com>
- Loading branch information
Christian Heimes
authored and
Petr Viktorin
committed
Sep 20, 2019
1 parent
f4059c4
commit e6b6e8e
Showing
3 changed files
with
62 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters