Coconut

Latest version: v3.1.2

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

Scan your dependencies

Page 6 of 8

0.3.4

Major Changes:
- **New:** Built-in `datamaker` function for writing `data.__new__` constructors
- Removes `itemgetter`, `attrgetter`, and `methodcaller` from built-ins in favor of implicit partial application
- Supports `slice` objects in iterator slicing
- Fixes incompatibility with newest `pyparsing`

_[Macapuno](https://en.wikipedia.org/wiki/Kopyor_coconut) is a type of mutant coconut commonly used in desserts._

0.3.3

Major Changes:
- **New:** In-place lazy chaining
- **New:** Enhanced imaginary literals
- Fixed error message line numbers
- Fixed `--run`ing a file with imports
- Fixed interpreter scoping

_[Lauric acid](https://en.wikipedia.org/wiki/Lauric_acid) is the primary fatty acid found in coconuts._

0.3.2

Major Changes:
- **New:** Lazy chaining
- **New:** Head-last pattern-matching
- **New:** Lazy list pattern-matching
- Fixed empty and one-item lazy lists
- Improved Python version cross-compatibility
- Fixed interpreter errors

_[Kopyor](https://en.wikipedia.org/wiki/Kopyor_coconut) is the Indonesian name for a macapuno coconut._

0.3.1

Major Changes:
- **New:** Lazy lists
- **New:** Pattern-matching function definition
- **New:** Enhanced `except` statements
- **New:** `__coconut_version__` built-in
- `def` is now mandatory in mathematical function definition
- Match failures now raise `MatchError` instead of `ValueError`
- Added `coconut.convenience.parse(mode="exec")`

_[Jawz Hindi](https://en.wikipedia.org/wiki/Coconut#Etymology) is the Arabic word for Coconut, translated literally as Indian Nut._

0.3.0

Major Changes:
- **New:** Destructuring assignment
- **New:** Implicit partial application
- **New:** Additional pipeline operators
- Changed non-decimal integer syntax from `101_2` to `2_101`
- Improved error messages
- `coconut.convenience.version("full")` is now `coconut.convenience.version("spec")`

_[Ilocos](https://en.wikipedia.org/wiki/Ilocos_Region) is an area in the Philippines that is a major producer of coconuts._

0.2.3

Major Changes:
- **New:** Infix function definition
- **New:** `--target` parameter
- **New:** Support for Python 3.5 syntax
- More Python-like interpreter

_[Hawaii](https://en.wikipedia.org/wiki/Hawaiian_Islands) is one of the most iconic homes of the coconut tree._

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.