[3.11] gh-114014: Update `fractions.Fraction()`'s rational parsing regex (GH-114015) by mdickinson · Pull Request #114025 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
…ex (python#114015) Fix a bug in the regex used for parsing a string input to the `fractions.Fraction` constructor. That bug led to an inconsistent exception message being given for some inputs. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
This was referenced
mdickinson
changed the title
[3.11] gh-114014: Update fractions.Fraction()'s rational parsing regex (GH-114015)
[3.11] gh-114014: Update fractions.Fraction()'s rational parsing regex (GH-114015)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters