Bug 769620

Summary: ipython crashing on syntax error
Product: [Fedora] Fedora Reporter: Richard Marko <rmarko>
Component: ipythonAssignee: Thomas Spura <tomspur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 16CC: jberan, mrunge, shahms, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ipython-0.12-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-28 03:32:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backtrace none

Description Richard Marko 2011-12-21 13:51:36 UTC
Description of problem:
g((yield)) crashes ipython

Version-Release number of selected component (if applicable):
ipython-0.11-3.fc16.noarch

How reproducible:
Always

Steps to Reproduce:
1. run ipython
2. >>> g((yield))
  
Actual results:
ipython crash

Expected results:
handled exception

Additional info:
trace attached

Comment 1 Richard Marko 2011-12-21 13:52:33 UTC
Created attachment 549028 [details]
backtrace

Comment 2 Thomas Spura 2011-12-21 14:37:55 UTC
Thanks for the bug report.

I can't reproduce this with ipython 0.12 (which will come soon as an update...):

$ ipython 
Python 2.7.2 (default, Oct 27 2011, 01:40:22) 
Type "copyright", "credits" or "license" for more information.

IPython 0.12 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: g((yield))
  File "<ipython-input-1-f763b06d4c78>", line 1
SyntaxError: 'yield' outside function (<ipython-input-1-f763b06d4c78>, line 1)

Comment 3 Fedora Update System 2011-12-23 13:42:43 UTC
ipython-0.12-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ipython-0.12-1.fc16

Comment 4 Fedora Update System 2011-12-23 22:21:48 UTC
Package ipython-0.12-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ipython-0.12-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17413/ipython-0.12-1.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-01-11 06:13:50 UTC
Package ipython-0.12-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ipython-0.12-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17413/ipython-0.12-2.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-01-28 03:32:31 UTC
ipython-0.12-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.