-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
P2675R1 <format>
generator converted from C++ to Python
#3994
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: achabense <60953653+achabense@users.noreply.github.com>
<format>
generator converted from C++ to Python
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
> add comment for `fill_range` > rename some variables > type: bool~>int > refine names for the two function; simplify comments > better message
This comment was marked as resolved.
This comment was marked as resolved.
pr3994 review suggestions
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
for pr3994 2
I've pushed a merge with
Because this table is changing over time, it's important to capture the filename/timestamp (with version info) so we can easily see when the table was last regenerated. The other changes allow the output to be copy-pasted into C++ and then clang-formatted, which is how the other generators behave too. |
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
tools/unicode_properties_parse/format_width_estimate_intervals.py
Outdated
Show resolved
Hide resolved
@StephanTLavavej, I've pushed changes (to change a comment explanation) after you approved. |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
📖 ⚡ 🐍 |
Fixes #3908