Node

Latest version: v1.2.2

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

Scan your dependencies

Page 3 of 6

0.9.22

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

- Add ``always_dispatch`` keyword argument to
``node.behaviors.events.EventAttribute`` constructor which defines whether
events are always dispatched on ``__set__``, not only if attribute value
changes.
[rnix, 2017-06-20]

- Use ``node.utils.UNSET`` as default ``default`` value in
``node.behaviors.events.EventAttribute.__init__``.
[rnix, 2017-06-19]

- Introduce ``node.behaviors.events.EventAttribute.subscriber`` decorator which
can be used to register attribute subscribers.
[rnix, 2017-06-19]

- Move event dispatching related classes and functions from ``node.events``
to ``node.behaviors.events`` and import it from there in ``node.events``.
[rnix, 2017-06-16]

- Introduce ``node.interfaces.IEvents`` and implement
``node.behaviors.events.Events`` behavior. Contains business logic from
``node.events.EventDispatcher``. Use new behavior on ``EventDispatcher``.
[rnix, 2017-06-16]

- Create ``suppress_events`` context manager which can be used to
suppress event notification in conjunction with ``node.behaviors.Events``
behavior.
[rnix, 2017-06-15]

- Create ``node.behaviors.fallback.fallback_processing`` context manager and
and use it in ``node.behaviors.fallback.Fallback.__getitem__`` to check
whether fallback processing is active.
[rnix, 2017-06-15]

0.9.21

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

- Introduce ``node.events.EventDispatcher`` and ``node.events.EventAttribute``.
[rnix, 2017-06-15]

- Use ``setattr`` in ``instance_property`` decorator instead of
``object.__setattr__`` in order to avoid errors with custom low level
``__setattr__`` implementations.
[rnix, 2017-06-14]

0.9.20

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

- Type cast sort key to ``node.compat.UNICODE_TYPE`` in
``node.behaviors.Nodify.treerepr`` to avoid unicode decode errors.
[rnix, 2017-06-07]

0.9.19

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

- Python 3 and pypy compatibility.
[rnix, 2017-06-02]

- Drop support for Python < 2.7.
[rnix, 2017-06-02]

- Add ``__bool__`` to ``node.behaviors.Nodify``.
[rnix, 2017-06-02]

- Add ``__bool__`` to ``node.utils.UNSET``.
[rnix, 2017-06-02]

- Add ``treerepr`` in ``node.behaviors.nodify.Nodify`` and move code from
``printtree`` to it. Returs tree representation as string instead of printing
it. ``printtree`` uses ``treerepr`` now. As enhancement ``treerepr`` sorts
children of node if it does not implement ``IOrdered`` in order to ensure
consistend output which can be used to write tests against.
[rnix, 2017-06-02]

- Use ``object.__getattribute__`` explicitely in
``node.utils.instance_property`` to check whether property value already has
been computed in order to avoid problems when oberwriting ``__getattr__``
on classes using ``instance_property`` decorator.
[rnix, 2017-06-02]

0.9.18.1

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

- Fix permissions.
[rnix, 2017-02-23]

0.9.18

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

- Add ``node.utils.node_by_path``.
[rnix, 2017-02-07]

- Do not depend on ``unittest2`` since its is not used.
[jensens, 2017-01-17]

- Add ``node.behaviors.Fallback`` behavior.
[jensens, 2017-01-17]

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.