Florin Spătar <florinspa...@gmail.com> added the comment:

@mattip
Yes, the patch fixed the issue and the extension module import works.

With the patch applied:

[fspatar@hpux1131:/cust/fspatar/buildtest/hp-ux/11.31/build]> 
/opt/OPSWbuildtools/2.0.5/python/3.8.11.01/bin/python3
Python 3.8.11 (default, Aug  4 2021, 03:13:01) 
[GCC 4.2.4] on hp-ux-pa
Type "help", "copyright", "credits" or "license" for more information.
>>> import _imp
>>> _imp.extension_suffixes()
['.cpython-38.sl', '.sl']
>>> 

Sorry for the confusion; I meant python should search for the following file 
names when extension module _m2crypto is imported (in this order):

_m2crypto.cpython-38.sl
_m2crypto.sl

@vstinner
I'm working on the pull request.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44959>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to