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

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

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 20, 2019

@asottile
Copy link
Contributor

@asottile asottile commented Oct 25, 2019

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

Thanks!

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

@miss-islington miss-islington commented Oct 26, 2019

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

@bedevere-bot bedevere-bot commented Oct 26, 2019

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

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 26, 2019

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

@miss-islington miss-islington commented Oct 26, 2019

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 issue Oct 26, 2019
… decorators. (GH-16861)

(cherry picked from commit 26ae9f6)

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

@bedevere-bot bedevere-bot commented Oct 26, 2019

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 issue 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 issue 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

@bedevere-bot bedevere-bot commented Oct 26, 2019

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

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

Successfully merging this pull request may close these issues.

None yet

6 participants