Ethan Furman added the comment: > Eric V. Smith added the comment: > > I think the answers should be: > > - Formats as int if the length of the format spec is >= 1 and it ends in > one of "bdoxX" (the int presentation types).
Hmmm. How about defining the characters that will be supported for string interpretation, and if there are any other characters in format spec then go int (or whatever the mix-in type is)? I'm thinking "<^>01234566789". Anything else ("+", all letter codes, etc.) gets the normal (host-type) treatment. ---------- _______________________________________ 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