GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Reorder some fields to facilitate out-of-process inspection · Issue #106140 · python/cpython Closed DescriptionSome of the relevant fields in the interpreter state and the frame state in 3.12 are very challenging to fetch from out of process tools because they are in offsets that depend on compilation or platform variables that are different in different platforms. Not only that but they require the tools to copy a huge amount of intermediate structures making the whole thing very verbose. As an example, this is the list of stuff that needs to be copied so out-of-process debuggers can fetch the interpreters, runtime state and thread list: https://gist.github.com/godlygeek/271951b20bb4c3783c2dd7c80908b116 With a simple reordering, that would shrink this to https://gist.github.com/godlygeek/341ce879a638c0fece9d0081d63e5ad9 For the interpreter state is also quite bad. Here is the things that need to be copied: https://gist.github.com/godlygeek/2468ff3d0f648a1aca7a8305bad7f825 Not only that, but this depends on the compile-time value of all of this: If the user changes any of these (like We can easily reorder these two structures because they are not in the hot path of anything (unlike frames and code objects). Linked PRs
Reacted by Gabriele N. Tornetta Activity
MetadataMetadataAssigneesLabelsNo labels ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |