FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-67790: Support float-style formatting for Fraction instances by mdickinson · Pull Request #100161 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-67790: Support float-style formatting for Fraction instances
- #100161
#100161
Merged
mdickinson
merged 34 commits into
python:main
python/cpython:main
from
mdickinson:fraction-format
mdickinson/cpython:fraction-format
Copy head branch name to clipboard
Jan 22, 2023
Conversation
Commits
34
(34)
Checks
Files changed
Merged
gh-67790: Support float-style formatting for Fraction instances
#100161
mdickinson
merged 34 commits into
python:main
python/cpython:main
from
mdickinson:fraction-format
mdickinson/cpython:fraction-format
Copy head branch name to clipboard
Commits
Commits on Dec 3, 2022
Add '.f' formatting for Fraction objects
mdickinson
committed
8cf8d31
View commit details
Copy full SHA for 8cf8d31
Browse repository at this point
Add support for % and F format specifiers
mdickinson
committed
e9db697
View commit details
Copy full SHA for e9db697
Browse repository at this point
Commits on Dec 4, 2022
Add support for 'z' flag
mdickinson
committed
6491b04
View commit details
Copy full SHA for 6491b04
Browse repository at this point
Tidy up of business logic
mdickinson
committed
4551468
View commit details
Copy full SHA for 4551468
Browse repository at this point
Add support for 'e' presentation type
mdickinson
committed
43d34fc
View commit details
Copy full SHA for 43d34fc
Browse repository at this point
Add support for 'g' presentation type; tidy
mdickinson
committed
f8dfcb9
View commit details
Copy full SHA for f8dfcb9
Browse repository at this point
Commits on Dec 10, 2022
Tidying
mdickinson
committed
6bfbc6c
View commit details
Copy full SHA for 6bfbc6c
Browse repository at this point
Add news entry
mdickinson
committed
48629b7
View commit details
Copy full SHA for 48629b7
Browse repository at this point
Add documentation
mdickinson
committed
3d21af2
View commit details
Copy full SHA for 3d21af2
Browse repository at this point
Add what's new entry
mdickinson
committed
c86a57e
View commit details
Copy full SHA for c86a57e
Browse repository at this point
Fix backticks:
mdickinson
committed
b521efb
View commit details
Copy full SHA for b521efb
Browse repository at this point
Fix more missing backticks
mdickinson
committed
aac576e
View commit details
Copy full SHA for aac576e
Browse repository at this point
Fix indentation
mdickinson
committed
b9ee0ff
View commit details
Copy full SHA for b9ee0ff
Browse repository at this point
Wordsmithing for consistency with other method definitions
mdickinson
committed
1c8b8a9
View commit details
Copy full SHA for 1c8b8a9
Browse repository at this point
Add link to the format specification mini-language
mdickinson
committed
9dbde3b
View commit details
Copy full SHA for 9dbde3b
Browse repository at this point
Fix: not true that thousands separators cannot have an effect for the 'e' presentation type
mdickinson
committed
2dd48bb
View commit details
Copy full SHA for 2dd48bb
Browse repository at this point
Fix typo in comment
mdickinson
committed
983726f
View commit details
Copy full SHA for 983726f
Browse repository at this point
Commits on Dec 21, 2022
Tweak docstring and comments for _round_to_exponent
mdickinson
committed
b7e5129
View commit details
Copy full SHA for b7e5129
Browse repository at this point
Second pass on docstring and comments for _round_to_figures
mdickinson
committed
cb5e234
View commit details
Copy full SHA for cb5e234
Browse repository at this point
Add tests for the corner case of zero minimum width + alignment
mdickinson
committed
907487e
View commit details
Copy full SHA for 907487e
Browse repository at this point
Tests for the case of zero padding _and_ a zero minimum width
mdickinson
committed
aba35f3
View commit details
Copy full SHA for aba35f3
Browse repository at this point
Cleanup of __format__ method
mdickinson
committed
fc4d3b5
View commit details
Copy full SHA for fc4d3b5
Browse repository at this point
Add test cases from original issue and discussion thread
mdickinson
committed
4ccdf94
View commit details
Copy full SHA for 4ccdf94
Browse repository at this point
Merge branch 'main' into fraction-format
mdickinson
authored
b358b37
View commit details
Copy full SHA for b358b37
Browse repository at this point
Tighten up the regex - extra leading zeros not permitted
mdickinson
committed
67e020c
View commit details
Copy full SHA for 67e020c
Browse repository at this point
Merge remote-tracking branch 'mdickinson/fraction-format' into fraction-format
mdickinson
committed
e240c70
View commit details
Copy full SHA for e240c70
Browse repository at this point
Add tests for a few more fill character corner cases
mdickinson
committed
111c41f
View commit details
Copy full SHA for 111c41f
Browse repository at this point
Commits on Jan 22, 2023
Merge remote-tracking branch 'upstream/main' into fraction-format
mdickinson
committed
d8cc3d6
View commit details
Copy full SHA for d8cc3d6
Browse repository at this point
Add testcases for no presentation type with an integral fraction
mdickinson
committed
fff3751
View commit details
Copy full SHA for fff3751
Browse repository at this point
Rename the regex to allow for future API expansion
mdickinson
committed
0b8bfa6
View commit details
Copy full SHA for 0b8bfa6
Browse repository at this point
Tweak comment
mdickinson
committed
54ed402
View commit details
Copy full SHA for 54ed402
Browse repository at this point
Tweak algorithm comments
mdickinson
committed
e3a5fd2
View commit details
Copy full SHA for e3a5fd2
Browse repository at this point
Fix incorrect acceptance of Z instead of z
mdickinson
committed
098d34c
View commit details
Copy full SHA for 098d34c
Browse repository at this point
Use consistent quote style in tests
mdickinson
committed
2c476a2
View commit details
Copy full SHA for 2c476a2
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL