[issue27241] Catch exceptions raised in pstats add (repl)

2016-08-02 Thread Stefan Krah

Changes by Stefan Krah :


--
assignee:  -> skrah
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue27241] Catch exceptions raised in pstats add (repl)

2016-08-02 Thread Stefan Krah

Stefan Krah added the comment:

Yes, I agree this is nicer. Thanks for the patch.

--
nosy: +skrah

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27241] Catch exceptions raised in pstats add (repl)

2016-08-02 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d9e25fe35f46 by Stefan Krah in branch '3.5':
Issue #27241: Catch exception when running pstats as main.
https://hg.python.org/cpython/rev/d9e25fe35f46

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27241] Catch exceptions raised in pstats add (repl)

2016-08-02 Thread Joe Jevnik

Joe Jevnik added the comment:

bump

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27241] Catch exceptions raised in pstats add (repl)

2016-06-06 Thread SilentGhost

Changes by SilentGhost :


--
nosy: +georg.brandl
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27241] Catch exceptions raised in pstats add (repl)

2016-06-06 Thread Joe Jevnik

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: ll
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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com