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

Support python3 #14

Open
ppershing opened this issue Jan 26, 2016 · 1 comment
Open

Support python3 #14

ppershing opened this issue Jan 26, 2016 · 1 comment

Comments

@ppershing
Copy link

Python 3.5 is not very happy:

  Running setup.py install for bottle-auth
      File "/var/www/venv/lib/python3.5/site-packages/bottle_auth/social/facebook.py", line 34
        except HTTPRedirect, e:
                           ^
    SyntaxError: invalid syntax

      File "/var/www/venv/lib/python3.5/site-packages/bottle_auth/social/twitter.py", line 29
        except HTTPRedirect, e:
                           ^
    SyntaxError: invalid syntax

      File "/var/www/venv/lib/python3.5/site-packages/bottle_auth/social/google.py", line 31
        except HTTPRedirect, e:
                           ^
    SyntaxError: invalid syntax

      File "/var/www/venv/lib/python3.5/site-packages/bottle_auth/core/escape.py", line 223
        _URL_RE = re.compile(ur"""\b((?:([\w-]+):(/{1,3})|www[.])(?:(?:(?:[^\s&()]|&amp;|&quot;)*(?:[^!"#$%&'()*+,.:;<=>?@\[\]^`{|}~\s]))|(?:\((?:[^\s&()]|&amp;|&quot;)*\)))+)""")
                                                                                                                                                                                 ^
    SyntaxError: invalid syntax

      File "/var/www/venv/lib/python3.5/site-packages/bottle_auth/core/httpclient.py", line 101
        except (httplib.error, socket.error, IOError), e:
                                                     ^
    SyntaxError: invalid syntax
@ghost
Copy link

ghost commented Feb 19, 2017

I'm available to make this support Python 3.x.

@ghost ghost mentioned this issue Feb 19, 2017
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

1 participant