Yonatan Zunger <zun...@gmail.com> added the comment: 3.6.2. But Nick Coghlan pointed out elsewhere that the underlying issue is more likely to be one of the other objects being pinned in-memory because of the traceback, so the exception may actually be just an incidental thing. I'm going to have to work on a better minimal repro case -- this particular example had both a subprocess.Popen open at the time and a message-channel object that holds some os.pipes, so there are all sorts of fun things that may be causing the trouble.
I'll update the bug when I have a chance to do that and narrow it down a bit more. On Tue, Dec 26, 2017 at 3:26 AM, Julien Palard <rep...@bugs.python.org> wrote: > > Julien Palard <julien+pyt...@palard.fr> added the comment: > > Tested with: > > @memoize() > def foo(x): > raise Exception("From foo") > > > for _ ∈ range(5): > try: > foo(42) > except Exception as err: > print(err) > > using a python 3.5.4, 3.6.4, and master(13a6c09), and was unable to > reproduce it, which version of Python are you using? How are you > reproducing it? > > ---------- > nosy: +mdk > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <https://bugs.python.org/issue32421> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32421> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com