-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
AttributeError: 'PrettyPrinter' object has no attribute '_indent_at_name' #12906
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
Comments
So for some reason, the class is
is a |
By the way, the example also fails on master, but somehow circle-ci on master is green. |
by example, I mean |
#12791 seems to be failing for the same reason. |
I can't see it in the latest build on master. |
I think it's because this line should involve a scikit-learn/sklearn/utils/_pprint.py Line 324 in 684d8a2
|
That is, we're modifying the dispatch used by But then it's also a bit weird that |
@NicolasHug do you want to fix this, or should we open it to other contributors? |
Thanks @jnothman I didn't see this, I'll take a look |
You're right @jnothman we should make a copy of The bug happens because joblib is using calling Pretty sneaky... I'll submit a fix. However I'm not sure I follow your concern about |
Minimal reproducing example:
|
There's a failing example in #12654, and here's a piece of code causing it:
With the stack trace:
The text was updated successfully, but these errors were encountered: