-
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
'maximum recursion depth exceeded' when running unit tests #1
Comments
Will try to repro this, thanks! |
Can't repro it, but I do see why it happens - if an exception is thrown in the constructor of HdfsAtomicWritePipe before the superconstructor is invoked, then _process won't be set and when it tries to access it, it will fall down into an infinite loop invoking getattr So in fact it seems like two separate bugs, one triggering the other. We should fix both. |
This was a good summary of what's going on: http://users.cs.cf.ac.uk/J.P.Giddy/python/gotcha/getattr.html |
The recursion should be fixed by Ia690ba3b52f5f33320e654d85bb4d519c59d5c29 - dunno if that solves the underlying issue though. |
…packages Edx/brianhw/include egginfo in packages
Now works with Python 3
I ran unit tests with
python test/test.py
, and the tests seem to get into an infinite loop:It output the last two messages over and over again until I control-c'd, which showed:
I'm using the CDH hadoop distro (3u3) and python2.6. Are these supported?
The text was updated successfully, but these errors were encountered: