[issue29219] TracebackException(capture_locals=True) may fail with RecursionError

Serhiy Storchaka report at bugs.python.org
Tue Jan 10 01:07:28 EST 2017


Serhiy Storchaka added the comment:

Could you please provide a script that reproduces an issue?

Seems the repr of uninitialized CDLL instance is used. It causes an infinite recursion in attempt to resolve not set private attributes (_name, _handle, _FuncPtr).

----------
components: +ctypes
nosy: +amaury.forgeotdarc, belopolsky, meador.inge, serhiy.storchaka
type: crash -> behavior
versions: +Python 2.7, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29219>
_______________________________________


More information about the Python-bugs-list mailing list