STINNER Victor <vstin...@python.org> added the comment:
Usually, what I did to use #error in the C code. Something like: #ifdef MS_WINDOWS ... #elif defined(...) ... #else # error "your platform doesn't support monotonic clock" #endif I dislike relying on configure for that, it's too far from the actual implementation (like pymonotonic()). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40174> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com