Bug 769620 - ipython crashing on syntax error
Summary: ipython crashing on syntax error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipython
Version: 16
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-21 13:51 UTC by Richard Marko
Modified: 2016-02-01 02:22 UTC (History)
4 users (show)

Fixed In Version: ipython-0.12-2.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-28 03:32:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
backtrace (12.14 KB, text/plain)
2011-12-21 13:52 UTC, Richard Marko
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.