[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2021-06-21 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2021-06-21 Thread STINNER Victor
STINNER Victor added the comment: Yeah, I consider that the issue can be closed. I'm ok to investigate the issue if another reproducer code is written only using fully initialized (sub)interpreters. -- ___ Python tracker

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2021-06-21 Thread Irit Katriel
Irit Katriel added the comment: Can we close this as not a bug, as the reproducer includes unsupported code? -- nosy: +iritkatriel ___ Python tracker ___

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2019-10-22 Thread STINNER Victor
STINNER Victor added the comment: Extract of test2.C: --- // in main thread Py_Initialize(); PyEval_InitThreads(); PyEval_SaveThread(); // creating a new sub-interpreter, in my real app, this would be created // in a sub-thread. PyInterpreterState* const mainInterpreterState =

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2019-10-22 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-13 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-13 Thread skydoom
skydoom added the comment: seems we also need to check whether _main_thread is daemon thread or not, so the proposed patch would look like: def _shutdown(): # add these checking first if( _main_thread.isDaemon() is False or _main_thread.is_alive() is False ): return --

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-11 Thread skydoom
skydoom added the comment: Hi Pitrou, would you be able to look at my issue and the proposed pathc? Thanks -- ___ Python tracker ___

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-08 Thread skydoom
Changes by skydoom : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-07 Thread skydoom
skydoom added the comment: sorry typo above, is_active should be read as is_alive. -- ___ Python tracker ___

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-07 Thread skydoom
skydoom added the comment: It looks like there is a bug in the _shutdown function of threading.py, that it does not check whether the _main_thread.is_alive() or not. My temporary fix is to add the following checking in the beginning of _shutdown and it seems no more error message pop up:

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-05 Thread skydoom
skydoom added the comment: I quote the "issue 1947" just because I did a search in the db before I file this issue and find its output is similar to what I see, (except that it has "AttributeError" which mine does not have.) and because it's filed for 2.5 and I am not sure if this is just

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-05 Thread Zachary Ware
Zachary Ware added the comment: So there is actually no relation to #1947. -- resolution: duplicate -> superseder: Exception exceptions.AttributeError '_shutdown' in ___ Python tracker

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-05 Thread skydoom
skydoom added the comment: I just update the title to be precise. Exception ignored in: in _shutdown, assert tlock.locked() AssertionError: -- title: Exception exceptions.AttributeError '_shutdown' in -> Exception ignored in: in _shutdown, assert tlock.locked()