[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-05-14 Thread STINNER Victor


Change by STINNER Victor :


--
components: +Subinterpreters -Interpreter Core

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-04-08 Thread STINNER Victor


STINNER Victor  added the comment:

> I reopen the issue because of bpo-40082 "trip_signal() gets NULL tstate on 
> Windows on CTRL+C" regression.

bpo-40082 is fixed, so I close the issue again.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-04-08 Thread STINNER Victor


STINNER Victor  added the comment:

I reopen the issue because of bpo-40082 "trip_signal() gets NULL tstate on 
Windows on CTRL+C" regression.

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-03-27 Thread STINNER Victor


STINNER Victor  added the comment:

> Awesome!  Thanks for doing this, Victor.  I'll take a look when I can and 
> adjust the changes for bpo-33608.  If you'll recall, I made a similar change 
> as part of the solution for that issue, which we later reverted due to 
> problems we discovered with daemon threads during runtime finalization.

I recall the revert dance, yeah. It took one year to fix the daemon threads and 
related issues! So far, buildbots look happy. I also ran many manual tests 
which makes me confident that the code is now reliable even with all recent 
changes done for isolating thread states.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-03-27 Thread Eric Snow


Eric Snow  added the comment:

Awesome!  Thanks for doing this, Victor.  I'll take a look when I can and 
adjust the changes for bpo-33608.  If you'll recall, I made a similar change as 
part of the solution for that issue, which we later reverted due to problems we 
discovered with daemon threads during runtime finalization.

--
nosy: +eric.snow

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-03-25 Thread STINNER Victor


STINNER Victor  added the comment:

I moved pending calls to PyInterpreterState.

There are remaining issues with using pending calls in subinterpreters, but I 
propose to continue the discussion in bpo-37127.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
title: Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval 
-> Move pending calls from _PyRuntime to PyInterpreterState

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com