Hi folks,

Apologies in advance if this topic has already been raised. I don't believe 
I've seen it on the list since I've been subscribed.

Since Django 1.5 has set the minimum version of Python at 2.6, and in 
conjunction with the push to make Django more Python 3 compatible, should 
we slowly start migrating to the new format string [1] syntax? The Python 
docs state that it is the new standard in Python 3, and should be preferred 
to the old %-style formatting. The %-style was supposed to be deprecated in 
Python 3.1. Whilst I'm a little vague on whether it's been officially 
deprecated yet, it is slated to be removed from Python altogether at some 
point.

The new str.format() method is supported by Python 2.6 onwards.

1: http://docs.python.org/library/string.html#format-string-syntax

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/AL3i6DKvsN0J.
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.

Reply via email to