##// END OF EJS Templates
Fix `up` through generators in postmortem debugger...
Fix `up` through generators in postmortem debugger By passing the lowest traceback element into the debugger, we require it to use frame.f_back to find older frames. However, f_back is always None for generator frames. By providing a higher-up traceback element, pdb can traverse down the traceback.tb_next links, which do work correctly across generator calls. Furthermore, pdb will not do the right thing if it is provided with a frame/traceback pair that do not correspond to each other - it will duplicate parts of the callstack. Instead, we provide None as a frame, which will cause the debugger to start at the deepest frame, which is the desired behavior here.

File last commit:

r24269:21325702
r24590:67eed532
Show More
COPYING.rst
41 lines | 1.6 KiB | text/x-rst | RstLexer

The IPython licensing terms

IPython is licensed under the terms of the Modified BSD License (also known as New or Revised or 3-Clause BSD). See the LICENSE file.

About the IPython Development Team

Fernando Perez began IPython in 2001 based on code from Janko Hauser <jhauser@zscout.de> and Nathaniel Gray <n8gray@caltech.edu>. Fernando is still the project lead.

The IPython Development Team is the set of all contributors to the IPython project. This includes all of the IPython subprojects.

The core team that coordinates development on GitHub can be found here: https://github.com/ipython/.