Skip to content

Commit

Permalink
Merge pull request #58 from SethMMorton/increase-user-flexibility
Browse files Browse the repository at this point in the history
Increase user flexibility
  • Loading branch information
SethMMorton authored Jan 27, 2023
2 parents 4c9e816 + b7efb70 commit e184c50
Show file tree
Hide file tree
Showing 28 changed files with 6,911 additions and 2,044 deletions.
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
Unreleased
---

### Added
- Added `check_real`, `check_float`, `check_int`, and `check_intlike`
to provide a more flexible interface than `isreal`, `isfloat`, `isint`,
and `isintlike`, respectively (Issues
[#37](https://github.com/SethMMorton/fastnumbers/issues/37) and
[#39](https://github.com/SethMMorton/fastnumbers/issues/39))
- Added `try_real`, `try_float`, `try_int`, and `try_forceint`
to provide a more flexible interface than `fast_real`, `fast_float`, `fast_int`,
and `fast_forceint`, respectively (Issues
[#37](https://github.com/SethMMorton/fastnumbers/issues/37) and
[#40](https://github.com/SethMMorton/fastnumbers/issues/40))

### Changed
- `query_type` now sets `allow_underscores` to `False` by default
- Complete rewrite into C++ (Issues [#45](https://github.com/SethMMorton/fastnumbers/issues/45)
and [#56](https://github.com/SethMMorton/fastnumbers/issues/56))
- Removed support for Python 3.6

### Deprecated
- `isreal`, `isfloat`, `isint`, and `isintlike` are deprecated in
favor of `check_real`, `check_float`, `check_int`, and `check_intlike`,
though they will never be removed from the API
- `fast_real`, `fast_float`, `fast_int`, and `fast_forceint` are deprecated in
favor of `try_real`, `try_float`, `try_int`, and `try_forceint`,
though they will never be removed from the API

### Removed
- Support for Python 3.6

[3.2.1] - 2021-11-02
---
Expand Down
Loading

0 comments on commit e184c50

Please sign in to comment.