Taylor Alexander added the comment:
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
Taylor Alexander added the comment:
Makes sense. Thanks for taking a look.
--
___
Python tracker
<https://bugs.python.org/issue44603>
___
___
Python-bugs-list m
Taylor Alexander added the comment:
Am I correct in thinking that the proposed change only affects the use case
where a user types exit in to the REPL and hits return? And that any other case
is unaffected?
I can only imagine that the majority of users who type exit in to the
interpreter