Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-121468: Support async breakpoint in pdb#132576

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes from1 commit
Commits
Show all changes
13 commits
Select commitHold shift + click to select a range
1b77cdb
Add set_trace_async for async support
gaogaotiantianApr 13, 2025
285efe2
Merge branch 'main' into support-async-breakpoint
gaogaotiantianApr 16, 2025
677c952
Update docs
gaogaotiantianApr 16, 2025
15290d5
📜🤖 Added by blurb_it.
blurb-it[bot]Apr 16, 2025
a3401e9
reorder the if checks
gaogaotiantianApr 16, 2025
50c3c9c
Add breakpoint tests
gaogaotiantianApr 16, 2025
a6c580d
Merge branch 'main' into support-async-breakpoint
gaogaotiantianApr 16, 2025
090715b
Update test
gaogaotiantianApr 16, 2025
ebdc161
Add whatsnew entry
gaogaotiantianApr 16, 2025
109d8b1
Restructure default function
gaogaotiantianApr 22, 2025
e953532
Add context var tests
gaogaotiantianApr 22, 2025
968472d
Merge branch 'main' into support-async-breakpoint
gaogaotiantianApr 25, 2025
ff09ab2
Add an extra check for get_var()
gaogaotiantianApr 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
Add an extra check for get_var()
  • Loading branch information
@gaogaotiantian
gaogaotiantian committedApr 25, 2025
commitff09ab25edf086912c9fbe603e536cacbd3ba448
5 changes: 5 additions & 0 deletionsLib/test/test_pdb.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2285,6 +2285,7 @@ def test_pdb_await_contextvar():
... 'p var.get()',
... 'print(await set_var(99))',
... 'p var.get()',
... 'print(await get_var())',
... 'continue',
... ]):
... test_function()
Expand All@@ -2308,6 +2309,10 @@ def test_pdb_await_contextvar():
-> await pdb.Pdb(nosigint=True, readrc=False).set_trace_async()
(Pdb) p var.get()
99
(Pdb) print(await get_var())
99
> <doctest test.test_pdb.test_pdb_await_contextvar[5]>(4)main()
-> await pdb.Pdb(nosigint=True, readrc=False).set_trace_async()
(Pdb) continue
"""

Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp