##// END OF EJS Templates
Improve typing and MIME hook API for inspector (#14342)...
Improve typing and MIME hook API for inspector (#14342) Fixes https://github.com/ipython/ipython/issues/14339 ### Additions Adds `InfoDict` type to improve the typing of `info()` result. Adds missing `"subclasses"` to `info_fields` list (these were added to the field list in https://github.com/ipython/ipython/pull/11486 but we forgot to update `info_fields` variable at the time) - the newly added `InfoDict` type will ensure that this won't happen again. Adds `InspectorHookData` dataclass which is passed to the MIME hooks which now should expect a single argument. Having a single dataclass argument enables us to deprecate individual fields, or add new fields without breaking the existing hooks. The old hooks will still work (if any are out there since this mechanism got just added in the previous point version). ### Deletions A comment over `info_fields` gets deleted: - Contrarily to the comment (which is getting deleted in this PR), `info_fields` were not defining the order of display since at least 2015 (https://github.com/ipython/ipython/pull/7903 - I did not feel the need to go further in the history to find when exactly it happened). - Also contrarily to this comment, current Jupyter messaging spec does not define the contents of `info_fields` (I guess this was lost during IPython/Jupyter split), but the newly added `InfoDict` at least properly annotates their type (if you know where I can find the old IPython messaging spec with the descriptions I can add these as doc comments). Unused `cast_unicode` import gets deleted. If someone imported it from here... well they really should not have. ### Deprecations - mime hooks taking two arguments (`obj, info`)

File last commit:

r23220:4f9bd43d
r28661:2084e7f3 merge
Show More
github-stats-4.rst
178 lines | 3.3 KiB | text/x-rst | RstLexer

Issues closed in the 4.x development cycle

Issues closed in 4.2

GitHub stats for 2015/02/02 - 2016/04/20 (since 4.1)

These lists are automatically generated, and may be incomplete or contain duplicates.

We closed 10 issues and merged 22 pull requests. The full list can be seen on GitHub

The following 10 authors contributed 27 commits.

  • Benjamin Ragan-Kelley
  • Carlos Cordoba
  • Gökhan Karabulut
  • Jonas Rauber
  • Matthias Bussonnier
  • Paul Ivanov
  • Sebastian Bank
  • Thomas A Caswell
  • Thomas Kluyver
  • Vincent Woo

Issues closed in 4.1

GitHub stats for 2015/08/12 - 2016/02/02 (since 4.0.0)

These lists are automatically generated, and may be incomplete or contain duplicates.

We closed 60 issues and merged 148 pull requests. The full list can be seen on GitHub

The following 52 authors contributed 468 commits.

  • Aaron Meurer
  • Alexandre Avanian
  • Anthony Sottile
  • Antony Lee
  • Arthur Loder
  • Ben Kasel
  • Ben Rousch
  • Benjamin Ragan-Kelley
  • bollwyvl
  • Carol Willing
  • Christopher Roach
  • Douglas La Rocca
  • Fairly
  • Fernando Perez
  • Frank Sachsenheim
  • Guillaume DOUMENC
  • Gábor Luk
  • Hoyt Koepke
  • Ivan Timokhin
  • Jacob Niehus
  • JamshedVesuna
  • Jan Schulz
  • Jan-Philip Gehrcke
  • jc
  • Jessica B. Hamrick
  • jferrara
  • John Bohannon
  • John Kirkham
  • Jonathan Frederic
  • Kyle Kelley
  • Lev Givon
  • Lilian Besson
  • lingxz
  • Matthias Bussonnier
  • memeplex
  • Michael Droettboom
  • naught101
  • Peter Waller
  • Pierre Gerold
  • Rémy Léone
  • Scott Sanderson
  • Shanzhuo Zhang
  • Sylvain Corlay
  • Tayfun Sen
  • Thomas A Caswell
  • Thomas Ballinger
  • Thomas Kluyver
  • Vincent Legoll
  • Wouter Bolsterlee
  • xconverge
  • Yuri Numerov
  • Zachary Pincus

Issues closed in 4.0

GitHub stats for 2015/02/27 - 2015/08/11 (since 3.0)

These lists are automatically generated, and may be incomplete or contain duplicates.

We closed 35 issues and merged 125 pull requests. The full list can be seen on GitHub

The following 69 authors contributed 1186 commits.

  • Abe Guerra
  • Adal Chiriliuc
  • Alexander Belopolsky
  • Andrew Murray
  • Antonio Russo
  • Benjamin Ragan-Kelley
  • Björn Linse
  • Brian Drawert
  • chebee7i
  • Daniel Rocco
  • Donny Winston
  • Drekin
  • Erik Hvatum
  • Fernando Perez
  • Francisco de la Peña
  • Frazer McLean
  • Gareth Elston
  • Gert-Ludwig Ingold
  • Giuseppe Venturini
  • Ian Barfield
  • Ivan Pozdeev
  • Jakob Gager
  • Jan Schulz
  • Jason Grout
  • Jeff Hussmann
  • Jessica B. Hamrick
  • Joe Borg
  • Joel Nothman
  • Johan Forsberg
  • Jonathan Frederic
  • Justin Tyberg
  • Koen van Besien
  • Kyle Kelley
  • Lorena Pantano
  • Lucretiel
  • Marin Gilles
  • mashenjun
  • Mathieu
  • Matthias Bussonnier
  • Merlijn van Deen
  • Mikhail Korobov
  • Naveen Nathan
  • Nicholas Bollweg
  • nottaanibot
  • Omer Katz
  • onesandzeroes
  • Patrick Snape
  • patter001
  • Peter Parente
  • Pietro Battiston
  • RickWinter
  • Robert Smith
  • Ryan Nelson
  • Scott Sanderson
  • Sebastiaan Mathot
  • Sylvain Corlay
  • thethomask
  • Thomas A Caswell
  • Thomas Adriaan Hellinger
  • Thomas Kluyver
  • Tianhui Michael Li
  • tmtabor
  • unknown
  • Victor Ramirez
  • Volker Braun
  • Wieland Hoffmann
  • Yuval Langer
  • Zoltán Vörös
  • Élie Michel