New submission from Joe Jevnik: I was trying to add a file and accidently mistyped the name which crashed the repl session. I think it would be nicer to report the failure but bring me back to the prompt so I can decide what I would like to do.
This patch catches any IOErrors that can be raised when adding a file in the repl, reports it to the user, and then returns them to the repl. ---------- components: Demos and Tools files: catch-pstats-add.patch keywords: patch messages: 267542 nosy: llllllllll priority: normal severity: normal status: open title: Catch exceptions raised in pstats add (repl) type: enhancement versions: Python 3.6 Added file: http://bugs.python.org/file43262/catch-pstats-add.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27241> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com