STINNER Victor added the comment:

> The second option seems like the safest choice, attached is a patch that 
> addresses just that.

Thanks, I applied your patch (your a bugfix, you forgot one "return" ;-)).

I also inlined _type_void_ptr() into _sizeof_void_p(), since it was only called 
there.

Thanks for your bug report and your patch.

Can you please sign the PSF Contributor Agreement? 
https://www.python.org/psf/contrib/contrib-form/

It's required when you contribute to Python. In short, it warns you that Python 
is free software ;-)

----------
resolution:  -> fixed
status: open -> closed

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

Reply via email to