On Sun, Apr 08, 2007 at 12:16:00PM +0800, Russell Keith-Magee wrote:
> On 4/7/07, Forest Bond <[EMAIL PROTECTED]> wrote:
>
> > Attached is a patch that re-implements __repr__ using an iterator over the
> > object. Thus, SortedDict's are displayed properly in the Python shell.
>
> Hi Forest,
>
>
On 4/7/07, Forest Bond <[EMAIL PROTECTED]> wrote:
> Attached is a patch that re-implements __repr__ using an iterator over the
> object. Thus, SortedDict's are displayed properly in the Python shell.
Hi Forest,
The best way to make sure this isn't forgotten is to get it into the
ticket system
Hi,
This is more-or-less a problem with Python's dict implementation, IMO. It's
really nothing more than a convenience thing, but for SortedDict, repr(d)
doesn't indicate the proper key order. It seems that the standard dict.repr
does not iterate over the dict like I would expect it to.
Attache