Skip to content
Commit 8eb2bda3 authored by Matthias Diener's avatar Matthias Diener Committed by Andreas Klöckner
Browse files

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: default avatarAndreas Kloeckner <inform@tiker.net>
parent c5ee9583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment