8000 bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. by serhiy-storchaka · Pull Request #16861 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. #16861

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

Conversation

serhiy-storchaka
Copy link
Member
@serhiy-storchaka serhiy-storchaka commented Oct 20, 2019

@asottile
Copy link
Contributor

should this be backported? often changes in col_offset / lineno can cause some annoying breaks in cpython patch versions for linters and such

Copy link
Member
@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@serhiy-storchaka serhiy-storchaka merged commit 26ae9f6 into python:master Oct 26, 2019
@serhiy-storchaka serhiy-storchaka deleted the ast-decorator-call-without-args branch October 26, 2019 13:46
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-16929 is a backport of this pull request to the 3.8 branch.

@miss-islington
Copy link
Contributor

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 26ae9f6d3d755734c9f371b9356325afe5764813 3.7

@miss-islington
Copy link
Contributor

Sorry @serhiy-storchaka, I had trouble checking out the 2.7 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 26ae9f6d3d755734c9f371b9356325afe5764813 2.7

miss-islington added a commit that referenced this pull request Oct 26, 2019
… decorators. (GH-16861)

(cherry picked from commit 26ae9f6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-16930 is a backport of this pull request to the 3.7 branch.

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Oct 26, 2019
…nts in decorators. (pythonGH-16861).

(cherry picked from commit 26ae9f6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Oct 26, 2019
…nts in decorators. (pythonGH-16861).

(cherry picked from commit 26ae9f6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-16931 is a backport of this pull request to the 2.7 branch.

serhiy-storchaka added a commit that referenced this pull request Oct 26, 2019
serhiy-storchaka added a commit that referenced this pull request Oct 26, 2019
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0