[issue46892] Async Call-Stack Reconstruction

2022-03-11 Thread Matt Page
Matt Page added the comment: Sorry for the confusion, I'm working on a PR. I filed the BPO to gauge interest in the feature. -- ___ Python tracker <https://bugs.python.org/is

[issue46895] Allow extensions to set a callback to be invoked when a type is modified

2022-03-01 Thread Matt Page
Change by Matt Page : -- versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue46895> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46898] Add API to allow extensions to set callback function on creation and destruction of PyCodeObject

2022-03-01 Thread Matt Page
New submission from Matt Page : CPython extensions providing optimized execution of Python bytecode (e.g. the Cinder JIT) may need to hook into the lifecycle of code objects to determine what to optimize or to free resources allocated for code objects that no longer exist. We propose adding

[issue46897] Add API to allow extensions to set callback function on creation, modification, and destruction of PyFunctionObject

2022-03-01 Thread Matt Page
New submission from Matt Page : CPython extensions providing optimized execution of Python bytecode (e.g. the Cinder JIT) may need to hook into the lifecycle of function objects to determine what to optimize, invalidate previously-optimized functions, or free resources allocated for

[issue46895] Allow extensions to set a callback to be invoked when a type is modified

2022-03-01 Thread Matt Page
Change by Matt Page : -- title: Type-Modified Callbacks -> Allow extensions to set a callback to be invoked when a type is modified ___ Python tracker <https://bugs.python.org/issu

[issue46895] Type-Modified Callbacks

2022-03-01 Thread Matt Page
New submission from Matt Page : CPython extensions providing optimized execution of Python bytecode (e.g. the Cinder JIT), or even CPython itself (e.g. the faster-cpython project) may wish to cache access to lookups in the class hierarchy (e.g. when resolving the target of a method call

[issue46892] Async Call-Stack Reconstruction

2022-03-01 Thread Matt Page
New submission from Matt Page : Profiling tools that use the call-stack (i.e. all of them) paint an incomplete picture of what’s really going on in async-heavy codebases. They can only show the stack of the currently executing task; they miss the chain of awaitables that are transitively