You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
all deprecation warnings are disabled for the whole process while new unix asyncio subprocesses are created #98327
changed the title [-]all deprecation warnings are disabled for the whole process while new unix asyncio processes are created[/-][+]all deprecation warnings are disabled for the whole process while new unix asyncio subprocesses are created[/+]on Oct 16, 2022
I'm closing this as done with good enough, there are plenty of places in stdlib where this happens and in those places some real work in done rather than just a function call. No point in spending more time on this.
Activity
graingert commentedon Oct 16, 2022
cc @kumaraditya303
[-]all deprecation warnings are disabled for the whole process while new unix asyncio processes are created[/-][+]all deprecation warnings are disabled for the whole process while new unix asyncio subprocesses are created[/+]graingert commentedon Oct 16, 2022
see also #91505, #81785 and #50896
kumaraditya303 commentedon Oct 16, 2022
Okay, I'll be AFK for some time so feel free to create a PR. I doubt that any one will hit this in practise though.
gvanrossum commentedon Oct 16, 2022
Ah, I guess I was right about that context manager. :-)
kumaraditya303 commentedon Oct 16, 2022
#98333 fixes this, I had underestimated
warningsmodule :-)GH-98327: Reduce scope of catch_warnings() in _make_subprocess_transp…
gvanrossum commentedon Oct 17, 2022
We're still looking for a perfect solution (see discussion in PR), so keeping this issue open.
Merge branch 'main' into typewatch
kumaraditya303 commentedon May 11, 2023
I'm closing this as done with good enough, there are plenty of places in stdlib where this happens and in those places some real work in done rather than just a function call. No point in spending more time on this.