-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
inspect()
method may return an Object
This is more like how `JSON.stringify()` works. Closes #2711.
- Loading branch information
There are no files selected for viewing
4 comments
on commit 66280de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a chance of back-porting this to 0.10?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for back-porting this change to v0.10.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "returning object" behavior is new behavior, so that can't be backported.
The documentation (sans the "returning object" part) could be backported however.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "returning object" behavior is new behavior, so that can't be backported.
Well, I'd say it depends on the point of view. It fixes the bug that it's not possible to implement a custom inspect
functions that honours the option color: true/false
.
That's my two cents, I understand your POV too. If it did not take two years to release v0.12, I would absolutely agree with you.
s/inpect/inspect