[Boost-bugs] [ boost-Patches-1547148 ] Add operator for __repr__ similar to __str__

Patches item #1547148, was opened at 2006-08-26 08:02 Message generated for change (Settings changed) made by david_abrahams You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1547148&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Group: None
Status: Deleted Resolution: Accepted Priority: 5 Submitted By: Chromosom (chromosom) Assigned to: David Abrahams (david_abrahams) Summary: Add operator for __repr__ similar to __str__
Initial Comment: Useful in interactive mode. I use it together with the str operator class_ < ... > () ... .def(self_ns::str(self)) .def(self_ns::repr(self)) ; ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2006-09-16 13:45 Message: Logged In: YES user_id=52572 Accepted into CVS HEAD. FYI, it's redundant to define both __repr__ and __str__, since __str__ defaults to calling __repr__. Thanks very much; please contribute the accompanying documentation patch next time :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1547148&group_id=7586 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net