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
           - http://www.simplistix.co.uk

Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to