walterbyrd schrieb: > On Dec 19, 9:13 am, "Giampaolo Rodola'" <gne...@gmail.com> wrote: >> You can use the old 2.x syntax also in Python 3.x: > > Yeah, but it's deprecated, and - as I understand it - may be removed > completely in future versions. Also, in the future, if you are working > with code from another developer, it's likely that developer will use > the new format. I suppose you can use both - but what an awful mess > that would be.
It's not going to be removed for many years - if ever. The % string formatting system is not deprecated in 3.0. For that very reason it must stay until 3.2. We don't have plans to deprecate it in 3.1 so it will stay at least until Python 3.3 which is to be released about 2014. Christian -- http://mail.python.org/mailman/listinfo/python-list