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

AttributeError: '_sre.SRE_Pattern' object has no attribute 'fullmatch' #414

Closed
furicle opened this issue Jan 14, 2016 · 3 comments
Closed

Comments

@furicle
Copy link

furicle commented Jan 14, 2016

Just updated to 0.2.6 via pip and any search crashes program with

  File "pathRedacted/bin/mpsyt", line 11, in <module>
    sys.exit(main.main())
  File "pathRedacted/lib/python3.3/site-packages/mps_youtube/main.py", line 3695, in main
    if matchfunction(i.function, i.regex, userinput):
  File "pathRedacted/lib/python3.3/site-packages/mps_youtube/main.py", line 3631, in matchfunction
    match = regex.fullmatch(userinput)
AttributeError: '_sre.SRE_Pattern' object has no attribute 'fullmatch'
@ids1024
Copy link
Contributor

ids1024 commented Jan 14, 2016

Oh, apparently re.fullmatch() was added in python 3.4. So that will need to be changed...

@ids1024
Copy link
Contributor

ids1024 commented Jan 20, 2016

Should be fixed in commit 904408b.

@brandonros
Copy link

RaspberryPi user just got affected by this for only having Python3.2. Installed from pip.

@ids1024 ids1024 closed this as completed Jun 27, 2016
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

No branches or pull requests

3 participants