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

Restore force_frac to NumberPattern.apply() (as deprecated) #577

Merged
merged 1 commit into from
May 18, 2018

Conversation

akx
Copy link
Member

@akx akx commented May 7, 2018

This retains backwards compatibility (at least as far as the function's
signature is concerned) with users that are using NumberPattern.apply()
directly.

See: #550
See: #569

Also refs #494 and #538.

This retains backwards compatibility (at least as far as the function's
signature is concerned) with users that are using NumberPattern.apply()
directly.

See: python-babel#550
See: python-babel#569
@akx
Copy link
Member Author

akx commented May 7, 2018

@kdeldycke Can I ask you to look over this real quick, as you're the decimal architect? :)

@codecov-io
Copy link

codecov-io commented May 7, 2018

Codecov Report

Merging #577 into master will decrease coverage by 0.04%.
The diff coverage is 60%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #577      +/-   ##
==========================================
- Coverage   90.23%   90.19%   -0.05%     
==========================================
  Files          24       24              
  Lines        4045     4048       +3     
==========================================
+ Hits         3650     3651       +1     
- Misses        395      397       +2
Impacted Files Coverage Δ
babel/numbers.py 97.36% <60%> (-0.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1378a3d...1377559. Read the comment docs.

@kdeldycke
Copy link
Contributor

This PR is indeed good enough to temporarily restore backward-compatibility while we wait for removing that in a future release.

Let's merge! 👍

@akx akx merged commit 8060b2c into python-babel:master May 18, 2018
@akx akx deleted the pattern-prec branch May 18, 2018 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants