Lib.test.bugs.pr171.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-installer Show documentation
Show all versions of jython-installer Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
# PR#171. pdb's "c" command fails. The underlying problem is that frame
# objects didn't have a writeable f_trace attribute.
import sys
try: 1/0
except: frame = sys.exc_info()[2].tb_frame
del frame.f_trace