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

Python 3 Support #1

Closed
ricardoduarte opened this issue Mar 7, 2013 · 1 comment
Closed

Python 3 Support #1

ricardoduarte opened this issue Mar 7, 2013 · 1 comment

Comments

@ricardoduarte
Copy link
Contributor

When I tried to install via pip, I got the following error:

Installing collected packages: unipath
  Running setup.py install for unipath
      File "/usr/local/lib/python3.3/dist-packages/unipath/path.py", line 197
        fd = os.open(self, os.O_WRONLY | os.O_CREAT, 0666)
                                                        ^
    SyntaxError: invalid token

      File "/usr/local/lib/python3.3/dist-packages/unipath/test.py", line 48
        except Exception, e:
                        ^
    SyntaxError: invalid syntax

It means it is just 2 minor changes to make it Python 3 compatible.

@ricardoduarte
Copy link
Contributor Author

This issue is being resolved by pull request #2 .

mikeorr pushed a commit that referenced this issue Mar 27, 2013
Python 3 doesn't have basestring nor long; use str and int instead
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