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

RuntimeWarning "coroutine was never awaited" prints first line of file called sys #117535

Closed
Labels
type-bugAn unexpected behavior, bug, or error
@hroncok

Description

@hroncok

Bug report

Bug description:

asyncdefcoroutine():passcoroutine().nope
$echo'Why would you print me?'> sys$ python3.12 nowait.py Traceback (most recent call last):  File".../nowait.py", line 4,in<module>coroutine().nopeAttributeError:'coroutine' object has no attribute'nope'sys:1: RuntimeWarning: coroutine'coroutine' was never awaited  Why would you print me?

Note the last line of the error. It is from thesys file.

This does not go away when Python is invoked with-P,-E, or-I.

CPython versions tested on:

3.12, 3.13

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp