This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mattip
Recipients mattip, vstinner
Date 2020-12-08.21:53:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Continuation of bpo 39825, this time for FreeBSD and AIX. As commented there, the test added in the fix to 39825 fails on FreeBSD and AIX:

FAIL: test_EXT_SUFFIX_in_vars (test.test_sysconfig.TestSysConfig)
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/", line 368, in test_EXT_SUFFIX_in_vars
    self.assertEqual(vars['EXT_SUFFIX'], _imp.extension_suffixes()[0])
AssertionError: '.so' != ''
- .so

So somehow EXT_SUFFIX is being set to .so rather than

It seems the difference in EXT_SUFFIX comes from this stanza in configure:

case $ac_sys_system in

where $ac_sys_system is `uname -s`. On FREEBSD, this is "FreeBSD", and I think on AIX it is "AIX". My preference would be to always set EXT_SUFFIX to ${SOABI}${SHLIB_SUFFIX}, with no option for setting it to a different value. Does that seem right?
Date User Action Args
2020-12-08 21:53:22mattipsetrecipients: + mattip, vstinner
2020-12-08 21:53:22mattipsetmessageid: <>
2020-12-08 21:53:22mattiplinkissue42604 messages
2020-12-08 21:53:21mattipcreate