summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-fastnumbers_4.0.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-fastnumbers: upgrade 4.0.1 -> 5.0.1Wang Mingyu2023-03-041-10/+0
| | | | | | | | | | | | | | | | | | | | | | Changelog: =========== Added -------- Added the map option to all try_* functions to enable very fast conversions of lists or other iterables (issues #61, #63 and #67) Added try_array to enable very fast conversions directly to numpy arrays (issues #62 and #65) Changed --------- Move to a model where the return code is a value or error instead of a model where one has to check the error state after getting a value (issue #66) Significantly simplified the type annotations (by 4000+ lines!) Fixed ------- Increased code coverage and fixed missing headers in codecov reaport (issue #64) Add back missing key option in type hints for deprecated fast_* functions Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-fastnumbers: upgrade 3.2.1 -> 4.0.1Wang Mingyu2023-02-081-0/+10
License-Update: Copyright year updated to 2021. Changelog: ========== - Removed a nasty memory leak that would cause every number returned from 'fastnumbers' to never get freed. - Added 'check_real', 'check_float', 'check_int', and 'check_intlike' to provide a more flexible interface than 'isreal', 'isfloat', 'isint', and 'isintlike', respectively - 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 - Added Python 3.11 support - 'query_type' now sets 'allow_underscores' to 'False' by default - Complete rewrite into C++ - All functions now use use 'METH_FASTCALL' to pass arguments from Python to C - Always parse integers using 'int64_t' instead of using 'long' to ensure we can always quickly parse at least 18 digits - Parsing floats now always uses the fast and robust parser ['fast_float::from_chars()'](https://github.com/fastfloat/fast_float) - '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 - Support for Python 3.6 - Removed the undocumented 'dig', 'max_exp', 'min_exp', and 'max_int_len' module-level constants, as they are now meaningless Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>