Show More
@@ -1,7 +1,7 b'' | |||||
1 | # -*- coding: utf-8 -*- |
|
1 | # -*- coding: utf-8 -*- | |
2 | """Magic functions for InteractiveShell. |
|
2 | """Magic functions for InteractiveShell. | |
3 |
|
3 | |||
4 |
$Id: Magic.py 23 |
|
4 | $Id: Magic.py 2344 2007-05-15 15:09:39Z vivainio $""" | |
5 |
|
5 | |||
6 | #***************************************************************************** |
|
6 | #***************************************************************************** | |
7 | # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and |
|
7 | # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and | |
@@ -2518,7 +2518,7 b' Defaulting color scheme to \'NoColor\'"""' | |||||
2518 | # typical Linux box involves several thousand entries, so efficiency |
|
2518 | # typical Linux box involves several thousand entries, so efficiency | |
2519 | # here is a top concern. |
|
2519 | # here is a top concern. | |
2520 |
|
2520 | |||
2521 |
path = filter(os.path.isdir,os.environ |
|
2521 | path = filter(os.path.isdir,os.environ.get('PATH','').split(os.pathsep)) | |
2522 | alias_table = self.shell.alias_table |
|
2522 | alias_table = self.shell.alias_table | |
2523 | for pdir in path: |
|
2523 | for pdir in path: | |
2524 | for ff in os.listdir(pdir): |
|
2524 | for ff in os.listdir(pdir): | |
@@ -2552,7 +2552,7 b' Defaulting color scheme to \'NoColor\'"""' | |||||
2552 | del ip.db['rootmodules'] |
|
2552 | del ip.db['rootmodules'] | |
2553 |
|
2553 | |||
2554 | path = [os.path.abspath(os.path.expanduser(p)) for p in |
|
2554 | path = [os.path.abspath(os.path.expanduser(p)) for p in | |
2555 |
os.environ |
|
2555 | os.environ.get('PATH','').split(os.pathsep)] | |
2556 | path = filter(os.path.isdir,path) |
|
2556 | path = filter(os.path.isdir,path) | |
2557 |
|
2557 | |||
2558 | alias_table = self.shell.alias_table |
|
2558 | alias_table = self.shell.alias_table |
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.' | |||||
6 |
|
6 | |||
7 | This file contains all the classes and helper functions specific to IPython. |
|
7 | This file contains all the classes and helper functions specific to IPython. | |
8 |
|
8 | |||
9 |
$Id: iplib.py 234 |
|
9 | $Id: iplib.py 2344 2007-05-15 15:09:39Z vivainio $ | |
10 | """ |
|
10 | """ | |
11 |
|
11 | |||
12 | #***************************************************************************** |
|
12 | #***************************************************************************** | |
@@ -1288,9 +1288,7 b' want to merge them back into the new files.""" % locals()' | |||||
1288 | Currently it handles auto-indent only.""" |
|
1288 | Currently it handles auto-indent only.""" | |
1289 |
|
1289 | |||
1290 | #debugx('self.indent_current_nsp','pre_readline:') |
|
1290 | #debugx('self.indent_current_nsp','pre_readline:') | |
1291 | print "prer",self.indent_current_nsp # dbg |
|
1291 | ||
1292 |
|
||||
1293 |
|
||||
1294 | self.readline.insert_text(self.indent_current_str()) |
|
1292 | self.readline.insert_text(self.indent_current_str()) | |
1295 |
|
1293 | |||
1296 | def init_readline(self): |
|
1294 | def init_readline(self): | |
@@ -1809,7 +1807,6 b' want to merge them back into the new files.""" % locals()' | |||||
1809 | #debugx('line') |
|
1807 | #debugx('line') | |
1810 | #debugx('self.indent_current_nsp') |
|
1808 | #debugx('self.indent_current_nsp') | |
1811 | if self.autoindent: |
|
1809 | if self.autoindent: | |
1812 | print "ind level", self.indent_current_nsp #dbg |
|
|||
1813 | if line: |
|
1810 | if line: | |
1814 | inisp = num_ini_spaces(line) |
|
1811 | inisp = num_ini_spaces(line) | |
1815 | if inisp < self.indent_current_nsp: |
|
1812 | if inisp < self.indent_current_nsp: |
@@ -1,7 +1,9 b'' | |||||
1 | 2007-05-15 Ville Vainio <vivainio@gmail.com> |
|
1 | 2007-05-15 Ville Vainio <vivainio@gmail.com> | |
2 |
|
2 | |||
3 |
* |
|
3 | * pycolorize.py, pycolor.1: Paul Mueller's patches that | |
4 | make pycolorize read input from stdin when run without arguments. |
|
4 | make pycolorize read input from stdin when run without arguments. | |
|
5 | ||||
|
6 | * Magic.py: do not require 'PATH' in %rehash/%rehashx. Closes #155 | |||
5 |
|
7 | |||
6 | 2007-05-10 Fernando Perez <Fernando.Perez@colorado.edu> |
|
8 | 2007-05-10 Fernando Perez <Fernando.Perez@colorado.edu> | |
7 |
|
9 |
General Comments 0
You need to be logged in to leave comments.
Login now