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

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +837 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

2017-01-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

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

2017-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset d9a64d00a439 by Serhiy Storchaka in branch '3.5': Issue #29219: Fixed infinite recursion in the repr of uninitialized https://hg.python.org/cpython/rev/d9a64d00a439 New changeset d9539a5c2315 by Serhiy Storchaka in branch '2.7': Issue #29219: Fixed

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

2017-01-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2017-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch fixes an infinite recursion in a repr of uninitialized CDLL instance. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file46246/ctypes_cdll_uninitialized_repr.patch __

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

2017-01-10 Thread Ilya Kulakov
Ilya Kulakov added the comment: I was not able to reproduce it. The origin "unhandeled" exception happens after ctypes.cdll.LoadLibrary fails to load a library: Traceback (most recent call last): File "...", line 852, in ... File ":/ctypes/__init__.py", line 425, in LoadLibrary File ":/c

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

2017-01-09 Thread Serhiy Storchaka
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 no

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

2017-01-09 Thread Ilya Kulakov
New submission from Ilya Kulakov: I'm using Python 3.5.2 to be precise. I have code that is roughly equivalent to: import sys import traceback def handle_exception(exc_type, exc_value, exc_traceback): traceback.TracebackException(exc_type, exc_value, exc_traceback, capture_