On Sat, Dec 19, 2020 at 7:43 PM Steven D'Aprano <st...@pearwood.info> wrote:
> Thread is here: > > > https://mail.python.org/archives/list/python-ideas@python.org/message/EWQ2BOL3WVZAU2V2MT3HLXN3AEBHANNZ/ > > > I don't think this needs to be a literal built-in, part of the > interpreter. I think it could be a library function which is added to > builtins on startup, like `help` and `quit`. > That sounds like a very special status. Why not os.clear()? I do agree with the motivation for doing this. (I've started doing more exploratory programming and I've felt this need clearly a few times.) I can't comment on the exact semantics or implementation (though I'd prefer it if it didn't have to run a subprocess). IDLE should probably monkey-patch this so it does something reasonable in its shell window. -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ 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/7GSOBZSOK57GMT43UQ5TBTAANIKROCLF/ Code of Conduct: http://python.org/psf/codeofconduct/