<commit_before>Changes
=======

.. currentmodule:: objgraph

2.0.1 (unreleased)
------------------


2.0.0 (2015-04-18)
------------------

- :func:`show_ref` and :func:`show_backref` now accept a file-like object as an
  alternative to a filename.

- Made internal helper methods private. This includes :func:`find_chain`,
  :func:`show_graph`, :func:`obj_node_id`, :func:`obj_label`, :func:`quote`,
  :func:`long_typename`, :func:`safe_repr`, :func:`short_repr`, 
  :func:`gradient`, :func:`edge_label`, and :func:`_program_in_path`.

- Correctly determine the name of old-style classes in :func:`count`,
  :func:`by_type`, and graph drawing functions.

  Fixes `issue 16 <https://github.com/mgedmin/objgraph/pull/16>`_.  Contributed
  by <NAME>.


1.8.1 (2014-05-15)
------------------

- Do not expect file objects to have an ``encoding`` attribute.  Makes objgraph
  compatible with Eventlet's monkey-patching.

  Fixes `issue 6 <https://github.com/mgedmin/objgraph/pull/6>`_.  Contributed
  by <NAME>.

<commit_msg>Clarify the changelog about the new output argument<commit_after>Changes
=======

.. currentmodule:: objgraph

2.0.1 (unreleased)
------------------


2.0.0 (2015-04-18)
------------------

- :func:`show_refs` and :func:`show_backrefs` now accept a file-like object
  (via the new ``output`` argument) as an alternative to a filename.

- Made internal helper methods private. This includes :func:`find_chain`,
  :func:`show_graph`, :func:`obj_node_id`, :func:`obj_label`, :func:`quote`,
  :func:`long_typename`, :func:`safe_repr`, :func:`short_repr`, 
  :func:`gradient`, :func:`edge_label`, and :func:`_program_in_path`.

- Correctly determine the name of old-style classes in :func:`count`,
  :func:`by_type`, and graph drawing functions.

  Fixes `issue 16 <https://github.com/mgedmin/objgraph/pull/16>`_.  Contributed
  by <NAME>.


1.8.1 (2014-05-15)
------------------

- Do not expect file objects to have an ``encoding`` attribute.  Makes objgraph
  compatible with Eventlet's monkey-patching.

  Fixes `issue 6 <https://github.com/mgedmin/objgraph/pull/6>`_.  Contributed
  by <NAME>.


{'fraction_non_alphanumeric': 0.19754253308128544, 'fraction_numerical': 0.02930056710775047, 'mean_word_length': 3.494692144373673, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '284366', 'n_tokens_mistral': 747, 'n_tokens_neox': 688, 'n_words': 184}