This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, belopolsky, benjamin.peterson, bmiller, loewis, rhettinger
Date 2008-04-17.21:26:48
SpamBayes Score 0.57023
Marked as misclassified No
Message-id <1208467609.85.0.97265388481.issue2610@psf.upfronthosting.co.za>
In-reply-to
Content
Some review of dv_range.patch:

- repr(d.keys()) depends on the internal ordering of items, their hash
values, the insertion order... the test seems fragile.
Or you may rely on the fact that ints are their own hash values, so a
small dict containing small keys will appear ordered. I suggest
something like {6: 1.2, 1: 'A', 7: 42, 4: None}

- empty dicts or empty ranges will display:
   <range: >
   <dict_items: >
Isn't there a better repr? At least this should appear in the tests.
History
Date User Action Args
2008-04-17 21:26:50amaury.forgeotdarcsetspambayes_score: 0.57023 -> 0.57023
recipients: + amaury.forgeotdarc, loewis, rhettinger, belopolsky, benjamin.peterson, bmiller
2008-04-17 21:26:49amaury.forgeotdarcsetspambayes_score: 0.57023 -> 0.57023
messageid: <1208467609.85.0.97265388481.issue2610@psf.upfronthosting.co.za>
2008-04-17 21:26:49amaury.forgeotdarclinkissue2610 messages
2008-04-17 21:26:48amaury.forgeotdarccreate