Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:
I am not sure fixing this quirk of %-formatting is worth the trouble given that one simply use new style {}-formatting: $ python-c 'import sys; print("{}.{}.{}-{}-{}".format(*sys.version_info))' 3.2.0-alpha-0 or a work-around $ python -c 'import sys; print("%s.%s.%s-%s-%s" % tuple(sys.version_info))' 3.2.0-alpha-0 ---------- nosy: +Alexander.Belopolsky _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8413> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com