Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.53 KB

changes.rst

File metadata and controls

67 lines (44 loc) · 1.53 KB

Changelog

Here you'll find a record of the changes in each version of pytool.

2.4.0

  • Improve documentation.
  • Add for_json() hook in pytool.json.as_json.
  • Add __repr__() to pytool.time.UTC to make it prettier.
  • Add support for _asdict() hook (implemented by namedtuple) even when not using simplejson.
  • Fix pytool.time.is_dst test.
  • Add for_json() hook to pytool.proxy.DictProxy and pytool.proxy.ListProxy.

2.3.2

  • Fix descriptor protocol in iteritems.

2.3.1

  • Implement a instance-descriptor read-only protocol for pytool.lang.Namespace objects. This means you can assign descriptor instances to Namespace instances, and their values can be read, but not set.

    This differs from normal python descriptor behavior, where the descriptor instance must be present in the class rather than the instance.

2.3.0

  • Make pytool.lang.Namespace instances evaluate as False when empty and cast as a bool().

2.2.0

  • Added pytool.proxy.DictProxy and pytool.proxy.ListProxy.

2.1.0

  • Added pytool.lang.hashed_singleton.

2.0.1

  • Update setup.py to include classifiers.

2.0.0

  • Add pytool.time.floor_minute and pytool.time.floor_week.
  • Change pytool.time.floor_month and pytool.time.floor_day to preserve timezone information.

Pre-2.0.0

Sorry, I was lazy and didn't keep a Changelog until 2.0. Apologies!