-
-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
gh-117348: Refactored RawConfigParser._read for simplicity and comprehensibility #117372
gh-117348: Refactored RawConfigParser._read for simplicity and comprehensibility #117372
Commits on Mar 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a25ac00 - Browse repository at this point
Copy the full SHA a25ac00View commit details -
Extract method for _raise_all and yield ParseErrors from _read_inner.
Reduces complexity by 1 and reduces touch points for handling errors in _read_inner.
Configuration menu - View commit details
-
Copy full SHA for 1e69aae - Browse repository at this point
Copy the full SHA 1e69aaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c47781 - Browse repository at this point
Copy the full SHA 8c47781View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7479814 - Browse repository at this point
Copy the full SHA 7479814View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2fffee - Browse repository at this point
Copy the full SHA a2fffeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23468cb - Browse repository at this point
Copy the full SHA 23468cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d1ef0a - Browse repository at this point
Copy the full SHA 3d1ef0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 071baeb - Browse repository at this point
Copy the full SHA 071baebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f4ce2 - Browse repository at this point
Copy the full SHA 81f4ce2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8942cc1 - Browse repository at this point
Copy the full SHA 8942cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e72168 - Browse repository at this point
Copy the full SHA 1e72168View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dfd797 - Browse repository at this point
Copy the full SHA 0dfd797View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77ed897 - Browse repository at this point
Copy the full SHA 77ed897View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76f42d3 - Browse repository at this point
Copy the full SHA 76f42d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c18a2bb - Browse repository at this point
Copy the full SHA c18a2bbView commit details -
Move _raise_all to ParsingError, as its behavior is most closely rela…
…ted to the exception class and not the reader.
Configuration menu - View commit details
-
Copy full SHA for 97aa785 - Browse repository at this point
Copy the full SHA 97aa785View commit details -
Configuration menu - View commit details
-
Copy full SHA for d310cb4 - Browse repository at this point
Copy the full SHA d310cb4View commit details -
Refactor _strip_full to compute the strip just once and use 'not any'…
… to determine the factor.
Configuration menu - View commit details
-
Copy full SHA for f2a355c - Browse repository at this point
Copy the full SHA f2a355cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2492614 - Browse repository at this point
Copy the full SHA 2492614View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4968591 - Browse repository at this point
Copy the full SHA 4968591View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d807bb - Browse repository at this point
Copy the full SHA 7d807bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29cb20f - Browse repository at this point
Copy the full SHA 29cb20fView commit details -
Use a regular expression to search for the first match.
Avoids mutating variables and tricky logic and over-computing all of the starts when only the first is relevant.
Configuration menu - View commit details
-
Copy full SHA for c834c35 - Browse repository at this point
Copy the full SHA c834c35View commit details