A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-May/140037.html below:

[Python-Dev] PyObject_IsInstance is dangerous

[Python-Dev] PyObject_IsInstance is dangerous [Python-Dev] PyObject_IsInstance is dangerousGreg Ewing greg.ewing at canterbury.ac.nz
Mon May 18 14:41:48 CEST 2015
Serhiy Storchaka wrote:
> May be modify PyObject_IsInstance so that it will never return 
> true if layouts are not compatible?

That wouldn't be a good idea, since PyObject_IsInstance is
meant to reflect the behaviour of python's isinstance()
function, which doesn't care about C layouts.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4