cpython/Misc/NEWS.d/next
Victor Stinner cd590a7ced
bpo-1230540: Add threading.excepthook() (GH-13515)
Add a new threading.excepthook() function which handles uncaught
Thread.run() exception. It can be overridden to control how uncaught
exceptions are handled.

threading.ExceptHookArgs is not documented on purpose: it should not
be used directly.

* threading.excepthook() and threading.ExceptHookArgs.
* Add _PyErr_Display(): similar to PyErr_Display(), but accept a
  'file' parameter.
* Add _thread._excepthook(): C implementation of the exception hook
  calling _PyErr_Display().
* Add _thread._ExceptHookArgs: structseq type.
* Add threading._invoke_excepthook_wrapper() which handles the gory
  details to ensure that everything remains alive during Python
  shutdown.
* Add unit tests.
2019-05-28 00:39:52 +02:00
..
Build bpo-36721: Add --embed option to python-config (GH-13500) 2019-05-23 03:30:23 +02:00
C API bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
Core and Builtins bpo-37050: Remove expr_text from FormattedValue ast node, use Constant node instead (GH-13597) 2019-05-27 15:31:52 -04:00
Documentation bpo-35397: Remove deprecation and document urllib.parse.unwrap (GH-11481) 2019-05-27 09:43:45 -04:00
IDLE bpo-37038: Make idlelib.run runnable; add test clause (GH-13560) 2019-05-24 21:59:53 -04:00
Library bpo-1230540: Add threading.excepthook() (GH-13515) 2019-05-28 00:39:52 +02:00
macOS Python 3.8.0a4 2019-05-06 20:30:25 +02:00
Security bpo-35907: Fix typo in the NEWS entry (GH-13559) 2019-05-24 23:06:25 +02:00
Tests bpo-36829: Add test.support.catch_unraisable_exception() (GH-13490) 2019-05-22 23:44:02 +02:00
Tools-Demos bpo-37053: handle strings like u"bar" correctly in Tools/parser/unparse.py (GH-13583) 2019-05-26 10:08:19 -07:00
Windows bpo-36965: Fix includes in main.c on Windows with non-MSC compilers (GH-13421) 2019-05-21 12:11:11 +02:00