Sébastien Celles <s.cel...@gmail.com> added the comment: About raising exception with converting integer value that should overflow maybe we should have a parameter
ctypes.c_uint8(256, raise=True) will raise an exception but ctypes.c_uint8(256) will silently return c_ubyte(0) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34810> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com