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

Appearance settings

Expose ast.unparse in the ast module #83051

Copy link
Copy link

Description

@pablogsal
Issue body actions
BPO 38870
Nosy @ilevkivskyi, @pablogsal, @miss-islington, @brandtbucher, @isidentical, @CyberSaxosTiGER
PRs
  • bpo-38870: Expose a function to unparse an ast object in the ast module #17302
  • bpo-38870: Remove dependency on contextlib to avoid performance regression on import #17376
  • bpo-38870: Implement Simple Preceding to AST Unparser #17377
  • bpo-38870: refactor delimiting with context managers #17612
  • bpo-38870: Remove dead code related with argument unparsing #17613
  • Revert "bpo-38870: Remove dependency on contextlib to avoid performance regression on import (GH-17376)" #17687
  • bpo-38870: Run always tests that heavily use grammar features in test_unparse #17738
  • bpo-38870: Fix error when running with -uall in test_unparse #17739
  • bpo-38870: Docstring support for function/class/module nodes #17760
  • bpo-38870: Implement round tripping support for typed AST #17797
  • bpo-38870: Throw ValueError on invalid yield from usage #17798
  • bpo-38870: Simplify tuple like interleaves, roundtrip extslice properly #17892
  • bpo-38870: Correctly unparse empty docstrings #18768
  • bpo-38870: Implement support for ast.FunctionType #19016
  • bpo-38870: Don't start generated output with newlines #19636
  • bpo-38870: Do not seperate factor prefixes #20133
  • bpo-38870: don't put unnecessary parantheses on class declarations #20134
  • bpo-38870: Use subTest in test_unparse for better error reporting #20141
  • bpo-38870: Only omit slice parantheses when the inner expression is simple  #20152
  • bpo-38870: fixing unhandled hexescape in docstrings at ast.unparse #20166
  • bpo-38870: invalid escape sequence #20240
  • [3.9] bpo-38870: invalid escape sequence (GH-20240) #20244
  • bpo-38870: Extend subject of ast.unparse warnings #21053
  • [3.9] bpo-38870: Extend subject of ast.unparse warnings (GH-21053) #21191
  • 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 = 'https://github.com/pablogsal'
    closed_at = <Date 2020-10-23.18:24:39.319>
    created_at = <Date 2019-11-20.22:34:29.558>
    labels = ['type-feature', 'library', '3.9']
    title = 'Expose ast.unparse in the ast module'
    updated_at = <Date 2020-10-23.18:24:39.319>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2020-10-23.18:24:39.319>
    actor = 'BTaskaya'
    assignee = 'pablogsal'
    closed = True
    closed_date = <Date 2020-10-23.18:24:39.319>
    closer = 'BTaskaya'
    components = ['Library (Lib)']
    creation = <Date 2019-11-20.22:34:29.558>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38870
    keywords = ['patch']
    message_count = 33.0
    messages = ['357107', '357111', '357138', '357176', '357258', '357417', '357438', '358478', '358504', '358824', '358826', '359001', '359207', '359500', '359502', '359508', '363087', '363196', '363768', '364257', '367985', '369069', '369070', '369076', '369078', '369088', '369286', '369289', '369398', '369402', '372488', '372490', '379462']
    nosy_count = 7.0
    nosy_names = ['levkivskyi', 'pablogsal', 'miss-islington', 'brandtbucher', 'BTaskaya', 'Batuhan Taskaya', '1v3m']
    pr_nums = ['17302', '17376', '17377', '17612', '17613', '17687', '17738', '17739', '17760', '17797', '17798', '17892', '18768', '19016', '19636', '20133', '20134', '20141', '20152', '20166', '20240', '20244', '21053', '21191']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38870'
    versions = ['Python 3.9']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    Labels

    3.9 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.