Show More
@@ -1,7 +1,7 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """Magic functions for InteractiveShell. |
|
3 | 3 | |
|
4 |
$Id: Magic.py 101 |
|
|
4 | $Id: Magic.py 1018 2006-01-14 11:02:50Z vivainio $""" | |
|
5 | 5 | |
|
6 | 6 | #***************************************************************************** |
|
7 | 7 | # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and |
@@ -2303,6 +2303,9 b' Defaulting color scheme to \'NoColor\'"""' | |||
|
2303 | 2303 | else: |
|
2304 | 2304 | opts = {} |
|
2305 | 2305 | else: |
|
2306 | #turn all non-space-escaping backslashes to slashes, | |
|
2307 | # for c:\windows\directory\names\ | |
|
2308 | parameter_s = re.sub(r'\\(?! )','/', parameter_s) | |
|
2306 | 2309 | opts,ps = self.parse_options(parameter_s,'qb',mode='string') |
|
2307 | 2310 | # jump to previous |
|
2308 | 2311 | if ps == '-': |
@@ -4,6 +4,11 b'' | |||
|
4 | 4 | ipapi decorators for python 2.4 users, options() provides access to rc |
|
5 | 5 | data. |
|
6 | 6 | |
|
7 | * IPython/Magic.py (magic_cd): %cd now accepts backslashes | |
|
8 | as path separators (even on Linux ;-). Space character after | |
|
9 | backslash (as yielded by tab completer) is still space; | |
|
10 | "%cd long\ name" works as expected. | |
|
11 | ||
|
7 | 12 | |
|
8 | 13 | 2006-01-13 Ville Vainio <vivainio@gmail.com> |
|
9 | 14 |
General Comments 0
You need to be logged in to leave comments.
Login now