Eli Bendersky added the comment: On Wed, Aug 14, 2013 at 11:56 AM, Eric V. Smith <rep...@bugs.python.org>wrote:
> > Eric V. Smith added the comment: > > For format, I think the question is "should an IntEnum format like an int, > with the wacky exception of a specifier of '', or should it always format > like a str?" > > I assumed we'd want it to look like the str() version of itself, always. > But it's debatable. > > I agree the %-formatting question is different, and I further think > there's not much we can do there. > How about always being a string, unless integer formatting "%i" / {d} is explicitly requested? The alternative (always a string) is also fine, but the behavior should be consistent. Certainly field-width-justification ({:}) can't affect the formatting. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18738> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com