Repository navigation
1.2.0
A new Nougaro version is out, including two new sorting algorithms and crashfixes!
Added
- Added two modes to the
sortbuilt-in function:slowandslow-verbose. Both are slowsort implementations, the former is silent and the latter prints how much elements are already sorted. - Added one other mode to the
sortbuilt-in function:bogo. It is a bogosort implementation. - Added
math.gcd, that takes exactly two integer arguments and return their gcd.
Changed
- Any value can now be passed as
asserterror message (and will be converted to str) $and the following identifier can now be spaced ($ idis now valid)paraghraphsargument of functionlorem.ipsumis now optional and defaults to 1- Version ID has been increased to
11.
Fixed
- Fixed a crash in
math.logon base=1 - Fixed crashes in
math.log2(I forgot to update this function when fixing the same crashes in 0.18.0-beta) - Fixed a crash on
int(float("nan"))andint(float("inf")). - Fixed a bug where identifiers after
$could start with digits - Optimised asserts a little bit
- Better error messages
- Stalinsort no longer sorts the list in-place (it returns a “““sorted””” copy of the list instead of “““sorting””” the original list)
- Miraclesort and panicsort now also return a copy of the original list (if they return something…)
- Updated error messages when method in not defined in python-written modules (does not change anything to public API)
Build scripts
- Build scripts now copy
CHANGELOG.md. build.batis now more verbose.
Calculator
Fixed
- Fixed a crash with
logon base=1