[Python-bugs-list] [Bug #126264] ref/ref3.tex: Remove claim about eval(repr(obj))
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 18 Dec 2000 19:19:31 -0800
Bug #126264, was updated on 2000-Dec-18 19:16
Here is a current snapshot of the bug.
Project: Python
Category: Documentation
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: akuchling
Assigned to : gvanrossum
Summary: ref/ref3.tex: Remove claim about eval(repr(obj))
Details: The description of __repr__ in section 3 of the Language Ref
says " This should normally look like a
valid Python expression that can be used to recreate an object with
the same value." This isn't true, isn't a good idea,
and often isn't possible anyway. Rewrite this to emphasize
that repr() is usually for debugging.
Follow-Ups:
Date: 2000-Dec-18 19:19
By: akuchling
Comment:
Assigning to GvR, since I assume the LangRef is his responsibility.
I can rewrite the text if the change's intent is approved.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=126264&group_id=5470