PythonFunctionGenerator: make compatible with linecache
use linecache directly only adjust filename if line_profiler loaded improve args fix maintain compatibility with pudb broaden line_profiler usage check more type annotations pyright ignores rename generated functions to avoid linecache warnings remove special pudb handling make sure names are unique fix bpr expand to support PythonCodeGenerator, refactor fixes remove special line_profiler handling Relevant PR (https://github.com/pyutils/line_profiler/pull/341 ) has been merged Rework for linecache compatibility, improve tests Co-authored-by:Andreas Kloeckner <inform@tiker.net>
Loading
Please sign in to comment