On Wed, 20 Jan 2021 at 19:22, Victor Stinner wrote:
>
> Reply to an old thread.
>
> On Sat, Oct 31, 2020 at 8:02 AM Nick Coghlan wrote:
> > > Debuggers and profilers usually only care of specific frames or
> > > function calls (ex: 10% of function calls or even a single function
> > > call in a w
Reply to an old thread.
On Sat, Oct 31, 2020 at 8:02 AM Nick Coghlan wrote:
> > Debuggers and profilers usually only care of specific frames or
> > function calls (ex: 10% of function calls or even a single function
> > call in a whole application). The problem is how to make them as
> > efficien
On Fri, 30 Oct 2020 at 23:34, Victor Stinner wrote:
>
> Le ven. 30 oct. 2020 à 11:02, Nick Coghlan a écrit :
> > > Ok, I've created https://bugs.python.org/issue42197 to track it.
> >
> > Please also have a look at PEP 558 and its draft reference
> > implementation at https://github.com/python/cp
Le ven. 30 oct. 2020 à 11:02, Nick Coghlan a écrit :
> > Ok, I've created https://bugs.python.org/issue42197 to track it.
>
> Please also have a look at PEP 558 and its draft reference
> implementation at https://github.com/python/cpython/pull/3640
I don't think that the PEP 558 and bpo-42197 are
On Fri, 30 Oct 2020 at 20:52, Fabio Zadrozny wrote:
> On Fri, Oct 30, 2020 at 7:02 AM Nick Coghlan wrote:
> As a note, the current implementation does allow debuggers to mutate frame
> locals -- as long as they understand that they need to call `
> PyFrame_LocalsToFast ` when doing such a chang
On Fri, Oct 30, 2020 at 7:02 AM Nick Coghlan wrote:
> On Fri, 30 Oct 2020 at 00:19, Fabio Zadrozny wrote:
> > On Thu, Oct 29, 2020 at 9:45 AM Victor Stinner
> wrote:
> >>
> >> > If it's non controversial, is a PEP needed or just an issue to track
> it would be enough to remove those 2 lines?
>
On Fri, 30 Oct 2020 at 00:19, Fabio Zadrozny wrote:
> On Thu, Oct 29, 2020 at 9:45 AM Victor Stinner wrote:
>>
>> > If it's non controversial, is a PEP needed or just an issue to track it
>> > would be enough to remove those 2 lines?
>>
>> Incompatible changes should be well documented in What's
On Thu, Oct 29, 2020 at 9:45 AM Victor Stinner wrote:
> Le jeu. 29 oct. 2020 à 13:02, Fabio Zadrozny a écrit :
> > Debuggers can call `PyFrame_LocalsToFast` when needed -- otherwise
> mutating non-current frames doesn't work anyways. As a note, pydevd already
> has such a call:
> https://github
Le jeu. 29 oct. 2020 à 13:02, Fabio Zadrozny a écrit :
> Debuggers can call `PyFrame_LocalsToFast` when needed -- otherwise mutating
> non-current frames doesn't work anyways. As a note, pydevd already has such a
> call:
> https://github.com/fabioz/PyDev.Debugger/blob/0d4d210f01a1c0a8647178b2e