JP Sugarbroad <tar...@gmail.com> added the comment:
That matches our expectation. A subclass works - perhaps `c_void_p` could be deprecated in favor of a built-in subclass for generic opaque pointers as well? Glad you agree that a warning would be useful here. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46966> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com