[IPython-dev] New display methods, should we fine-tune our naming decision?
Walter Dörwald
walter at livinglogic.de
Wed Feb 2 12:09:45 EST 2011
On 02.02.11 03:16, MinRK wrote:
> [...]
> An alternative to developers writing methods in their classes would be
> for the Display system to use its own lookup table for representation
> methods, and provide an extension API for modules, IPython,
> third-parties, or users to register additional methods for classes.
> This would be more elaborate, but would make the display system a
> better Python citizen, and would eliminate the possiblity of collision
> with other projects' private conventions.
Why not use a generic function (i.e.
http://pypi.python.org/pypi/simplegeneric) for the method registry?
Servus,
Walter
More information about the IPython-dev
mailing list