Bug 378927 - pykde4 shouldn't permanently change dlopenflags Python environment setting
Summary: pykde4 shouldn't permanently change dlopenflags Python environment setting
Status: RESOLVED UNMAINTAINED
Alias: None
Product: bindings
Classification: Developer tools
Component: pykde (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-18 15:24 UTC by torsava
Modified: 2018-11-17 05:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.