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

[3.13] gh-133745: Fix asyncio task factory name/context kwarg breaks#133948

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
17 commits
Select commitHold shift + click to select a range
5c3c953
gh-133745: Fix asyncio task factory name/context kwarg breaks
graingertMay 12, 2025
6247a57
expect failure on named eager tasks
graingertMay 12, 2025
ddfbeb2
remove failing test
graingertMay 13, 2025
9dcf0e8
use only one try/finally/del block
graingertMay 13, 2025
d607230
remove extra whitespace
graingertMay 13, 2025
f9786ce
Merge branch '3.13' into fix-name-passed-to-task-factory
graingertMay 13, 2025
36e8f04
Merge branch '3.13' into fix-name-passed-to-task-factory
graingertMay 14, 2025
ac5759a
📜🤖 Added by blurb_it.
blurb-it[bot]May 14, 2025
363d336
copy editing for news
graingertMay 14, 2025
2fd6255
Merge branch '3.13' into fix-name-passed-to-task-factory
graingertMay 17, 2025
2ba0d19
update docs about create_task
graingertMay 17, 2025
2e7556d
Discard changes to Doc/library/asyncio-task.rst
graingertMay 17, 2025
d3021ae
add pass through docs
graingertMay 17, 2025
b26c1ff
Update Doc/library/asyncio-eventloop.rst
graingertMay 17, 2025
8088dac
Update Doc/library/asyncio-eventloop.rst
graingertMay 17, 2025
5c26ed7
Apply suggestions from code review
graingertMay 18, 2025
d600dd7
Apply suggestions from code review
graingertMay 18, 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
NextNext commit
remove failing test
  • Loading branch information
@graingert
graingert committedMay 13, 2025
commitddfbeb2aed73a30c121ff15a84dceec47736ca19
13 changes: 0 additions & 13 deletionsLib/test/test_asyncio/test_taskgroups.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1081,19 +1081,6 @@ async def throw_error():
# cancellation happens here and error is more understandable
await asyncio.sleep(0)

@unittest.expectedFailure
async def test_name(self):
name = None

async def asyncfn():
nonlocal name
name = asyncio.current_task().get_name()

async with asyncio.TaskGroup() as tg:
tg.create_task(asyncfn(), name="example name")

self.assertEqual(name, "example name")


class TestTaskGroup(BaseTestTaskGroup, unittest.IsolatedAsyncioTestCase):
loop_factory = asyncio.EventLoop
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp