Added extended string formatting support for python2.6