[issue20150] API breakage in string formatting with :s option

2014-01-06 Thread Eric V. Smith
Eric V. Smith added the comment: See issue 7994 and issue 9856. This behavior has been deprecated for a while, and is now an error. -- assignee: -> eric.smith resolution: -> invalid status: open -> closed ___ Python tracker

[issue20150] API breakage in string formatting with :s option

2014-01-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.smith, ezio.melotti, larry type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mai

[issue20150] API breakage in string formatting with :s option

2014-01-06 Thread Thomas Robitaille
New submission from Thomas Robitaille: The following code: >>> "{0:s}".format([1,2,3]) no longer works in Python 3.4b1, and gives the following exception: >>> "{0:s}".format([1,2,3]) Traceback (most recent call last): File "", line 1, in TypeError: non-empty format string passed to object._