Message397699
Another issue: exit() and quit() work unconditionally when called, regardless of the context: "a = (3, exit(), 'abc')". The abbreviated versions will not.
An alternative change is to revise the representation. Perhaps tell the truth first by giving the standard representation -- <class '_sitebuiltins.Quitter'> -- so that people might recognize that they are just seeing a printed string. Then add on the next line, "If you want to exit, enter 'exit' ...". |
|
Date |
User |
Action |
Args |
2021-07-17 04:59:21 | terry.reedy | set | recipients:
+ terry.reedy, gregory.p.smith, mark.dickinson, eric.araujo, steven.daprano, veky, p-ganssle, pablogsal, asmeurer, FFY00, theacodes, jack__d, tlalexander |
2021-07-17 04:59:21 | terry.reedy | set | messageid: <1626497961.64.0.934643675516.issue44603@roundup.psfhosted.org> |
2021-07-17 04:59:21 | terry.reedy | link | issue44603 messages |
2021-07-17 04:59:21 | terry.reedy | create | |
|