Closed agkunkle closed 5 years ago
Good catch! I've seen someone run into this one before during a training; but I didn't manage to capture it in GitHub before it slipped my mind entirely.
Your assessment of the issue is correct -- and your local fix is a good solution. I don't see any reason not to use match.groups(1)
in the codebase -- feel free to submit a PR with that change so it can be credited properly. :)
All done, thanks for taking a look so quickly.
--AK
On Wed, Aug 14, 2019 at 2:44 AM Kate Temkin notifications@github.com wrote:
Good catch! I've seen someone run into this one before during a training; but I didn't manage to capture it in GitHub before it slipped my mind entirely.
Your assessment of the issue is correct -- and your local fix is a good solution. I don't see any reason not to use match.groups(1) in the codebase -- feel free to submit a PR with that change so it can be credited properly. :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greatscottgadgets/libgreat/issues/7?email_source=notifications&email_token=AALC6RHUH6Z7YKHCRRPCBM3QEOSVTA5CNFSM4ILMMMY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4H3G6I#issuecomment-521122681, or mute the thread https://github.com/notifications/unsubscribe-auth/AALC6RAJ5UG6C2L7EOFRJP3QEOSVTANCNFSM4ILMMMYQ .
I am attempting to use a GreatFET ONE with the Facedancer project on Ubuntu 16.04.06 LTS using Python 3.5. Trying to run any of the facedancer-XX.py examples results in the following exception:
I believe this is due to how Python changed the behavior of re.match() in Python 3.6. Just wanted you to be aware as I don't think the pip-installed greatfet module enforces that version to be used.
I just made a local fix by updating
match[1]
tomatch.groups(1)
and all seems to be working fine now.Thanks for supporting such a cool project!