Kadir Can Ozden

Results issues of Kadir Can Ozden

## Summary `_dump_float` produces invalid TOML when encoding `Decimal` special values (`Infinity`, `-Infinity`, `NaN`). ## Problem `_dump_float` uses `"{}".format(v)` to convert numeric values to strings. For `float`, Python produces lowercase...

## Summary `_dump_str` in `encoder.py` crashes with an `IndexError` when encoding strings that start with a control character (like `\x01`), and silently produces invalid TOML for strings with control characters...

`_type_check` only validates the first N arguments where N is the length of the function signature. For variadic functions like `merge()`, the signature has a single entry with `variadic: True`,...

Ordering comparators (`=`) crash with `TypeError` when comparing a string to a number: ```python >>> jmespath.search('[?a < b]', [{"a": "foo", "b": 5}]) TypeError: '

`singular_noun` returns wrong results for words ending in `-ss`: ```python >>> p.singular_noun("grass") 'gras' >>> p.singular_noun("glass") 'glas' >>> p.singular_noun("boss") 'bos' ``` The problem is the catch-all rule at the end of...

`singular_noun` raises a `TypeError` when called with compound words where the head noun is already singular: ```python >>> p.singular_noun("pair of scissors") TypeError: sequence item 0: expected str instance, bool found...