[bindings] [Bug 378927] New: pykde4 shouldn't permanently change dlopenflags Python environment setting
| Newsgroups | gmane.comp.kde.devel.bindings |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=378927
Bug ID: 378927
Summary: pykde4 shouldn't permanently change dlopenflags Python
environment setting
Product: bindings
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: pykde
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi!
This is concerning pykde4 version 4.14.3 (can't be picked in the Version menu).
Python libraries shouldn't be permanently changing environment settings, it can
cause undefined problematic behaviour and crashes of other components, e.g. a
[pydoc] crash.
[pydoc] https://bugzilla.redhat.com/show_bug.cgi?id=1442464
The problem lies in the `__init__.py` pykde4 file which permanently sets
`sys.setdlopenflags(DLFCN.RTLD_NOW|DLFCN.RTLD_GLOBAL)` and never reverses the
setting.
Have a great day!
--
You are receiving this mail because:
You are the assignee for the bug.