[New-bugs-announce] [issue34816] ctypes + hasattr

Lars Friedrich report at bugs.python.org
Thu Sep 27 03:14:17 EDT 2018


New submission from Lars Friedrich <lars.friedrich at leica-microsystems.com>:

The following creates an OSError:

import ctypes
hasattr(ctypes.windll, 'test')

The expected behavior would be to return "False"

----------
components: ctypes
messages: 326528
nosy: lfriedri
priority: normal
severity: normal
status: open
title: ctypes + hasattr
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34816>
_______________________________________


More information about the New-bugs-announce mailing list