Skip to content

Conversation

@kimadeline
Copy link

@kimadeline kimadeline commented Nov 3, 2021

Closes #15058

@kimadeline kimadeline self-assigned this Nov 3, 2021
@kimadeline kimadeline marked this pull request as ready for review November 3, 2021 18:52
Copy link
Member

@brettcannon brettcannon left a comment

Choose a reason for hiding this comment

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

The suggestions:

  1. Tweak a variable name to be snake_case.
  2. Switch to comparing against sys.version_info.major.
  3. Use list.append().

@kimadeline kimadeline merged commit ee6f2f2 into microsoft:main Nov 5, 2021
@kimadeline kimadeline deleted the 15058-decorators-run-selection-in-terminal branch November 5, 2021 15:19
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
)

* Fix selection normalization w/ decorators

* Support 2.7 case

* Apply suggestions from code review

Co-authored-by: Brett Cannon <[email protected]>

Co-authored-by: Brett Cannon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Run Selection" does not handle decorators properly.

2 participants