Ticket #87 (closed enhancement: fixed)
__str__ or __repr__-like feature
| Reported by: | jorgenpt | Owned by: | mooneer |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | interpreter | Version: | 1.0.1 |
| Keywords: | Cc: |
Description
Kite should have a default stringification method that produces a string that (if possible) gives the information needed to recreate an identical object. Something similar to python's repr (repr() method and %r format calls repr on the object to get the representation, and a default one that merely displays something like memory address and class name).
This would be very useful, especially if it was embedded in ikt, so that each expressions value was displayed using this method (so one's able to inspect the variables and return values one has).
Change History
Note: See
TracTickets for help on using
tickets.
