[Guido] > Sounds like a hallucination or fabrication. Nope! Turns out my memory was right :-)
> The behavior of `for i in range(10): i` in the REPL exists > to this day, and list.append() never returned a value. Sure, but those weren't the claims. The claim was that the result of an expression statement was automatically printed unless it was None. `for i in range(10): i` _used_ to print 10 values _even when run from a program_ instead of from a shell. I wasn't clear about that distinction before. >From Misc/HISTORY: """ ==> Release 1.0.2 (4 May 1994) <== ... * The result of a statement-level expression is no longer printed, except_ for expressions entered interactively. Consequently, the -k command line option is gone. """ Going back more: """ ==> Release 0.9.9 (29 Jul 1993) <== ... * New option -k raises an exception when an expression statement yields a value other than None. """ Now I even recall the name of the early method-chaining user whose complaints triggered those changes - but will let the past rest in peace ;-) > The only thing I'm only 90% sure of is whether the REPL always ignored None > values. I'm sure of that: it never showed None values. Because, if it had, I would have remembered bitching about the endless annoyance ;-) _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/SHAYU47H5OKPRD7JNFEHHCGFN3UMHKQY/ Code of Conduct: http://python.org/psf/codeofconduct/