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

SourceForge.net noreply at sourceforge.net
Thu Jan 1 11:28:37 EST 2004


Bugs item #868845, was opened at 2004-01-01 11:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
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?

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

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