https://issues.dlang.org/show_bug.cgi?id=3821
--- Comment #10 from berni44 <[email protected]> --- (In reply to Steven Schveighoffer from comment #9) > (In reply to bearophile_hugs from comment #0) > > In Python the print is able to detect loops: > > Python is a managed language, and has the possibility of doing whatever it > wants to the data types (i.e. it might be able to reserve a bit of data on > each object for this purpose), D cannot do this. IMHO it would be possible with D too (just instead of the reserve bit on each object an additional list of allready printed items), but purity is blocking this. --
