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 commented Oct 20, 2019

@asottile

This comment has been minimized.

Copy link
Contributor

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
Contributor

ilevkivskyi left a comment

Thanks!

@serhiy-storchaka serhiy-storchaka merged commit 26ae9f6 into python:master Oct 26, 2019
4 checks passed
4 checks passed
Azure Pipelines PR #20191025.9 succeeded
Details
bedevere/issue-number Issue number 38535 found
Details
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@serhiy-storchaka serhiy-storchaka deleted the serhiy-storchaka:ast-decorator-call-without-args branch Oct 26, 2019
@miss-islington

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

bedevere-bot commented Oct 26, 2019

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

@miss-islington

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

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

(cherry picked from commit 26ae9f6)

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

bedevere-bot commented Oct 26, 2019

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

@serhiy-storchaka serhiy-storchaka removed their assignment Oct 26, 2019
serhiy-storchaka added a commit that referenced this pull request Oct 26, 2019
…nts in decorators. (GH-16861). (GH-16930)

(cherry picked from commit 26ae9f6)
serhiy-storchaka added a commit that referenced this pull request Oct 26, 2019
…nts in decorators. (GH-16861). (GH-16931)

(cherry picked from commit 26ae9f6)
jacobneiltaylor added a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.