isaac morland mhqwnlzzcsuwaterlooca wed 16 apr 2008 david wolever wrote 16apr08 937 isaac morland wrote wed 16 apr 2008 paul moore wrote 16042008 armin rigo wrote less confusing readily generalizable would also helpful imho use kind repr builtin iterators iterables instead mostyuseless default repr quite like nonbeginner ill freely admit intuitions suspect like iterators though would always show next couple elements values contained iterator change iterator iterates alternatively representation could frozen reflect values originally pending iterator representation wouldnt show anything current state iterator would mean something like __main__foo instance 0x83620 maybe __main__foo instance 0x83620 agree theory im sure like looks practise mostly responding saw suggestion change representation existing iterators pointed previous reply message obtaining values general iterator use representation problematic best general dont think done acceptable fashion imagine code depending values obtained iterator explicitly requested next wouldnt want call __repr__ change operation iterator idea pull two values store somewhere isnt generally acceptable specific iterators access underlying information informative representation possible frequently feasible question simply concerned would look like would show next couple items first couple items something else isaac morland cscf web guru dc 2554c x36650 www software specialist _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 125431 0400 pythondev string representation range 30