STINNER Victor <vstin...@python.org> added the comment:
Ah, I reproduced a crash locally: 0:00:19 load avg: 2.00 [3/3/1] test_embed crashed (Exit code -11) Fatal Python error: Segmentation fault Current thread 0x00007fef0ea9f2c0 (most recent call first): File "/home/vstinner/python/main/Lib/test/test_embed.py", line 1560 in create_printer File "/home/vstinner/python/main/Lib/test/test_embed.py", line 1595 in test_disallow_instantiation The crash happens when sys.__stdout__.fileno() is not 1 or 2. It happens with my recents changes in bpo-45410. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45453> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com