Skip to content

python2 => python3 conversion#11

Open
kkovacs wants to merge 1 commit intoprecious:masterfrom
kkovacs:master
Open

python2 => python3 conversion#11
kkovacs wants to merge 1 commit intoprecious:masterfrom
kkovacs:master

Conversation

@kkovacs
Copy link

@kkovacs kkovacs commented May 19, 2022

Hello Vsevolod!!

I'm using your great bash minifier regularly, but I ran into problems now that python2 is deprecated FOR REAL.

I made the changes that were needed to run on python3, and I thought I'd contribute back. There is one change I'm not completely sure about (although it work like this and all the tests ran), maybe you could review it.

Have a great day! :)

Kristof


assert not self.isInsideGroup(), 'Invalid syntax'
raise StopIteration
# raise StopIteration # XXX I'm not too confident of the purpose of this, but it works without it.
Copy link
Author

Choose a reason for hiding this comment

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

If you could look at this one line, that would be great.

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.

1 participant