Message364047
Mark: Would you mind to open a separated issue for your following idea?
> I propose a new method on code objects `withCallAtLine(callable: Callable[], line:int)` which returns a new code object with calls to the given callable at the given line.
> A breakpoint can then be inserted at line L in function f with `f.__code__ = f.__code__.withCallAtLine(sys.breakpoint, L)`.
I prefer to restrict this issue to the PEP 523. |
|
Date |
User |
Action |
Args |
2020-03-12 20:51:03 | vstinner | set | recipients:
+ vstinner, brett.cannon, gregory.p.smith, fabioz, phsilva, dino.viehland, lukasz.langa, Mark.Shannon, eric.snow |
2020-03-12 20:51:03 | vstinner | set | messageid: <1584046263.38.0.633513835175.issue38500@roundup.psfhosted.org> |
2020-03-12 20:51:03 | vstinner | link | issue38500 messages |
2020-03-12 20:51:03 | vstinner | create | |
|