Title: completion for remote pdb is not ideal · Issue #133351 · python/cpython · GitHub
Open Graph Title: completion for remote pdb is not ideal · Issue #133351 · python/cpython
X Title: completion for remote pdb is not ideal · Issue #133351 · python/cpython
Description: Bug report Bug description: Due to various reasons, remote pdb client does not sync with the server entirely. For example, for multi-line inputs, it will read the full content on the client then send it to the server. However, this intro...
Open Graph Description: Bug report Bug description: Due to various reasons, remote pdb client does not sync with the server entirely. For example, for multi-line inputs, it will read the full content on the client then se...
X Description: Bug report Bug description: Due to various reasons, remote pdb client does not sync with the server entirely. For example, for multi-line inputs, it will read the full content on the client then se...
Opengraph URL: https://github.com/python/cpython/issues/133351
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"completion for remote pdb is not ideal","articleBody":"# Bug report\n\n### Bug description:\n\nDue to various reasons, remote pdb client does not sync with the server entirely. For example, for multi-line inputs, it will read the full content on the client then send it to the server.\n\nHowever, this introduced the issue for completion - the server doesn't know it. When user requests a completion for the multi-line code, server pdb doesn't know what completion should be provided (more specifically, whether pdb commands should be provided).\n\nThe simplest way to deal with it is to add an extra field `\"mode\"` in completion protocol - unless we sync the client and server perfectly, we will need it because the server knows nothing about the client.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-133362\n* gh-133387\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/gaogaotiantian","@type":"Person","name":"gaogaotiantian"},"datePublished":"2025-05-03T16:38:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/133351/cpython/issues/133351"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:98052a37-3ce6-849b-0210-2b66c449bf74 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82CA:1A500C:2078F2C:2A73E01:696B472B |
| html-safe-nonce | 9d963df74177cbdcb8d5fcbc3ba3b24722eb6a1a8023a20be80ece5bb33db1ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkNBOjFBNTAwQzoyMDc4RjJDOjJBNzNFMDE6Njk2QjQ3MkIiLCJ2aXNpdG9yX2lkIjoiODI1NDQzNTAxMDE0Nzk5MzM4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 25238ce81e207256b847b843cd5fe400a8a9f190a4a3578a1d1f57ad2f49e0ac |
| hovercard-subject-tag | issue:3037500015 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/133351/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4b70cadca604de9cdcc4b9de15fbc8c53ac0b5520cfe6e1da4e91655dae90f5/python/cpython/issues/133351 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4b70cadca604de9cdcc4b9de15fbc8c53ac0b5520cfe6e1da4e91655dae90f5/python/cpython/issues/133351 |
| og:image:alt | Bug report Bug description: Due to various reasons, remote pdb client does not sync with the server entirely. For example, for multi-line inputs, it will read the full content on the client then se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gaogaotiantian |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width