[Python-porting] How to solve the compatibility issue when import xxx.so

北冰洋 wtz_wh at foxmail.com
Sun May 18 03:14:15 CEST 2014


Hi guys,


When I using Python2.7 to import xxx.so file which is compiled under Python2.4, There will be an error message 
     "ImportError: xxx.so: undefined symbol: Py_InitModule4"


I know need use the xxx.so compiled by 2.7.2 here. But my concern is that how to keep backwad compatibility? Post one xxx.so for one version?


Thanks,
Vatel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-porting/attachments/20140518/1a6a65b8/attachment.html>


More information about the Python-porting mailing list