Closed pepone closed 3 months ago
We still use dl module to set the loader flags, but this module was removed in Python3, we should use ctypes
dl
https://github.com/zeroc-ice/ice/blob/f04017972bf5913dd0b32ebcd4126cffa7b955de/python/python/Ice/__init__.py#L33-L49
We can use os constants added in 3.3 see https://docs.python.org/3/library/os.html#os.RTLD_NOW
os
We still use
dl
module to set the loader flags, but this module was removed in Python3, we should use ctypeshttps://github.com/zeroc-ice/ice/blob/f04017972bf5913dd0b32ebcd4126cffa7b955de/python/python/Ice/__init__.py#L33-L49