terry reedy twhvuyludeledu greg ewing wrote message news47fad0028080306canterburyacnz terry reedy wrote printtype3 int instead feeling time im likely deliberately printing class debugging want unambiguity unfortunately text printed object could value string object str ambiguity rife 1 b 1 printab 1 1 want unabmiguity debugging repr better since strings strings surrounded quotes printreprareprb 1 1 guido suggested possibility morefriendly abbreviation str repr one calls typex one knows answer class boilerplate template often redundant unnecessary consider current printexpected typea got typeb expected got future expected got would like option getting normal looking text like expected str got int without parse away added boilerplate wanted class output might prefer put strings get expected class str got class int without brackets print option convert repr instead str terry jan reedy _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom thu 07 aug 2008 061703 0400 python3000 types classes