> Until the Python developers announce an actual timeline for removal > (if they ever do), I can't see any reason for Django to be concerned > about which formatting approach to use, apart from the immediate > concerns of style and efficiency.
I don't think Python will ever remove %-style formatting, even in a hypothetical "Python 4," because there are a lot of APIs (including Django's) that expose it. Guido mentions the logging package, but there are also a lot of third party packages that take %-style template strings as arguments to formatting functions. As a result, the %-style syntax will have to stick around until most of these packages convert over, and if the latest Python 3 documentation has even stopped recommending str.format() as a better alternative then I expect it to stick around for good. Best, Alex -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
