Objgraph

Latest version: v3.6.2

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

1.7.2

------------------

- Bugfix: setup.py sdist was broken on Python 2.7 (UnicodeDecodeError in
tarfile).

- The ``filename`` argument for :func:`show_refs` and :func:`show_backrefs` now
allows arbitrary image formats, not just PNG. Patch by `Riccardo
Murri <https://launchpad.net/~rmurri>`_.

- Temporary dot files are now named `objgraph-*.dot` instead of `tmp*.dot`.

- Python 3.3 support: no code changes, but some tests started failing because
the new and improved dictionary implementation no longer holds references to
str objects used as dict keys.

- Added a tox.ini for convenient multi-Python testing.

1.7.1

------------------

- Bugfix: non-ASCII characters in object representations would break graph
generation on Python 3.x, in some locales (e.g. with LC_ALL=C). Reported and
fixed by `Stefano Rivera <https://launchpad.net/~stefanor>`_.

- Bugfix: setup.py was broken on Python 3.x

- Bugfix: dot.exe/xdot.exe were not found on Windows (`LP767239
<https://launchpad.net/bugs/767239>`_).

- Documentation updates: document the forgotten :func:`find_ref_chain`,
update :func:`show_chain` prototype.

1.7.0

------------------

- New function: :func:`find_ref_chain`.

- New ``backrefs`` argument for :func:`show_chain`.

- New function: :func:`get_leaking_objects`, based on `a blog post by
Kristján Valur
<https://cosmicpercolator.com/2010/12/08/finding-c-reference-leaks-using-the-gc-module/>`_.

- New ``objects`` argument for :func:`count`, :func:`typestats`,
:func:`most_common_types`, :func:`show_most_common_types`, and
:func:`by_type`.

- Edges pointing to function attributes such as __defaults__ or __globals__
are now labeled.

- Edge labels that are not simple strings now show the type.

- Bugfix: '\0' and other unsafe characters used in a dictionary key could
break graph generation.

- Bugfix: show_refs(..., filename='graph.dot') would then go to complain
about unrecognized file types and then produce a png.

1.6.0

------------------

- Python 3 support, thanks to Stefano Rivera (fixes `LP687601
<https://launchpad.net/bugs/687601>`_).

- Removed weird weakref special-casing.

1.5.1

------------------

- Avoid test failures in uncollectable-garbage.txt (fixes `LP686731
<https://launchpad.net/bugs/686731>`_).

- Added HACKING.txt (later renamed to HACKING.rst).

1.5.0

------------------

- Show frame objects as well (fixes `LP361704
<https://launchpad.net/bugs/361704>`_).

- New functions: :func:`show_growth`, :func:`show_chain`.

- :func:`find_backref_chain` returns ``[obj]`` instead of ``None`` when a chain
could not be found. This makes ``show_chain(find_backref_chain(...), ...)``
not break.

- Show how many references were skipped from the output of
:func:`show_refs`/:func:`show_backrefs` by specifying ``too_many``.

- Make :func:`show_refs` descend into modules.

- Do not highlight classes that define a ``__del__``, highlight only instances of
those classes.

- Option to show reference counts in :func:`show_refs`/:func:`show_backrefs`.

- Add `Sphinx <https://pypi.python.org/pypi/Sphinx>`_ documentation and a PyPI
long description.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.