-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Document oinspect format of object info #8774
Comments
oinspect hasn't been formalized, so it is considered free to change across versions (and has done), since its only application so far is computing representations of inspection, rather than preserving the inspection info itself. Coming up with some more formalism, and cleaning up the API would be a good project, though. |
Are there any good practices for backward compatible and extensible data formats in IPython? I'd like to have a format that will reflect the current structure of Python state at a given moment, but the one that could be inspected by future tools as well. The purpose if to build a player like https://github.com/pgbovine/OnlinePythonTutor/ which will be able to catch state of additional system components using human readable format compatible across different tools. |
@minrk, what about creating an external library based on |
I think that's a reasonable project, if there are sufficient uses outside IPython. |
As long as it is inside IPython, it is accessible only to IPython hackers, so it is a |
oinspect
has a chance to become a de-facto standard for exporing information about an object inside of Python process - https://github.com/spyder-ide/docreprIt will help to build up the tools that use it if
oinspect
format is sufficiently documented to avoid surprises and future breakage. Right now it is not clear what is the format of data thatoinspect
works with https://ipython.readthedocs.org/en/stable/api/generated/IPython.core.oinspect.htmlThe text was updated successfully, but these errors were encountered: