Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for asyncio._set_running_loop() #85134

Closed
eugenhu mannequin opened this issue Jun 12, 2020 · 3 comments
Closed

Add documentation for asyncio._set_running_loop() #85134

eugenhu mannequin opened this issue Jun 12, 2020 · 3 comments
Labels
3.11 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@eugenhu
Copy link
Mannequin

eugenhu mannequin commented Jun 12, 2020

BPO 40962
Nosy @asvetlov, @1st1

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2020-06-12.15:42:17.397>
labels = ['3.11', 'type-feature', 'docs']
title = 'Add documentation for asyncio._set_running_loop()'
updated_at = <Date 2022-01-16.08:05:35.818>
user = 'https://bugs.python.org/eugenhu'

bugs.python.org fields:

activity = <Date 2022-01-16.08:05:35.818>
actor = 'kumaraditya'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2020-06-12.15:42:17.397>
creator = 'eugenhu'
dependencies = []
files = []
hgrepos = []
issue_num = 40962
keywords = []
message_count = 1.0
messages = ['371387']
nosy_count = 4.0
nosy_names = ['asvetlov', 'docs@python', 'yselivanov', 'eugenhu']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue40962'
versions = ['Python 3.11']

@eugenhu
Copy link
Mannequin Author

eugenhu mannequin commented Jun 12, 2020

In the pull request

https://github.com/python/asyncio/pull/452#issue-92245081

the linked comment says that asyncio._set_running_loop() is part of the public asyncio API and will be documented, but I couldn't find any references to this function in

https://docs.python.org/3/library/asyncio-eventloop.html

or anywhere else (tried quick searching for it) in the docs.

@eugenhu eugenhu mannequin added 3.7 (EOL) end of life 3.8 (EOL) end of life 3.9 only security fixes 3.10 only security fixes labels Jun 12, 2020
@eugenhu eugenhu mannequin assigned docspython Jun 12, 2020
@eugenhu eugenhu mannequin added docs Documentation in the Doc dir 3.7 (EOL) end of life 3.8 (EOL) end of life 3.9 only security fixes 3.10 only security fixes labels Jun 12, 2020
@eugenhu eugenhu mannequin assigned docspython Jun 12, 2020
@eugenhu eugenhu mannequin added the docs Documentation in the Doc dir label Jun 12, 2020
@iritkatriel iritkatriel added 3.11 only security fixes type-feature A feature request or enhancement and removed 3.7 (EOL) end of life 3.8 (EOL) end of life 3.9 only security fixes 3.10 only security fixes labels Jan 15, 2022
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@ezio-melotti ezio-melotti moved this to Todo in asyncio Jul 17, 2022
@kumaraditya303
Copy link
Contributor

The URL points to the old asyncio repo python/asyncio#452. FWIW I consider asyncio._set_running_loop to be private as it is used internally by asyncio, not something users have to use.

cc @gvanrossum

@gvanrossum
Copy link
Member

If one were to implement one's own event loop (without calling asyncio.BaseEventLoop.run_forever()) one would have to use this. I don't know if we have a place where we document things for event loop authors though. And people could just read the source -- the code of run_forever() is pretty clear. So let's just close this.

@gvanrossum gvanrossum closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2022
Repository owner moved this from Todo to Done in asyncio Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
Status: Done
Development

No branches or pull requests

3 participants