cpython/Misc/NEWS.d
Victor Stinner ef9d9b6312
bpo-36829: Add sys.unraisablehook() (GH-13187)
Add new sys.unraisablehook() function which can be overridden to
control how "unraisable exceptions" are handled. It is called when an
exception has occurred but there is no way for Python to handle it.
For example, when a destructor raises an exception or during garbage
collection (gc.collect()).

Changes:

* Add an internal UnraisableHookArgs type used to pass arguments to
  sys.unraisablehook.
* Add _PyErr_WriteUnraisableDefaultHook().
* The default hook now ignores exception on writing the traceback.
* test_sys now uses unittest.main() to automatically discover tests:
  remove test_main().
* Add _PyErr_Init().
* Fix PyErr_WriteUnraisable(): hold a strong reference to sys.stderr
  while using it
2019-05-22 11:28:22 +02:00
..
next bpo-36829: Add sys.unraisablehook() (GH-13187) 2019-05-22 11:28:22 +02:00
3.5.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0a1.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
3.5.0a2.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.5.0a3.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
3.5.0a4.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.5.0b1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b2.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.5.0b3.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
3.5.0b4.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
3.5.0rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc3.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.5.0rc4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.1rc1.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
3.5.2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.2rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.5.3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.3rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.5.4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.4rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.5.5.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.5rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.6.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0a1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.6.0a2.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.6.0a3.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.6.0a4.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.6.0b1.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.6.0b2.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.6.0b3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0b4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0rc1.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.6.0rc2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.1rc1.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.6.2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.2rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.6.2rc2.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.3rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.6.4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.4rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.6.5.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.5rc1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.6.6.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.6rc1.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.7.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.7.0a1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.7.0a2.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.7.0a3.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.7.0a4.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.7.0b1.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.7.0b2.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.7.0b3.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.7.0b4.rst bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) 2019-05-09 21:52:32 +02:00
3.7.0b5.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.7.0rc1.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
3.8.0a1.rst Fix "catchs" typos in NEWS entries (GH-12364) 2019-03-17 16:48:21 -07:00
3.8.0a2.rst Minor edits to news entries (ported from 3.7) (GH-12293) 2019-03-12 12:21:22 -04:00
3.8.0a3.rst Fix NEWS entries with incorrect bpo numbers (GH-12599) 2019-03-28 00:19:30 -04:00
3.8.0a4.rst bpo-36751: Undeprecate getfullargspec (GH-13245) 2019-05-16 21:08:15 +01:00