[ python-Bugs-868845 ] Need unit tests for <...> reprs

SourceForge.net noreply at sourceforge.net
Mon Sep 27 11:58:01 CEST 2004


Bugs item #868845, was opened at 2004-01-02 02:28
Message generated for change (Comment added) made by ncoghlan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=868845&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Nobody/Anonymous (nobody)
Summary: Need unit tests for <...> reprs

Initial Comment:
Samuele Pedroni points out in python-dev that the <...>
style reprs of Python objects are not documented,
standardized or even consistent (e.g. compare old-style
and new-style classes).

Yet there is plenty of code out there that for various
reasons parses these things or a least depends on what
they look like (the parrot benchmark being only the
latest example).

So it would behoove us to standardize these. An easy
way would be unit tests. Any takers?

----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2004-09-27 19:58

Message:
Logged In: YES 
user_id=1038590

Sure. I've been looking for something to do after giving up
on finding any more Python-level speed increases for Decimal :)

Patch forthcoming in the next few days.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=868845&group_id=5470


More information about the Python-bugs-list mailing list