Kingston

Latest version: v0.7.8

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

Scan your dependencies

Page 1 of 3

0.7.8

-----

- Slight refactor / yak shave & fix version
- Redesigns kingston.match.matches() to ensure that marker values
\`Any\` and \`…\` are never sent to the comparision function. Fixes
seldom triggered edge-case eg when you want to feed values straight
to the \`re\` module.
- Implements sensible \`str()\` and \`repr()\` handlers for
\`kingston.match.Matcher\` objects.
- Shaves off 1 iteration when matching against \`…\` marker values.
- A few internal naming improvements.
- Filled in missing typing stub for \`kingston.aop\`

.. _section-2:

0.7.7

-----

- Fix version, fixes an edge case when type matching against sequences
with exactly 1 value.

.. _section-3:

0.7.6

-----

- Require that recursive ``match.TypeMatcher``'s are declared
explicitly case by case.

.. _section-4:

0.7.5

-----

- Implements a mechanism for AOP with terse syntax
- Small internal refinements

.. _section-5:

0.7.4

-----

- Implements subtype matching in match.TypeMatcher
- More options for devtool.PrintfDebugging
- Tiny style fixes

.. _section-6:

0.7.3

-----

- More readable error messages in case of ``Mismatch`` exception from
matchers.
- Implemented new notation for matchers as subclasses where cases are
declared using a decorator.

.. _section-7:

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.