ipython / ipython/ipython

Allow to register formatter by types with lower precedence.

Aperta
#10,653 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
16.8k
Fork
4.5k
Merge medio
1g 2h
PR unite (30g)
6

Descrizione

See #10650 as well, for bugs in the precedence of formatters. With `ipython/disp` we want to register formatters for older version of pyspark where objects do _not_ define `_repr_*_`, but so far the formatters are understood as "user defined", meaning that they take precedence over the `_repr_*_` methods. It would be nice to have an extra way of registering formatter with lower precedence.

cc @rgbkrk

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.