forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Doc: Add remote debugging attachment protocol documentation #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
ivonastojanovic
wants to merge
275
commits into
pablogsal:main
from
ivonastojanovic:doc-remote-debugger-attachment
Closed
Doc: Add remote debugging attachment protocol documentation #99
ivonastojanovic
wants to merge
275
commits into
pablogsal:main
from
ivonastojanovic:doc-remote-debugger-attachment
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This should have been done as part of 053c285 but got blown away in a merge.
…ythonGH-131948) * Parse down to statement level in the cases generator * Add handling for #if macros, treating them much like normal ifs.
…n#132020) Add 'function' parameter to check_sanitizer() of test.support.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Ivona Stojanovic <stojanovic.i@hotmail.com> Co-authored-by: Matt Wozniski <godlygeek@gmail.com>
…ython#128930) It doesn't make sense to use a deprecation for evaluate_forward_ref, as it is a new function in Python 3.14 and doesn't have compatibility guarantees. I considered making it throw an error if type_params it not passed and there is no owner. However, I think this is too unfriendly for users. The case where this param is really needed is fairly esoteric and I don't think this case is worth the pain of forcing users to write "type_params=()".
…obust (python#132039) Should work also if the version string includes a commit hash, like `perf version 6.12.9.g242e6068fd5c`
… default) (python#131844) https://github.com/WebAssembly/wasi-libc/blob/e9524a0980b9bb6bb92e87a41ed1055bdda5bb86/libc-top-half/musl/src/internal/pthread_impl.h#L220 Signed-off-by: Filipe Laíns <lains@riseup.net>
…al.h (pythongh-131289) Use `_AddressOfReturnAddress` in `_Py_get_machine_stack_pointer` to silence MSVC warning in pycore_ceval.h for release builds.
A bunch of other warnings in typing.py were already deferred, but I added a few non-lazy ones.
…ed by `gettext` (python#131909)
…ue` and `interpolation` set (pythonGH-130949)
Co-authored-by: Diego Russo <diego.russo@arm.com>
…2571) I started with just moving ForwardRefTests to test_annotationlib, but found that it contained a number of tests for no_type_check, which I moved to a new class in test_typing, as well as a number of tests that are more appropriately classified as tests for get_type_hints(). One test, test_forward_equality_namespace(), was somewhat accidentally depending on a global class A in test_typing. I added a class A in the annotationlib tests instead. Also add a useful comment in annotationlib.
…132594) * Don't call close() if the file descriptor is negative. * If close() fails, chain the existing exception.
…k` (python#132534) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
…H-130251) Previously it was only called in binary pow() and the binary power operator.
… `_BUILD_LIST`, `_BUILD_SLICE`, and `_BUILD_MAP` (pythonGH-132434) --------- Signed-off-by: Manjusaka <me@manjusaka.me>
- Explicitly say that isinstance/issubclass do not work on non-runtime checkable protocols. - Move the sentence "This raises TypeError when applied to a non-protocol class". It took me quite some time to decide what "this" was here: it refers to applying the decorator, not to an isinstance() call. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
…2611) When the `showwarning()` function is replaced, make sure to restore it after the test finishes. Add a timeout for `Barrier()` so we don't hang for a long time if something goes wrong.
…lazy (python#132614) This ensures that if we jump through some hoops to make sure something is imported lazily, we don't regress on importing it. I recently already accidentally made typing import warnings and annotationlib eagerly. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…path (python#130071) Fixed an assertion error (so, it could be reproduced only in builds with assertions enabled) for `exec` when the `source` argument is a string and the `closure` argument is not `None`. Co-authored-by: sobolevn <mail@sobolevn.me>
…od (python#132586) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Add a developer-facing document describing the protocol used by remote_exec(pid, script) to execute Python code in a running process. This is intended to guide debugger and tool authors in reimplementing the protocol.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a developer-facing document describing the protocol used by :func:
remote_exec(pid, script)to execute Python code in a running process. This is intended to guide debugger and tool authors in reimplementing the protocol.📚 Documentation preview 📚: https://cpython-previews--99.org.readthedocs.build/