From: Wang Mingyu <[email protected]>

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 <[email protected]>
---
 .../python/python3-fastnumbers_3.2.1.bb                | 10 ----------
 .../python/python3-fastnumbers_4.0.1.bb                | 10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-fastnumbers_3.2.1.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-fastnumbers_4.0.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-fastnumbers_3.2.1.bb 
b/meta-python/recipes-devtools/python/python3-fastnumbers_3.2.1.bb
deleted file mode 100644
index 0db33052f..000000000
--- a/meta-python/recipes-devtools/python/python3-fastnumbers_3.2.1.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-SUMMARY = "Super-fast and clean conversions to numbers."
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6a96e5ad780a0eea866ecccec4463517"
-
-PYPI_PACKAGE = "fastnumbers"
-
-SRC_URI[sha256sum] = 
"44f92b42e7e9f2ed77ba5cb7d664f05c17e43d4586718ed6cd3b3fffa0e67f33"
-
-inherit pypi setuptools3
diff --git a/meta-python/recipes-devtools/python/python3-fastnumbers_4.0.1.bb 
b/meta-python/recipes-devtools/python/python3-fastnumbers_4.0.1.bb
new file mode 100644
index 000000000..e3a0c6c0f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-fastnumbers_4.0.1.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Super-fast and clean conversions to numbers."
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=58db8ac9e152dd9b700f4d39ff40a31a"
+
+PYPI_PACKAGE = "fastnumbers"
+
+SRC_URI[sha256sum] = 
"3e7d74b1debb44c4803c0fea59a63d0785d6a26ebcb902e2262b3c3fba81b400"
+
+inherit pypi setuptools3
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100981): 
https://lists.openembedded.org/g/openembedded-devel/message/100981
Mute This Topic: https://lists.openembedded.org/mt/96826354/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to