[Python-ideas] Have REPL print less by default
Random832
random832 at fastmail.com
Wed Apr 20 14:15:39 EDT 2016
On Wed, Apr 20, 2016, at 13:57, Koos Zevenhoven wrote:
> On Wed, Apr 20, 2016 at 8:46 PM, Terry Reedy <tjreedy at udel.edu> wrote:
> > On 4/20/2016 6:39 AM, Koos Zevenhoven wrote:
> >> def fun():
> >> fun()
> >>
> >> fun()
> >>
> >> Does that.
> >
> >
> > The above produces pairs of lines, so I do not understand your point.
> >
>
> Strange. for me it produces a repeating single line. Tried both on
> 2.7.6. and 3.5.1. Probably not worth discussing, though.
It produces single lines in the interactive interpreter, pairs in a
file.
Any real implementation should do a comparison at the traceback data
level, though, rather than the string.
More information about the Python-ideas
mailing list