I remember Yuya saying we need to use bytestr() or '%r' because '%s' was clever.
Not sure it applies to this or not.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG2e9378f62232: py3: use '%f' for floats instead of '%s'
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
I remember Yuya saying we need to use bytestr() or '%r' because '%s' was clever. Not sure it applies to this or not.
This should be fine since we don't care the prettiness of the debug output.
Last time, I pointed out that '%f' was incompatible since the value was a
version number, and '%f' would print it as '1.000000'.