-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have --incompatible_string_replace_count reject None counts
This is another change to bring string.replace() in line with the spec. Safe to modify the flag since it has not been released yet. Eliminated use of parameterization in test suite since it caused test cases that didn't need it to be cloned. Also add RELNOTES in this CL for the flag. Follow-up work to #9181. RELNOTES: Added --incompatible_string_replace_count, to make string.replace() behave as in Python. PiperOrigin-RevId: 309483323
- Loading branch information
1 parent
0f38eea
commit d75a488
Showing
3 changed files
with
45 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters