Skip to content

supports MatchOr, MatchSequence, MatchStar, MatchSingleton - #819

Merged
lieryan merged 2 commits into
python-rope:masterfrom
jheld:match-or-sequence-star
Aug 20, 2026
Merged

supports MatchOr, MatchSequence, MatchStar, MatchSingleton#819
lieryan merged 2 commits into
python-rope:masterfrom
jheld:match-or-sequence-star

Conversation

@jheld

@jheld jheld commented Jun 28, 2025

Copy link
Copy Markdown
Contributor

Description

Please include a summary of the change and which issue is fixed.

Fixes maybe all of #623

I was initially encountering an issue when trying to implement support for MatchSingleton, but I realized that the singleton wasn't actually a Name/NameConstant, but rather the string representation, at least in the test, so that helped me push through to support it as well.

Checklist (delete if not relevant):

  • I have added tests that prove my fix is effective or that my feature works
  • I have updated CHANGELOG.md
  • I have made corresponding changes to user documentation for new features

@jheld
jheld force-pushed the match-or-sequence-star branch 2 times, most recently from ad029d5 to d60d56a Compare June 30, 2025 03:28
@jheld jheld changed the title supports MatchOr, MatchSequence, MatchStar supports MatchOr, MatchSequence, MatchStar, MatchSingleton Jun 30, 2025
@lieryan lieryan added this to the 1.15.0 milestone Aug 16, 2026
@lieryan
lieryan force-pushed the match-or-sequence-star branch from d60d56a to d7c0309 Compare August 20, 2026 11:46
@lieryan
lieryan merged commit ec83ee7 into python-rope:master Aug 20, 2026
21 of 22 checks passed
@lieryan

lieryan commented Aug 20, 2026

Copy link
Copy Markdown
Member

Thanks for contributing this PR, @jheld. I've merged with a few additional fixes.

@allcontributors please add @jheld for code contribution

@allcontributors

Copy link
Copy Markdown
Contributor

@lieryan

I've put up a pull request to add @jheld! 🎉

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.

2 participants