-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 2.7 incompatibilities #4
Comments
Interesting. This code works in 2.6 but not in 2.7: class X(object):
def __init__(self):
self.f = open('test.txt', 'w')
def __getattr__(self, name):
return getattr(self.f, name)
with X():
pass Adding dummy |
Pushed a fix, let me know if the problem persists. |
your fix resolves the issue for me. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can run the tests with python 2.6 but not python 2.7. With python 2.7, several tests in
_hdfs_tests.py
fail:That's just a small sample but gives you an idea of the stacktrace. My python fu isn't really that great, so I'm not sure why it works on python 2.6 at all. Is fixing the 2.7 compatibility just a matter of adding enter and close ?
The text was updated successfully, but these errors were encountered: