Message364047
| Author |
vstinner |
| Recipients |
Mark.Shannon, brett.cannon, dino.viehland, eric.snow, fabioz, gregory.p.smith, lukasz.langa, phsilva, vstinner |
| Date |
2020年03月12日.20:51:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1584046263.38.0.633513835175.issue38500@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|