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

Run sys.__interactivehook__ for asyncio REPLs #84995

Closed
remilapeyre mannequin opened this issue May 29, 2020 · 3 comments
Closed

Run sys.__interactivehook__ for asyncio REPLs #84995

remilapeyre mannequin opened this issue May 29, 2020 · 3 comments
Labels
easy pending The issue will be closed if no feedback is provided stdlib Python modules in the Lib dir topic-asyncio type-feature A feature request or enhancement

Comments

@remilapeyre
Copy link
Mannequin

remilapeyre mannequin commented May 29, 2020

BPO 40818
Nosy @pmp-p, @remilapeyre
PRs
  • gh-84995: Run sys.__interactivehook__() on asyncio REPL startup #20517
  • 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-05-29.16:06:44.191>
    labels = ['library', '3.10']
    title = 'Run sys.__interactivehook__ for asyncio REPLs'
    updated_at = <Date 2020-05-29.16:15:44.654>
    user = 'https://github.com/remilapeyre'

    bugs.python.org fields:

    activity = <Date 2020-05-29.16:15:44.654>
    actor = 'remi.lapeyre'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-05-29.16:06:44.191>
    creator = 'remi.lapeyre'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40818
    keywords = ['patch']
    message_count = 1.0
    messages = ['370321']
    nosy_count = 2.0
    nosy_names = ['pmpp', 'remi.lapeyre']
    pr_nums = ['20517']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40818'
    versions = ['Python 3.10']

    Linked PRs

    @remilapeyre
    Copy link
    Mannequin Author

    remilapeyre mannequin commented May 29, 2020

    As a nice side effect, it gives the same completion than the standard shell.

    @remilapeyre remilapeyre mannequin added 3.10 only security fixes stdlib Python modules in the Lib dir labels May 29, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @pitrou pitrou added type-feature A feature request or enhancement topic-asyncio easy and removed 3.10 only security fixes labels Aug 23, 2023
    @pitrou
    Copy link
    Member

    pitrou commented Aug 23, 2023

    This would indeed be a useful addition.

    @gvanrossum gvanrossum added the pending The issue will be closed if no feedback is provided label Aug 23, 2023
    @gvanrossum
    Copy link
    Member

    @remilapeyre can you refresh your PR?

    itamaro added a commit to itamaro/cpython that referenced this issue Feb 29, 2024
    Co-authored-by: Rémi Lapeyre <remi.lapeyre@lenstra.fr>
    gvanrossum pushed a commit that referenced this issue Mar 1, 2024
    This makes the asyncio REPL (`python -m asyncio`) more usable
    and similar to the regular REPL.
    
    This exposes register_readline() as a top-level function in site.py,
    but it's intentionally undocumented. 
    
    Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
    Co-authored-by: Itamar Oren <itamarost@gmail.com>
    woodruffw pushed a commit to woodruffw-forks/cpython that referenced this issue Mar 4, 2024
    …python#20517)
    
    This makes the asyncio REPL (`python -m asyncio`) more usable
    and similar to the regular REPL.
    
    This exposes register_readline() as a top-level function in site.py,
    but it's intentionally undocumented. 
    
    Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
    Co-authored-by: Itamar Oren <itamarost@gmail.com>
    adorilson pushed a commit to adorilson/cpython that referenced this issue Mar 25, 2024
    …python#20517)
    
    This makes the asyncio REPL (`python -m asyncio`) more usable
    and similar to the regular REPL.
    
    This exposes register_readline() as a top-level function in site.py,
    but it's intentionally undocumented. 
    
    Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
    Co-authored-by: Itamar Oren <itamarost@gmail.com>
    diegorusso pushed a commit to diegorusso/cpython that referenced this issue Apr 17, 2024
    …python#20517)
    
    This makes the asyncio REPL (`python -m asyncio`) more usable
    and similar to the regular REPL.
    
    This exposes register_readline() as a top-level function in site.py,
    but it's intentionally undocumented. 
    
    Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
    Co-authored-by: Itamar Oren <itamarost@gmail.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    easy pending The issue will be closed if no feedback is provided stdlib Python modules in the Lib dir topic-asyncio type-feature A feature request or enhancement
    Projects
    Status: Done
    Development

    No branches or pull requests

    2 participants