"moduleInit" symbol collision causing SystemError on import
Brought to you by:
anthon
It is not possible to use ruamel.ordereddict==0.4.14 and pyrsistent==0.14.7 versions together with dl open flags set to 258. The RCA of the issue is that both the packages define the symbol "moduleInit".
Steps to reproduce:
import sys
sys.setdlopenflags(258)
# pvectorc is a shared so provided by pyrsistent.
import pvectorc
import _ordereddict
The above code will raise the exception with the message as follows
SystemError: dynamic module not initialized properly
There are other python packages that define the same name. So it would be better if any namespace can be utilized.
I uploaded 0.4.15 to PyPI, there are no(and possible will not be) wheels for MacOS/Windows
Thanks for reporting. I thought I had this fixed , and I for sure had seen how pyrsistent has fixed the issue, but somehow managed to forget about this during my holidays in September.
Thank you so much!