##// END OF EJS Templates
make_quoted_expr no longer uses itpl (fix e.g. mkdir auml unicode problems)
vivainio -
Show More
@@ -5,7 +5,7 b' General purpose utilities.'
5 5 This is a grab-bag of stuff I find useful in most programs I write. Some of
6 6 these things are also convenient when working at the command line.
7 7
8 $Id: genutils.py 2763 2007-09-14 06:35:44Z fperez $"""
8 $Id: genutils.py 2767 2007-09-18 17:26:52Z vivainio $"""
9 9
10 10 #*****************************************************************************
11 11 # Copyright (C) 2001-2006 Fernando Perez. <fperez@colorado.edu>
@@ -1104,7 +1104,7 b' def make_quoted_expr(s):'
1104 1104 else:
1105 1105 # give up, backslash-escaped string will do
1106 1106 return '"%s"' % esc_quotes(s)
1107 res = itpl("$raw$quote$s$tailpadding$quote$tail")
1107 res = raw + quote + s + tailpadding + quote + tail
1108 1108 return res
1109 1109
1110 1110
@@ -1,3 +1,9 b''
1 2007-09-18 Ville Vainio <vivainio@gmail.com>
2
3 * genutils.py(make_quoted_expr): Do not use Itpl, it does
4 not support unicode at the moment. Fixes (many) magic calls with
5 special characters.
6
1 7 2007-09-14 Fernando Perez <Fernando.Perez@colorado.edu>
2 8
3 9 * IPython/genutils.py (doctest_reload): expose the doctest
General Comments 0
You need to be logged in to leave comments. Login now