Bug 378927

Summary: pykde4 shouldn't permanently change dlopenflags Python environment setting
Product: [Developer tools] bindings Reporter: torsava
Component: pykdeAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description torsava 2017-04-18 15:24:38 UTC
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!
Comment 1 fire f. 2018-04-22 15:52:59 UTC
also, the configure.py file is missing in pykde4, so it cannot be installed from sources.

the file INSTALL is pretty wortless as a help in that regard.

The readme says: "read INSTALL" and then there is nothing in there which makes any sense.
Comment 2 Andrew Crouthamel 2018-11-17 05:28:21 UTC
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.