Unresolved global __IPYTHON__ reference in kernel/core/ultraTB.py

Bug #362137 reported by Brian Granger
2
Affects Status Importance Assigned to Milestone
IPython
Fix Released
Critical
Fernando Perez
0.10
Fix Released
Critical
Fernando Perez

Bug Description

In r1159, changes to IPython/kernel/core/ultraTB.py caused massive test failures and errors. Unfortunately, iptest does not show these failures/errors. But, they can be seen clearly when the test suite is run using trial. The problem is that in this copy of ultraTB, there are references (as of r1159) to a global __IPYTHON__ variable that doen't exist.

Related branches

Changed in ipython:
assignee: nobody → ellisonbg
importance: Undecided → Critical
milestone: none → 0.10
status: New → Triaged
Revision history for this message
Fernando Perez (fdo.perez) wrote :

Fix committed in my -dev branch, which I'm putting up for review now.

Changed in ipython:
assignee: Brian Granger (ellisonbg) → Fernando Perez (fdo.perez)
status: Triaged → Fix Committed
Revision history for this message
Fernando Perez (fdo.perez) wrote :

Argh, this stupid interface makes you change the info for everything the bug affects... It's like the bug is actually multiplied...

In any case, fix committed in my branch.

Revision history for this message
Brian Granger (ellisonbg) wrote :

I have removed IPython/kernel/core/ultraTB.py. All reference use IPython.core.ultratb now. I have also protected the calls to ipapi.get() to check for None. This happens when the test suite is run using trial.

Changed in ipython:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.