[issue11063] Rework uuid module: lazy initialization and add a new C extension

Stefan Krah report at bugs.python.org
Wed Nov 8 15:48:16 EST 2017


Stefan Krah <stefan at bytereef.org> added the comment:

On Wed, Nov 08, 2017 at 08:28:10PM +0000, Serhiy Storchaka wrote:
> Does this check work? I tried similar checks with other functions and they were falsely passed because calling an undeclared function is not an error in C.

Not here. If I replace uuid_generate_time_safe with a non-existing function
name, it is still found:

   checking for uuid_generate_time_unsafe... yes

The originally suggested AC_CHECK_LIB macro however works here in both cases. :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue11063>
_______________________________________


More information about the Python-bugs-list mailing list