Tim Peters wrote:
Note: sometimes _internals_ use deprecated gimmicks in order to
support deprecated gimmicks too, and then stacklevel=3 is too small.
It's happened so rarely in ZODB that I haven't tried to "do something"
about that yet.
Interestingly, I've found that even this is sometimes not enough, since
you don't know whether you want the caller, the caller's caller or
further up the chain than that.
Is there any way to get the warnings stuff to actually emit a traceback
so it can be followed?
Simplistix - Content Management, Zope & Python Consulting
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -