Author pablogsal
Recipients FFY00, p-ganssle, pablogsal, steven.daprano, theacodes, tlalexander, veky
Date 2021-07-12.14:19:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
One thing we *could* do which is not super invasive, is to match a single AST node of type NAME at the end of Python run. This seems to work but is a bit inelegant:

>>> print(exit)
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> [exit]
[Use exit() or Ctrl-D (i.e. EOF) to exit]
>>> exit

I have opened a draft with this in PR27096
Date User Action Args
2021-07-12 14:19:58pablogsalsetrecipients: + pablogsal, steven.daprano, veky, p-ganssle, FFY00, theacodes, tlalexander
2021-07-12 14:19:58pablogsalsetmessageid: <>
2021-07-12 14:19:58pablogsallinkissue44603 messages
2021-07-12 14:19:58pablogsalcreate