Message 86680 - Python tracker (original) (raw)
I don't see any problem with dealing with width, alignment and padding with a user-specified fill character; I think we should keep these if possible. It's just zero padding where it's not clear what should happen.
You're correct. It's just zero padding that would be disabled.
For the bits that are disabled (e.g., zero padding), should there be a ValueError raised, or do those bits just get silently ignored?
I think a ValueError would be best. That way if we decide to give it some meaning in the future, we know it won't change any working code.