[issue39419] Core dump when trying to use workaround for custom warning category (Fatal Python error: init_sys_streams: can't initialize sys standard streams)

2021-10-17 Thread Irit Katriel
Irit Katriel added the comment: Can you reproduce this on 3.10 or 3.11? OpenWrapper is deprecated and no longer defined in the io module from 3.10. -- nosy: +iritkatriel ___ Python tracker

[issue39419] Core dump when trying to use workaround for custom warning category (Fatal Python error: init_sys_streams: can't initialize sys standard streams)

2020-01-22 Thread Gerrit Holl
New submission from Gerrit Holl : Pythons commandline warning filter cannot currently handle custom warning categories. See https://bugs.python.org/issue22543 I tried a workaround as suggested on Stack Overflow to filter on a warning category