I think zope.exceptions does not need to change. It expects to get a Frame object from the passed-in Traceback object, and that is guaranteed to have f_locals by the python language spec. If somebody chooses to substitute their own implementation, it is their responsibility to provide *all* relevant attributes of the thing they are substituting.
I think zope.exceptions does not need to change. It expects to get a Frame object from the passed-in Traceback object, and that is guaranteed to have f_locals by the python language spec. If somebody chooses to substitute their own implementation, it is their responsibility to provide *all* relevant attributes of the thing they are substituting.