Recent Releases of icecream

icecream - icecream v2.1.7

Added: Configurable line wrap length. Improved: The package no longer includes tests in the production installation.

- Python
Published by Jakeroid 6 months ago

icecream - icecream v2.1.6

Fixed: Pretty-printing of SymPy (and similar) objects.

Previously, calling ic() on structures containing SymPy objects could raise a TypeError because pprint.pformat(sortdicts=True) attempted to sort unorderable keys. IceCream now keeps sortdicts=True on the fast path and falls back to sort_dicts=False when pprint raises, ensuring robust output without crashes.

- Python
Published by Jakeroid 7 months ago

icecream - icecream v2.1.5

Changed: Improved printing for variables of type str.

Fixed issues that affected the output of multiline strings and strings containing special characters such as escaped newlines and tabs.

Strings are now printed exactly as they are, faithfully representing their actual value.

- Python
Published by Jakeroid 8 months ago

icecream - icecream v2.1.4

  • Changed: Drop support for all Python versions prior to Python 3.8, which are now long past EOL. Notably: Python 2 is no longer supported.
  • Changed: Update the 'executing' dependency to >= v2.1.0 to improve source code analysis and support Python 3.13.

- Python
Published by gruns about 1 year ago

icecream - Icecream v2.1.3

Added: The contextAbsPath= parameter to ic.configureOutput() which, when True, outputs absolute paths, like /path/to/foo.py, instead of just filenames, like foo.py. See https://github.com/gruns/icecream/pull/122. Huge thank you to @HelinXu! Changed: Raise TypeError if no arguments are provided to ic.configureOutput().

- Python
Published by gruns over 3 years ago

icecream - IceCream v2.1.2.

  • Added: Ability to register and unregister singledispatch argumentToString functions. See https://github.com/gruns/icecream/pull/115. Huge thank you to @atusy!

- Python
Published by gruns about 4 years ago

icecream - IceCream v2.1.1.

  • Added: Support for Python 3.9.
  • Changed: Use timestamps in the local timezone instead of less helpful UTC timestamps.

- Python
Published by gruns over 4 years ago

icecream - IceCream v2.1.0.

  • Added: install() and uninstall() functions that add or remove ic() from the builtins module.
  • Changed: Switch to ast.literal_eval() to determine if an argument and value are the same, and thus only the value should be output. Huge thank you to Ed Cardinal and Alex Hall.

- Python
Published by gruns almost 5 years ago

icecream - IceCream v2.0.0.

  • Added: Support for Python 3.8.
  • Removed: Support for Python 3.4.
  • Changed: Switched core AST parsing engine to Alex Hall's executing (https://github.com/alexmojaki/executing). Huge thank you to Alex Hall.
  • Changed: Whitespace in arguments is no longer collapsed. Indentation in multiline arguments is now preserved.

- Python
Published by gruns over 6 years ago

icecream - IceCream v1.3

First release.

- Python
Published by gruns over 7 years ago

icecream - IceCream v1.3.1

  • Removed: Support for Python 3.3, which reached EOL on 2017-09-29.
  • Fixed: ic() invocations that fail to find or access source code (e.g. eval(), exec(), python -i, etc) now print an error message instead of throwing an IOError (Python 2) or OSError (Python 3).

- Python
Published by gruns over 7 years ago