◐ Shell
clean mode source ↗

gh-133351: Fix remote PDB's multi-line block tab completion by godlygeek · Pull Request #133387 · python/cpython

@godlygeek

@godlygeek godlygeek commented

May 4, 2025

edited by bedevere-app Bot

Loading

Provide extra context to the server so that it knows that we're
requesting completions for a Python expression, rather than for PDB
commands.

StanFromIreland

Comment on lines +535 to +537

"""Test requesting tab completions at a (Pdb) continuation prompt."""
# GIVEN
incoming = [

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"""Test requesting tab completions at a (Pdb) continuation prompt."""
# GIVEN
incoming = [
"""Test requesting tab completions at a (Pdb) continuation prompt."""
incoming = [

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of agree that #GIVEN is unnecessary here. However, that's consistent with other tests and it's not super important at this point. I do think in the future we should have a cleanup PR to clean these out. It's kind of redundent at this point.

gaogaotiantian

diegorusso added a commit to diegorusso/cpython that referenced this pull request

May 4, 2025

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request

Jul 12, 2025