summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2021-06-07 07:06:33 (GMT)
committerGitHub <noreply@github.com>2021-06-07 07:06:33 (GMT)
commit89e50ab36fac6a0e7f1998501f36fcd2872a6604 (patch)
tree8f708926c1f7f64b60d7da505fd0dbe8e1d2d4a4 /Misc/NEWS.d
parentafb2eed72b32a35b4726ff35f92e4fbf54926046 (diff)
downloadcpython-89e50ab36fac6a0e7f1998501f36fcd2872a6604.zip
cpython-89e50ab36fac6a0e7f1998501f36fcd2872a6604.tar.gz
cpython-89e50ab36fac6a0e7f1998501f36fcd2872a6604.tar.bz2
bpo-44258: support PEP 515 for Fraction's initialization from string (GH-26422)
* bpo-44258: support PEP 515 for Fraction's initialization from string * regexps's version * A different regexps version, which doesn't suffer from catastrophic backtracking * revert denom -> den * strip "_" from the decimal str, add few tests * drop redundant tests * Add versionchanged & whatsnew entry * Amend Fraction constructor docs * Change .. versionchanged:...
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2021-05-28-09-43-33.bpo-44258.nh5F7R.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-05-28-09-43-33.bpo-44258.nh5F7R.rst b/Misc/NEWS.d/next/Library/2021-05-28-09-43-33.bpo-44258.nh5F7R.rst
new file mode 100644
index 0000000..b963689
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-05-28-09-43-33.bpo-44258.nh5F7R.rst
@@ -0,0 +1 @@
+Support PEP 515 for Fraction's initialization from string.