[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:16:05 -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 : nobody
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.



For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=126264&group_id=5470