Author tlalexander
Recipients FFY00, pablogsal, theacodes, tlalexander, veky
Date 2021-07-12.09:52:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hello all. Curious issue. Thanks Stargirl for opening it.

Would it be possible for the __repr__ function to examine the calling commands and determine if the origin is the special case where exit is typed in the REPL? Then only when Quitter repr is called would the special case be checked. I’m not too familiar with Python internals but I know for example when an exception occurs a stack trace would include information like that. Probably performance of Quitter repr isn’t critical we just don’t want it to have the wrong behavior. But if there’s any way to determine in that call if we’re in this one special case it seems it would be safe to exit.
Date User Action Args
2021-07-12 09:52:07tlalexandersetrecipients: + tlalexander, veky, pablogsal, FFY00, theacodes
2021-07-12 09:52:07tlalexandersetmessageid: <>
2021-07-12 09:52:07tlalexanderlinkissue44603 messages
2021-07-12 09:52:06tlalexandercreate