Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] gh-114014: Update fractions.Fraction()'s rational parsing regex (GH-114015) #114023

Merged
merged 2 commits into from
Jan 13, 2024

Commits on Jan 13, 2024

  1. pythongh-114014: Update fractions.Fraction()'s rational parsing reg…

    …ex (pythonGH-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.
    
    ---------
    
    (cherry picked from commit dd56b57)
    
    Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
    Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
    3 people authored and miss-islington committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    1cf418f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1973885 View commit details
    Browse the repository at this point in the history