[bindings] [Bug 378927] New: pykde4 shouldn't permanently change dlopenflags Python environment setting

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Apr 18 15:24:38 UTC 2017


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: kde-bindings at kde.org
          Reporter: torsava at redhat.com
  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.


More information about the Kde-bindings mailing list