Ned Deily <n...@python.org> added the comment:

I agree with Barry's comment on PR 3855: "I'd rather see a configure check for 
the existence of uuid_generate_time_safe() rather than hard coding it to 
platforms !APPLE for two reasons. 1) If macOS ever adds this API in some future 
release, this ifndef will be incorrect, and 2) if some other platform comes 
along that doesn't have this API, it will still use the incorrect function."  
It's exactly for situations like this that autoconf tests exist; we should not 
be hardwiring assumptions about the lack of particular platform APIs.

----------
nosy: +ned.deily

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

Reply via email to