|
@@
-1,4531
+1,4546
b''
|
|
1
|
2005-12-27 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
1
|
2005-12-27 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
2
|
|
|
2
|
|
|
|
|
|
3
|
* IPython/completer.py (MagicCompleter.__init__): new 'completer'
|
|
|
|
|
4
|
module to better organize all readline-related functionality.
|
|
|
|
|
5
|
I've deleted FlexCompleter and put all completion clases here.
|
|
|
|
|
6
|
|
|
3
|
* IPython/iplib.py (raw_input): improve indentation management.
|
|
7
|
* IPython/iplib.py (raw_input): improve indentation management.
|
|
4
|
It is now possible to paste indented code with autoindent on, and
|
|
8
|
It is now possible to paste indented code with autoindent on, and
|
|
5
|
the code is interpreted correctly (though it still looks bad on
|
|
9
|
the code is interpreted correctly (though it still looks bad on
|
|
6
|
screen, due to the line-oriented nature of ipython).
|
|
10
|
screen, due to the line-oriented nature of ipython).
|
|
7
|
(MagicCompleter.complete): change behavior so that a TAB key on an
|
|
11
|
(MagicCompleter.complete): change behavior so that a TAB key on an
|
|
8
|
otherwise empty line actually inserts a tab, instead of completing
|
|
12
|
otherwise empty line actually inserts a tab, instead of completing
|
|
9
|
on the entire global namespace. This makes it easier to use the
|
|
13
|
on the entire global namespace. This makes it easier to use the
|
|
10
|
TAB key for indentation. After a request by Hans Meine
|
|
14
|
TAB key for indentation. After a request by Hans Meine
|
|
11
|
<hans_meine-AT-gmx.net>
|
|
15
|
<hans_meine-AT-gmx.net>
|
|
|
|
|
16
|
(_prefilter): add support so that typing plain 'exit' or 'quit'
|
|
|
|
|
17
|
does a sensible thing. Originally I tried to deviate as little as
|
|
|
|
|
18
|
possible from the default python behavior, but even that one may
|
|
|
|
|
19
|
change in this direction (thread on python-dev to that effect).
|
|
|
|
|
20
|
Regardless, ipython should do the right thing even if CPython's
|
|
|
|
|
21
|
'>>>' prompt doesn't.
|
|
|
|
|
22
|
(InteractiveShell): removed subclassing code.InteractiveConsole
|
|
|
|
|
23
|
class. By now we'd overridden just about all of its methods: I've
|
|
|
|
|
24
|
copied the remaining two over, and now ipython is a standalone
|
|
|
|
|
25
|
class. This will provide a clearer picture for the chainsaw
|
|
|
|
|
26
|
branch refactoring.
|
|
12
|
|
|
27
|
|
|
13
|
2005-12-26 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
28
|
2005-12-26 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
14
|
|
|
29
|
|
|
15
|
* IPython/ultraTB.py (VerboseTB.text): harden reporting against
|
|
30
|
* IPython/ultraTB.py (VerboseTB.text): harden reporting against
|
|
16
|
failures for objects which break when dir() is called on them.
|
|
31
|
failures for objects which break when dir() is called on them.
|
|
17
|
|
|
32
|
|
|
18
|
* IPython/FlexCompleter.py (Completer.__init__): Added support for
|
|
33
|
* IPython/FlexCompleter.py (Completer.__init__): Added support for
|
|
19
|
distinct local and global namespaces in the completer API. This
|
|
34
|
distinct local and global namespaces in the completer API. This
|
|
20
|
change allows us top properly handle completion with distinct
|
|
35
|
change allows us top properly handle completion with distinct
|
|
21
|
scopes, including in embedded instances (this had never really
|
|
36
|
scopes, including in embedded instances (this had never really
|
|
22
|
worked correctly).
|
|
37
|
worked correctly).
|
|
23
|
|
|
38
|
|
|
24
|
Note: this introduces a change in the constructor for
|
|
39
|
Note: this introduces a change in the constructor for
|
|
25
|
MagicCompleter, as a new global_namespace parameter is now the
|
|
40
|
MagicCompleter, as a new global_namespace parameter is now the
|
|
26
|
second argument (the others were bumped one position).
|
|
41
|
second argument (the others were bumped one position).
|
|
27
|
|
|
42
|
|
|
28
|
2005-12-25 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
43
|
2005-12-25 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
29
|
|
|
44
|
|
|
30
|
* IPython/iplib.py (embed_mainloop): fix tab-completion in
|
|
45
|
* IPython/iplib.py (embed_mainloop): fix tab-completion in
|
|
31
|
embedded instances (which can be done now thanks to Vivian's
|
|
46
|
embedded instances (which can be done now thanks to Vivian's
|
|
32
|
frame-handling fixes for pdb).
|
|
47
|
frame-handling fixes for pdb).
|
|
33
|
(InteractiveShell.__init__): Fix namespace handling problem in
|
|
48
|
(InteractiveShell.__init__): Fix namespace handling problem in
|
|
34
|
embedded instances. We were overwriting __main__ unconditionally,
|
|
49
|
embedded instances. We were overwriting __main__ unconditionally,
|
|
35
|
and this should only be done for 'full' (non-embedded) IPython;
|
|
50
|
and this should only be done for 'full' (non-embedded) IPython;
|
|
36
|
embedded instances must respect the caller's __main__. Thanks to
|
|
51
|
embedded instances must respect the caller's __main__. Thanks to
|
|
37
|
a bug report by Yaroslav Bulatov <yaroslavvb-AT-gmail.com>
|
|
52
|
a bug report by Yaroslav Bulatov <yaroslavvb-AT-gmail.com>
|
|
38
|
|
|
53
|
|
|
39
|
2005-12-24 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
54
|
2005-12-24 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
40
|
|
|
55
|
|
|
41
|
* setup.py: added download_url to setup(). This registers the
|
|
56
|
* setup.py: added download_url to setup(). This registers the
|
|
42
|
download address at PyPI, which is not only useful to humans
|
|
57
|
download address at PyPI, which is not only useful to humans
|
|
43
|
browsing the site, but is also picked up by setuptools (the Eggs
|
|
58
|
browsing the site, but is also picked up by setuptools (the Eggs
|
|
44
|
machinery). Thanks to Ville and R. Kern for the info/discussion
|
|
59
|
machinery). Thanks to Ville and R. Kern for the info/discussion
|
|
45
|
on this.
|
|
60
|
on this.
|
|
46
|
|
|
61
|
|
|
47
|
2005-12-23 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
62
|
2005-12-23 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
48
|
|
|
63
|
|
|
49
|
* IPython/Debugger.py (Pdb.__init__): Major pdb mode enhancements.
|
|
64
|
* IPython/Debugger.py (Pdb.__init__): Major pdb mode enhancements.
|
|
50
|
This brings a lot of nice functionality to the pdb mode, which now
|
|
65
|
This brings a lot of nice functionality to the pdb mode, which now
|
|
51
|
has tab-completion, syntax highlighting, and better stack handling
|
|
66
|
has tab-completion, syntax highlighting, and better stack handling
|
|
52
|
than before. Many thanks to Vivian De Smedt
|
|
67
|
than before. Many thanks to Vivian De Smedt
|
|
53
|
<vivian-AT-vdesmedt.com> for the original patches.
|
|
68
|
<vivian-AT-vdesmedt.com> for the original patches.
|
|
54
|
|
|
69
|
|
|
55
|
2005-12-08 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
70
|
2005-12-08 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
56
|
|
|
71
|
|
|
57
|
* IPython/Shell.py (IPShellGTK.mainloop): fix mainloop() calling
|
|
72
|
* IPython/Shell.py (IPShellGTK.mainloop): fix mainloop() calling
|
|
58
|
sequence to consistently accept the banner argument. The
|
|
73
|
sequence to consistently accept the banner argument. The
|
|
59
|
inconsistency was tripping SAGE, thanks to Gary Zablackis
|
|
74
|
inconsistency was tripping SAGE, thanks to Gary Zablackis
|
|
60
|
<gzabl-AT-yahoo.com> for the report.
|
|
75
|
<gzabl-AT-yahoo.com> for the report.
|
|
61
|
|
|
76
|
|
|
62
|
2005-11-15 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
77
|
2005-11-15 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
63
|
|
|
78
|
|
|
64
|
* IPython/iplib.py (InteractiveShell.post_config_initialization):
|
|
79
|
* IPython/iplib.py (InteractiveShell.post_config_initialization):
|
|
65
|
Fix bug where a naked 'alias' call in the ipythonrc file would
|
|
80
|
Fix bug where a naked 'alias' call in the ipythonrc file would
|
|
66
|
cause a crash. Bug reported by Jorgen Stenarson.
|
|
81
|
cause a crash. Bug reported by Jorgen Stenarson.
|
|
67
|
|
|
82
|
|
|
68
|
2005-11-15 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
83
|
2005-11-15 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
69
|
|
|
84
|
|
|
70
|
* IPython/ipmaker.py (make_IPython): cleanups which should improve
|
|
85
|
* IPython/ipmaker.py (make_IPython): cleanups which should improve
|
|
71
|
startup time.
|
|
86
|
startup time.
|
|
72
|
|
|
87
|
|
|
73
|
* IPython/iplib.py (runcode): my globals 'fix' for embedded
|
|
88
|
* IPython/iplib.py (runcode): my globals 'fix' for embedded
|
|
74
|
instances had introduced a bug with globals in normal code. Now
|
|
89
|
instances had introduced a bug with globals in normal code. Now
|
|
75
|
it's working in all cases.
|
|
90
|
it's working in all cases.
|
|
76
|
|
|
91
|
|
|
77
|
* IPython/Magic.py (magic_psearch): Finish wildcard cleanup and
|
|
92
|
* IPython/Magic.py (magic_psearch): Finish wildcard cleanup and
|
|
78
|
API changes. A new ipytonrc option, 'wildcards_case_sensitive'
|
|
93
|
API changes. A new ipytonrc option, 'wildcards_case_sensitive'
|
|
79
|
has been introduced to set the default case sensitivity of the
|
|
94
|
has been introduced to set the default case sensitivity of the
|
|
80
|
searches. Users can still select either mode at runtime on a
|
|
95
|
searches. Users can still select either mode at runtime on a
|
|
81
|
per-search basis.
|
|
96
|
per-search basis.
|
|
82
|
|
|
97
|
|
|
83
|
2005-11-13 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
98
|
2005-11-13 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
84
|
|
|
99
|
|
|
85
|
* IPython/wildcard.py (NameSpace.__init__): fix resolution of
|
|
100
|
* IPython/wildcard.py (NameSpace.__init__): fix resolution of
|
|
86
|
attributes in wildcard searches for subclasses. Modified version
|
|
101
|
attributes in wildcard searches for subclasses. Modified version
|
|
87
|
of a patch by Jorgen.
|
|
102
|
of a patch by Jorgen.
|
|
88
|
|
|
103
|
|
|
89
|
2005-11-12 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
104
|
2005-11-12 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
90
|
|
|
105
|
|
|
91
|
* IPython/iplib.py (embed_mainloop): Fix handling of globals for
|
|
106
|
* IPython/iplib.py (embed_mainloop): Fix handling of globals for
|
|
92
|
embedded instances. I added a user_global_ns attribute to the
|
|
107
|
embedded instances. I added a user_global_ns attribute to the
|
|
93
|
InteractiveShell class to handle this.
|
|
108
|
InteractiveShell class to handle this.
|
|
94
|
|
|
109
|
|
|
95
|
2005-10-31 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
110
|
2005-10-31 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
96
|
|
|
111
|
|
|
97
|
* IPython/Shell.py (IPShellGTK.mainloop): Change timeout_add to
|
|
112
|
* IPython/Shell.py (IPShellGTK.mainloop): Change timeout_add to
|
|
98
|
idle_add, which fixes horrible keyboard lag problems under gtk 2.6
|
|
113
|
idle_add, which fixes horrible keyboard lag problems under gtk 2.6
|
|
99
|
(reported under win32, but may happen also in other platforms).
|
|
114
|
(reported under win32, but may happen also in other platforms).
|
|
100
|
Bug report and fix courtesy of Sean Moore <smm-AT-logic.bm>
|
|
115
|
Bug report and fix courtesy of Sean Moore <smm-AT-logic.bm>
|
|
101
|
|
|
116
|
|
|
102
|
2005-10-15 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
117
|
2005-10-15 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
103
|
|
|
118
|
|
|
104
|
* IPython/Magic.py (magic_psearch): new support for wildcard
|
|
119
|
* IPython/Magic.py (magic_psearch): new support for wildcard
|
|
105
|
patterns. Now, typing ?a*b will list all names which begin with a
|
|
120
|
patterns. Now, typing ?a*b will list all names which begin with a
|
|
106
|
and end in b, for example. The %psearch magic has full
|
|
121
|
and end in b, for example. The %psearch magic has full
|
|
107
|
docstrings. Many thanks to Jörgen Stenarson
|
|
122
|
docstrings. Many thanks to Jörgen Stenarson
|
|
108
|
<jorgen.stenarson-AT-bostream.nu>, author of the patches
|
|
123
|
<jorgen.stenarson-AT-bostream.nu>, author of the patches
|
|
109
|
implementing this functionality.
|
|
124
|
implementing this functionality.
|
|
110
|
|
|
125
|
|
|
111
|
2005-09-27 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
126
|
2005-09-27 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
112
|
|
|
127
|
|
|
113
|
* Manual: fixed long-standing annoyance of double-dashes (as in
|
|
128
|
* Manual: fixed long-standing annoyance of double-dashes (as in
|
|
114
|
--prefix=~, for example) being stripped in the HTML version. This
|
|
129
|
--prefix=~, for example) being stripped in the HTML version. This
|
|
115
|
is a latex2html bug, but a workaround was provided. Many thanks
|
|
130
|
is a latex2html bug, but a workaround was provided. Many thanks
|
|
116
|
to George K. Thiruvathukal <gthiruv-AT-luc.edu> for the detailed
|
|
131
|
to George K. Thiruvathukal <gthiruv-AT-luc.edu> for the detailed
|
|
117
|
help, and Michael Tobis <mtobis-AT-gmail.com> for getting the ball
|
|
132
|
help, and Michael Tobis <mtobis-AT-gmail.com> for getting the ball
|
|
118
|
rolling. This seemingly small issue had tripped a number of users
|
|
133
|
rolling. This seemingly small issue had tripped a number of users
|
|
119
|
when first installing, so I'm glad to see it gone.
|
|
134
|
when first installing, so I'm glad to see it gone.
|
|
120
|
|
|
135
|
|
|
121
|
2005-09-27 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
136
|
2005-09-27 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
122
|
|
|
137
|
|
|
123
|
* IPython/Extensions/numeric_formats.py: fix missing import,
|
|
138
|
* IPython/Extensions/numeric_formats.py: fix missing import,
|
|
124
|
reported by Stephen Walton.
|
|
139
|
reported by Stephen Walton.
|
|
125
|
|
|
140
|
|
|
126
|
2005-09-24 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
141
|
2005-09-24 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
127
|
|
|
142
|
|
|
128
|
* IPython/demo.py: finish demo module, fully documented now.
|
|
143
|
* IPython/demo.py: finish demo module, fully documented now.
|
|
129
|
|
|
144
|
|
|
130
|
* IPython/genutils.py (file_read): simple little utility to read a
|
|
145
|
* IPython/genutils.py (file_read): simple little utility to read a
|
|
131
|
file and ensure it's closed afterwards.
|
|
146
|
file and ensure it's closed afterwards.
|
|
132
|
|
|
147
|
|
|
133
|
2005-09-23 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
148
|
2005-09-23 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
134
|
|
|
149
|
|
|
135
|
* IPython/demo.py (Demo.__init__): added support for individually
|
|
150
|
* IPython/demo.py (Demo.__init__): added support for individually
|
|
136
|
tagging blocks for automatic execution.
|
|
151
|
tagging blocks for automatic execution.
|
|
137
|
|
|
152
|
|
|
138
|
* IPython/Magic.py (magic_pycat): new %pycat magic for showing
|
|
153
|
* IPython/Magic.py (magic_pycat): new %pycat magic for showing
|
|
139
|
syntax-highlighted python sources, requested by John.
|
|
154
|
syntax-highlighted python sources, requested by John.
|
|
140
|
|
|
155
|
|
|
141
|
2005-09-22 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
156
|
2005-09-22 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
142
|
|
|
157
|
|
|
143
|
* IPython/demo.py (Demo.again): fix bug where again() blocks after
|
|
158
|
* IPython/demo.py (Demo.again): fix bug where again() blocks after
|
|
144
|
finishing.
|
|
159
|
finishing.
|
|
145
|
|
|
160
|
|
|
146
|
* IPython/genutils.py (shlex_split): moved from Magic to here,
|
|
161
|
* IPython/genutils.py (shlex_split): moved from Magic to here,
|
|
147
|
where all 2.2 compatibility stuff lives. I needed it for demo.py.
|
|
162
|
where all 2.2 compatibility stuff lives. I needed it for demo.py.
|
|
148
|
|
|
163
|
|
|
149
|
* IPython/demo.py (Demo.__init__): added support for silent
|
|
164
|
* IPython/demo.py (Demo.__init__): added support for silent
|
|
150
|
blocks, improved marks as regexps, docstrings written.
|
|
165
|
blocks, improved marks as regexps, docstrings written.
|
|
151
|
(Demo.__init__): better docstring, added support for sys.argv.
|
|
166
|
(Demo.__init__): better docstring, added support for sys.argv.
|
|
152
|
|
|
167
|
|
|
153
|
* IPython/genutils.py (marquee): little utility used by the demo
|
|
168
|
* IPython/genutils.py (marquee): little utility used by the demo
|
|
154
|
code, handy in general.
|
|
169
|
code, handy in general.
|
|
155
|
|
|
170
|
|
|
156
|
* IPython/demo.py (Demo.__init__): new class for interactive
|
|
171
|
* IPython/demo.py (Demo.__init__): new class for interactive
|
|
157
|
demos. Not documented yet, I just wrote it in a hurry for
|
|
172
|
demos. Not documented yet, I just wrote it in a hurry for
|
|
158
|
scipy'05. Will docstring later.
|
|
173
|
scipy'05. Will docstring later.
|
|
159
|
|
|
174
|
|
|
160
|
2005-09-20 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
175
|
2005-09-20 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
161
|
|
|
176
|
|
|
162
|
* IPython/Shell.py (sigint_handler): Drastic simplification which
|
|
177
|
* IPython/Shell.py (sigint_handler): Drastic simplification which
|
|
163
|
also seems to make Ctrl-C work correctly across threads! This is
|
|
178
|
also seems to make Ctrl-C work correctly across threads! This is
|
|
164
|
so simple, that I can't beleive I'd missed it before. Needs more
|
|
179
|
so simple, that I can't beleive I'd missed it before. Needs more
|
|
165
|
testing, though.
|
|
180
|
testing, though.
|
|
166
|
(KBINT): Never mind, revert changes. I'm sure I'd tried something
|
|
181
|
(KBINT): Never mind, revert changes. I'm sure I'd tried something
|
|
167
|
like this before...
|
|
182
|
like this before...
|
|
168
|
|
|
183
|
|
|
169
|
* IPython/genutils.py (get_home_dir): add protection against
|
|
184
|
* IPython/genutils.py (get_home_dir): add protection against
|
|
170
|
non-dirs in win32 registry.
|
|
185
|
non-dirs in win32 registry.
|
|
171
|
|
|
186
|
|
|
172
|
* IPython/iplib.py (InteractiveShell.alias_table_validate): fix
|
|
187
|
* IPython/iplib.py (InteractiveShell.alias_table_validate): fix
|
|
173
|
bug where dict was mutated while iterating (pysh crash).
|
|
188
|
bug where dict was mutated while iterating (pysh crash).
|
|
174
|
|
|
189
|
|
|
175
|
2005-09-06 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
190
|
2005-09-06 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
176
|
|
|
191
|
|
|
177
|
* IPython/iplib.py (handle_auto): Fix inconsistency arising from
|
|
192
|
* IPython/iplib.py (handle_auto): Fix inconsistency arising from
|
|
178
|
spurious newlines added by this routine. After a report by
|
|
193
|
spurious newlines added by this routine. After a report by
|
|
179
|
F. Mantegazza.
|
|
194
|
F. Mantegazza.
|
|
180
|
|
|
195
|
|
|
181
|
2005-09-05 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
196
|
2005-09-05 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
182
|
|
|
197
|
|
|
183
|
* IPython/Shell.py (hijack_gtk): remove pygtk.require("2.0")
|
|
198
|
* IPython/Shell.py (hijack_gtk): remove pygtk.require("2.0")
|
|
184
|
calls. These were a leftover from the GTK 1.x days, and can cause
|
|
199
|
calls. These were a leftover from the GTK 1.x days, and can cause
|
|
185
|
problems in certain cases (after a report by John Hunter).
|
|
200
|
problems in certain cases (after a report by John Hunter).
|
|
186
|
|
|
201
|
|
|
187
|
* IPython/iplib.py (InteractiveShell.__init__): Trap exception if
|
|
202
|
* IPython/iplib.py (InteractiveShell.__init__): Trap exception if
|
|
188
|
os.getcwd() fails at init time. Thanks to patch from David Remahl
|
|
203
|
os.getcwd() fails at init time. Thanks to patch from David Remahl
|
|
189
|
<chmod007-AT-mac.com>.
|
|
204
|
<chmod007-AT-mac.com>.
|
|
190
|
(InteractiveShell.__init__): prevent certain special magics from
|
|
205
|
(InteractiveShell.__init__): prevent certain special magics from
|
|
191
|
being shadowed by aliases. Closes
|
|
206
|
being shadowed by aliases. Closes
|
|
192
|
http://www.scipy.net/roundup/ipython/issue41.
|
|
207
|
http://www.scipy.net/roundup/ipython/issue41.
|
|
193
|
|
|
208
|
|
|
194
|
2005-08-31 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
209
|
2005-08-31 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
195
|
|
|
210
|
|
|
196
|
* IPython/iplib.py (InteractiveShell.complete): Added new
|
|
211
|
* IPython/iplib.py (InteractiveShell.complete): Added new
|
|
197
|
top-level completion method to expose the completion mechanism
|
|
212
|
top-level completion method to expose the completion mechanism
|
|
198
|
beyond readline-based environments.
|
|
213
|
beyond readline-based environments.
|
|
199
|
|
|
214
|
|
|
200
|
2005-08-19 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
215
|
2005-08-19 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
201
|
|
|
216
|
|
|
202
|
* tools/ipsvnc (svnversion): fix svnversion capture.
|
|
217
|
* tools/ipsvnc (svnversion): fix svnversion capture.
|
|
203
|
|
|
218
|
|
|
204
|
* IPython/iplib.py (InteractiveShell.__init__): Add has_readline
|
|
219
|
* IPython/iplib.py (InteractiveShell.__init__): Add has_readline
|
|
205
|
attribute to self, which was missing. Before, it was set by a
|
|
220
|
attribute to self, which was missing. Before, it was set by a
|
|
206
|
routine which in certain cases wasn't being called, so the
|
|
221
|
routine which in certain cases wasn't being called, so the
|
|
207
|
instance could end up missing the attribute. This caused a crash.
|
|
222
|
instance could end up missing the attribute. This caused a crash.
|
|
208
|
Closes http://www.scipy.net/roundup/ipython/issue40.
|
|
223
|
Closes http://www.scipy.net/roundup/ipython/issue40.
|
|
209
|
|
|
224
|
|
|
210
|
2005-08-16 Fernando Perez <fperez@colorado.edu>
|
|
225
|
2005-08-16 Fernando Perez <fperez@colorado.edu>
|
|
211
|
|
|
226
|
|
|
212
|
* IPython/ultraTB.py (VerboseTB.text): don't crash if object
|
|
227
|
* IPython/ultraTB.py (VerboseTB.text): don't crash if object
|
|
213
|
contains non-string attribute. Closes
|
|
228
|
contains non-string attribute. Closes
|
|
214
|
http://www.scipy.net/roundup/ipython/issue38.
|
|
229
|
http://www.scipy.net/roundup/ipython/issue38.
|
|
215
|
|
|
230
|
|
|
216
|
2005-08-14 Fernando Perez <fperez@colorado.edu>
|
|
231
|
2005-08-14 Fernando Perez <fperez@colorado.edu>
|
|
217
|
|
|
232
|
|
|
218
|
* tools/ipsvnc: Minor improvements, to add changeset info.
|
|
233
|
* tools/ipsvnc: Minor improvements, to add changeset info.
|
|
219
|
|
|
234
|
|
|
220
|
2005-08-12 Fernando Perez <fperez@colorado.edu>
|
|
235
|
2005-08-12 Fernando Perez <fperez@colorado.edu>
|
|
221
|
|
|
236
|
|
|
222
|
* IPython/iplib.py (runsource): remove self.code_to_run_src
|
|
237
|
* IPython/iplib.py (runsource): remove self.code_to_run_src
|
|
223
|
attribute. I realized this is nothing more than
|
|
238
|
attribute. I realized this is nothing more than
|
|
224
|
'\n'.join(self.buffer), and having the same data in two different
|
|
239
|
'\n'.join(self.buffer), and having the same data in two different
|
|
225
|
places is just asking for synchronization bugs. This may impact
|
|
240
|
places is just asking for synchronization bugs. This may impact
|
|
226
|
people who have custom exception handlers, so I need to warn
|
|
241
|
people who have custom exception handlers, so I need to warn
|
|
227
|
ipython-dev about it (F. Mantegazza may use them).
|
|
242
|
ipython-dev about it (F. Mantegazza may use them).
|
|
228
|
|
|
243
|
|
|
229
|
2005-07-29 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
244
|
2005-07-29 Fernando Perez <Fernando.Perez@colorado.edu>
|
|
230
|
|
|
245
|
|
|
231
|
* IPython/genutils.py: fix 2.2 compatibility (generators)
|
|
246
|
* IPython/genutils.py: fix 2.2 compatibility (generators)
|
|
232
|
|
|
247
|
|
|
233
|
2005-07-18 Fernando Perez <fperez@colorado.edu>
|
|
248
|
2005-07-18 Fernando Perez <fperez@colorado.edu>
|
|
234
|
|
|
249
|
|
|
235
|
* IPython/genutils.py (get_home_dir): fix to help users with
|
|
250
|
* IPython/genutils.py (get_home_dir): fix to help users with
|
|
236
|
invalid $HOME under win32.
|
|
251
|
invalid $HOME under win32.
|
|
237
|
|
|
252
|
|
|
238
|
2005-07-17 Fernando Perez <fperez@colorado.edu>
|
|
253
|
2005-07-17 Fernando Perez <fperez@colorado.edu>
|
|
239
|
|
|
254
|
|
|
240
|
* IPython/Prompts.py (str_safe): Make unicode-safe. Also remove
|
|
255
|
* IPython/Prompts.py (str_safe): Make unicode-safe. Also remove
|
|
241
|
some old hacks and clean up a bit other routines; code should be
|
|
256
|
some old hacks and clean up a bit other routines; code should be
|
|
242
|
simpler and a bit faster.
|
|
257
|
simpler and a bit faster.
|
|
243
|
|
|
258
|
|
|
244
|
* IPython/iplib.py (interact): removed some last-resort attempts
|
|
259
|
* IPython/iplib.py (interact): removed some last-resort attempts
|
|
245
|
to survive broken stdout/stderr. That code was only making it
|
|
260
|
to survive broken stdout/stderr. That code was only making it
|
|
246
|
harder to abstract out the i/o (necessary for gui integration),
|
|
261
|
harder to abstract out the i/o (necessary for gui integration),
|
|
247
|
and the crashes it could prevent were extremely rare in practice
|
|
262
|
and the crashes it could prevent were extremely rare in practice
|
|
248
|
(besides being fully user-induced in a pretty violent manner).
|
|
263
|
(besides being fully user-induced in a pretty violent manner).
|
|
249
|
|
|
264
|
|
|
250
|
* IPython/genutils.py (IOStream.__init__): Simplify the i/o stuff.
|
|
265
|
* IPython/genutils.py (IOStream.__init__): Simplify the i/o stuff.
|
|
251
|
Nothing major yet, but the code is simpler to read; this should
|
|
266
|
Nothing major yet, but the code is simpler to read; this should
|
|
252
|
make it easier to do more serious modifications in the future.
|
|
267
|
make it easier to do more serious modifications in the future.
|
|
253
|
|
|
268
|
|
|
254
|
* IPython/Extensions/InterpreterExec.py: Fix auto-quoting in pysh,
|
|
269
|
* IPython/Extensions/InterpreterExec.py: Fix auto-quoting in pysh,
|
|
255
|
which broke in .15 (thanks to a report by Ville).
|
|
270
|
which broke in .15 (thanks to a report by Ville).
|
|
256
|
|
|
271
|
|
|
257
|
* IPython/Itpl.py (Itpl.__init__): add unicode support (it may not
|
|
272
|
* IPython/Itpl.py (Itpl.__init__): add unicode support (it may not
|
|
258
|
be quite correct, I know next to nothing about unicode). This
|
|
273
|
be quite correct, I know next to nothing about unicode). This
|
|
259
|
will allow unicode strings to be used in prompts, amongst other
|
|
274
|
will allow unicode strings to be used in prompts, amongst other
|
|
260
|
cases. It also will prevent ipython from crashing when unicode
|
|
275
|
cases. It also will prevent ipython from crashing when unicode
|
|
261
|
shows up unexpectedly in many places. If ascii encoding fails, we
|
|
276
|
shows up unexpectedly in many places. If ascii encoding fails, we
|
|
262
|
assume utf_8. Currently the encoding is not a user-visible
|
|
277
|
assume utf_8. Currently the encoding is not a user-visible
|
|
263
|
setting, though it could be made so if there is demand for it.
|
|
278
|
setting, though it could be made so if there is demand for it.
|
|
264
|
|
|
279
|
|
|
265
|
* IPython/ipmaker.py (make_IPython): remove old 2.1-specific hack.
|
|
280
|
* IPython/ipmaker.py (make_IPython): remove old 2.1-specific hack.
|
|
266
|
|
|
281
|
|
|
267
|
* IPython/Struct.py (Struct.merge): switch keys() to iterator.
|
|
282
|
* IPython/Struct.py (Struct.merge): switch keys() to iterator.
|
|
268
|
|
|
283
|
|
|
269
|
* IPython/background_jobs.py: moved 2.2 compatibility to genutils.
|
|
284
|
* IPython/background_jobs.py: moved 2.2 compatibility to genutils.
|
|
270
|
|
|
285
|
|
|
271
|
* IPython/genutils.py: Add 2.2 compatibility here, so all other
|
|
286
|
* IPython/genutils.py: Add 2.2 compatibility here, so all other
|
|
272
|
code can work transparently for 2.2/2.3.
|
|
287
|
code can work transparently for 2.2/2.3.
|
|
273
|
|
|
288
|
|
|
274
|
2005-07-16 Fernando Perez <fperez@colorado.edu>
|
|
289
|
2005-07-16 Fernando Perez <fperez@colorado.edu>
|
|
275
|
|
|
290
|
|
|
276
|
* IPython/ultraTB.py (ExceptionColors): Make a global variable
|
|
291
|
* IPython/ultraTB.py (ExceptionColors): Make a global variable
|
|
277
|
out of the color scheme table used for coloring exception
|
|
292
|
out of the color scheme table used for coloring exception
|
|
278
|
tracebacks. This allows user code to add new schemes at runtime.
|
|
293
|
tracebacks. This allows user code to add new schemes at runtime.
|
|
279
|
This is a minimally modified version of the patch at
|
|
294
|
This is a minimally modified version of the patch at
|
|
280
|
http://www.scipy.net/roundup/ipython/issue35, many thanks to pabw
|
|
295
|
http://www.scipy.net/roundup/ipython/issue35, many thanks to pabw
|
|
281
|
for the contribution.
|
|
296
|
for the contribution.
|
|
282
|
|
|
297
|
|
|
283
|
* IPython/FlexCompleter.py (Completer.attr_matches): Add a
|
|
298
|
* IPython/FlexCompleter.py (Completer.attr_matches): Add a
|
|
284
|
slightly modified version of the patch in
|
|
299
|
slightly modified version of the patch in
|
|
285
|
http://www.scipy.net/roundup/ipython/issue34, which also allows me
|
|
300
|
http://www.scipy.net/roundup/ipython/issue34, which also allows me
|
|
286
|
to remove the previous try/except solution (which was costlier).
|
|
301
|
to remove the previous try/except solution (which was costlier).
|
|
287
|
Thanks to Gaetan Lehmann <gaetan.lehmann-AT-jouy.inra.fr> for the fix.
|
|
302
|
Thanks to Gaetan Lehmann <gaetan.lehmann-AT-jouy.inra.fr> for the fix.
|
|
288
|
|
|
303
|
|
|
289
|
2005-06-08 Fernando Perez <fperez@colorado.edu>
|
|
304
|
2005-06-08 Fernando Perez <fperez@colorado.edu>
|
|
290
|
|
|
305
|
|
|
291
|
* IPython/iplib.py (write/write_err): Add methods to abstract all
|
|
306
|
* IPython/iplib.py (write/write_err): Add methods to abstract all
|
|
292
|
I/O a bit more.
|
|
307
|
I/O a bit more.
|
|
293
|
|
|
308
|
|
|
294
|
* IPython/Shell.py (IPShellGTK.mainloop): Fix GTK deprecation
|
|
309
|
* IPython/Shell.py (IPShellGTK.mainloop): Fix GTK deprecation
|
|
295
|
warning, reported by Aric Hagberg, fix by JD Hunter.
|
|
310
|
warning, reported by Aric Hagberg, fix by JD Hunter.
|
|
296
|
|
|
311
|
|
|
297
|
2005-06-02 *** Released version 0.6.15
|
|
312
|
2005-06-02 *** Released version 0.6.15
|
|
298
|
|
|
313
|
|
|
299
|
2005-06-01 Fernando Perez <fperez@colorado.edu>
|
|
314
|
2005-06-01 Fernando Perez <fperez@colorado.edu>
|
|
300
|
|
|
315
|
|
|
301
|
* IPython/iplib.py (MagicCompleter.file_matches): Fix
|
|
316
|
* IPython/iplib.py (MagicCompleter.file_matches): Fix
|
|
302
|
tab-completion of filenames within open-quoted strings. Note that
|
|
317
|
tab-completion of filenames within open-quoted strings. Note that
|
|
303
|
this requires that in ~/.ipython/ipythonrc, users change the
|
|
318
|
this requires that in ~/.ipython/ipythonrc, users change the
|
|
304
|
readline delimiters configuration to read:
|
|
319
|
readline delimiters configuration to read:
|
|
305
|
|
|
320
|
|
|
306
|
readline_remove_delims -/~
|
|
321
|
readline_remove_delims -/~
|
|
307
|
|
|
322
|
|
|
308
|
|
|
323
|
|
|
309
|
2005-05-31 *** Released version 0.6.14
|
|
324
|
2005-05-31 *** Released version 0.6.14
|
|
310
|
|
|
325
|
|
|
311
|
2005-05-29 Fernando Perez <fperez@colorado.edu>
|
|
326
|
2005-05-29 Fernando Perez <fperez@colorado.edu>
|
|
312
|
|
|
327
|
|
|
313
|
* IPython/ultraTB.py (VerboseTB.text): Fix crash for tracebacks
|
|
328
|
* IPython/ultraTB.py (VerboseTB.text): Fix crash for tracebacks
|
|
314
|
with files not on the filesystem. Reported by Eliyahu Sandler
|
|
329
|
with files not on the filesystem. Reported by Eliyahu Sandler
|
|
315
|
<eli@gondolin.net>
|
|
330
|
<eli@gondolin.net>
|
|
316
|
|
|
331
|
|
|
317
|
2005-05-22 Fernando Perez <fperez@colorado.edu>
|
|
332
|
2005-05-22 Fernando Perez <fperez@colorado.edu>
|
|
318
|
|
|
333
|
|
|
319
|
* IPython/iplib.py: Fix a few crashes in the --upgrade option.
|
|
334
|
* IPython/iplib.py: Fix a few crashes in the --upgrade option.
|
|
320
|
After an initial report by LUK ShunTim <shuntim.luk@polyu.edu.hk>.
|
|
335
|
After an initial report by LUK ShunTim <shuntim.luk@polyu.edu.hk>.
|
|
321
|
|
|
336
|
|
|
322
|
2005-05-19 Fernando Perez <fperez@colorado.edu>
|
|
337
|
2005-05-19 Fernando Perez <fperez@colorado.edu>
|
|
323
|
|
|
338
|
|
|
324
|
* IPython/iplib.py (safe_execfile): close a file which could be
|
|
339
|
* IPython/iplib.py (safe_execfile): close a file which could be
|
|
325
|
left open (causing problems in win32, which locks open files).
|
|
340
|
left open (causing problems in win32, which locks open files).
|
|
326
|
Thanks to a bug report by D Brown <dbrown2@yahoo.com>.
|
|
341
|
Thanks to a bug report by D Brown <dbrown2@yahoo.com>.
|
|
327
|
|
|
342
|
|
|
328
|
2005-05-18 Fernando Perez <fperez@colorado.edu>
|
|
343
|
2005-05-18 Fernando Perez <fperez@colorado.edu>
|
|
329
|
|
|
344
|
|
|
330
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec): pass all
|
|
345
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec): pass all
|
|
331
|
keyword arguments correctly to safe_execfile().
|
|
346
|
keyword arguments correctly to safe_execfile().
|
|
332
|
|
|
347
|
|
|
333
|
2005-05-13 Fernando Perez <fperez@colorado.edu>
|
|
348
|
2005-05-13 Fernando Perez <fperez@colorado.edu>
|
|
334
|
|
|
349
|
|
|
335
|
* ipython.1: Added info about Qt to manpage, and threads warning
|
|
350
|
* ipython.1: Added info about Qt to manpage, and threads warning
|
|
336
|
to usage page (invoked with --help).
|
|
351
|
to usage page (invoked with --help).
|
|
337
|
|
|
352
|
|
|
338
|
* IPython/iplib.py (MagicCompleter.python_func_kw_matches): Added
|
|
353
|
* IPython/iplib.py (MagicCompleter.python_func_kw_matches): Added
|
|
339
|
new matcher (it goes at the end of the priority list) to do
|
|
354
|
new matcher (it goes at the end of the priority list) to do
|
|
340
|
tab-completion on named function arguments. Submitted by George
|
|
355
|
tab-completion on named function arguments. Submitted by George
|
|
341
|
Sakkis <gsakkis-AT-eden.rutgers.edu>. See the thread at
|
|
356
|
Sakkis <gsakkis-AT-eden.rutgers.edu>. See the thread at
|
|
342
|
http://www.scipy.net/pipermail/ipython-dev/2005-April/000436.html
|
|
357
|
http://www.scipy.net/pipermail/ipython-dev/2005-April/000436.html
|
|
343
|
for more details.
|
|
358
|
for more details.
|
|
344
|
|
|
359
|
|
|
345
|
* IPython/Magic.py (magic_run): Added new -e flag to ignore
|
|
360
|
* IPython/Magic.py (magic_run): Added new -e flag to ignore
|
|
346
|
SystemExit exceptions in the script being run. Thanks to a report
|
|
361
|
SystemExit exceptions in the script being run. Thanks to a report
|
|
347
|
by danny shevitz <danny_shevitz-AT-yahoo.com>, about this
|
|
362
|
by danny shevitz <danny_shevitz-AT-yahoo.com>, about this
|
|
348
|
producing very annoying behavior when running unit tests.
|
|
363
|
producing very annoying behavior when running unit tests.
|
|
349
|
|
|
364
|
|
|
350
|
2005-05-12 Fernando Perez <fperez@colorado.edu>
|
|
365
|
2005-05-12 Fernando Perez <fperez@colorado.edu>
|
|
351
|
|
|
366
|
|
|
352
|
* IPython/iplib.py (handle_auto): fixed auto-quoting and parens,
|
|
367
|
* IPython/iplib.py (handle_auto): fixed auto-quoting and parens,
|
|
353
|
which I'd broken (again) due to a changed regexp. In the process,
|
|
368
|
which I'd broken (again) due to a changed regexp. In the process,
|
|
354
|
added ';' as an escape to auto-quote the whole line without
|
|
369
|
added ';' as an escape to auto-quote the whole line without
|
|
355
|
splitting its arguments. Thanks to a report by Jerry McRae
|
|
370
|
splitting its arguments. Thanks to a report by Jerry McRae
|
|
356
|
<qrs0xyc02-AT-sneakemail.com>.
|
|
371
|
<qrs0xyc02-AT-sneakemail.com>.
|
|
357
|
|
|
372
|
|
|
358
|
* IPython/ultraTB.py (VerboseTB.text): protect against rare but
|
|
373
|
* IPython/ultraTB.py (VerboseTB.text): protect against rare but
|
|
359
|
possible crashes caused by a TokenError. Reported by Ed Schofield
|
|
374
|
possible crashes caused by a TokenError. Reported by Ed Schofield
|
|
360
|
<schofield-AT-ftw.at>.
|
|
375
|
<schofield-AT-ftw.at>.
|
|
361
|
|
|
376
|
|
|
362
|
2005-05-06 Fernando Perez <fperez@colorado.edu>
|
|
377
|
2005-05-06 Fernando Perez <fperez@colorado.edu>
|
|
363
|
|
|
378
|
|
|
364
|
* IPython/Shell.py (hijack_wx): Fix to work with WX v.2.6.
|
|
379
|
* IPython/Shell.py (hijack_wx): Fix to work with WX v.2.6.
|
|
365
|
|
|
380
|
|
|
366
|
2005-04-29 Fernando Perez <fperez@colorado.edu>
|
|
381
|
2005-04-29 Fernando Perez <fperez@colorado.edu>
|
|
367
|
|
|
382
|
|
|
368
|
* IPython/Shell.py (IPShellQt): Thanks to Denis Rivière
|
|
383
|
* IPython/Shell.py (IPShellQt): Thanks to Denis Rivière
|
|
369
|
<nudz-AT-free.fr>, Yann Cointepas <yann-AT-sapetnioc.org> and Benjamin
|
|
384
|
<nudz-AT-free.fr>, Yann Cointepas <yann-AT-sapetnioc.org> and Benjamin
|
|
370
|
Thyreau <Benji2-AT-decideur.info>, we now have a -qthread option
|
|
385
|
Thyreau <Benji2-AT-decideur.info>, we now have a -qthread option
|
|
371
|
which provides support for Qt interactive usage (similar to the
|
|
386
|
which provides support for Qt interactive usage (similar to the
|
|
372
|
existing one for WX and GTK). This had been often requested.
|
|
387
|
existing one for WX and GTK). This had been often requested.
|
|
373
|
|
|
388
|
|
|
374
|
2005-04-14 *** Released version 0.6.13
|
|
389
|
2005-04-14 *** Released version 0.6.13
|
|
375
|
|
|
390
|
|
|
376
|
2005-04-08 Fernando Perez <fperez@colorado.edu>
|
|
391
|
2005-04-08 Fernando Perez <fperez@colorado.edu>
|
|
377
|
|
|
392
|
|
|
378
|
* IPython/Magic.py (Magic._ofind): remove docstring evaluation
|
|
393
|
* IPython/Magic.py (Magic._ofind): remove docstring evaluation
|
|
379
|
from _ofind, which gets called on almost every input line. Now,
|
|
394
|
from _ofind, which gets called on almost every input line. Now,
|
|
380
|
we only try to get docstrings if they are actually going to be
|
|
395
|
we only try to get docstrings if they are actually going to be
|
|
381
|
used (the overhead of fetching unnecessary docstrings can be
|
|
396
|
used (the overhead of fetching unnecessary docstrings can be
|
|
382
|
noticeable for certain objects, such as Pyro proxies).
|
|
397
|
noticeable for certain objects, such as Pyro proxies).
|
|
383
|
|
|
398
|
|
|
384
|
* IPython/iplib.py (MagicCompleter.python_matches): Change the API
|
|
399
|
* IPython/iplib.py (MagicCompleter.python_matches): Change the API
|
|
385
|
for completers. For some reason I had been passing them the state
|
|
400
|
for completers. For some reason I had been passing them the state
|
|
386
|
variable, which completers never actually need, and was in
|
|
401
|
variable, which completers never actually need, and was in
|
|
387
|
conflict with the rlcompleter API. Custom completers ONLY need to
|
|
402
|
conflict with the rlcompleter API. Custom completers ONLY need to
|
|
388
|
take the text parameter.
|
|
403
|
take the text parameter.
|
|
389
|
|
|
404
|
|
|
390
|
* IPython/Extensions/InterpreterExec.py: Fix regexp so that magics
|
|
405
|
* IPython/Extensions/InterpreterExec.py: Fix regexp so that magics
|
|
391
|
work correctly in pysh. I've also moved all the logic which used
|
|
406
|
work correctly in pysh. I've also moved all the logic which used
|
|
392
|
to be in pysh.py here, which will prevent problems with future
|
|
407
|
to be in pysh.py here, which will prevent problems with future
|
|
393
|
upgrades. However, this time I must warn users to update their
|
|
408
|
upgrades. However, this time I must warn users to update their
|
|
394
|
pysh profile to include the line
|
|
409
|
pysh profile to include the line
|
|
395
|
|
|
410
|
|
|
396
|
import_all IPython.Extensions.InterpreterExec
|
|
411
|
import_all IPython.Extensions.InterpreterExec
|
|
397
|
|
|
412
|
|
|
398
|
because otherwise things won't work for them. They MUST also
|
|
413
|
because otherwise things won't work for them. They MUST also
|
|
399
|
delete pysh.py and the line
|
|
414
|
delete pysh.py and the line
|
|
400
|
|
|
415
|
|
|
401
|
execfile pysh.py
|
|
416
|
execfile pysh.py
|
|
402
|
|
|
417
|
|
|
403
|
from their ipythonrc-pysh.
|
|
418
|
from their ipythonrc-pysh.
|
|
404
|
|
|
419
|
|
|
405
|
* IPython/FlexCompleter.py (Completer.attr_matches): Make more
|
|
420
|
* IPython/FlexCompleter.py (Completer.attr_matches): Make more
|
|
406
|
robust in the face of objects whose dir() returns non-strings
|
|
421
|
robust in the face of objects whose dir() returns non-strings
|
|
407
|
(which it shouldn't, but some broken libs like ITK do). Thanks to
|
|
422
|
(which it shouldn't, but some broken libs like ITK do). Thanks to
|
|
408
|
a patch by John Hunter (implemented differently, though). Also
|
|
423
|
a patch by John Hunter (implemented differently, though). Also
|
|
409
|
minor improvements by using .extend instead of + on lists.
|
|
424
|
minor improvements by using .extend instead of + on lists.
|
|
410
|
|
|
425
|
|
|
411
|
* pysh.py:
|
|
426
|
* pysh.py:
|
|
412
|
|
|
427
|
|
|
413
|
2005-04-06 Fernando Perez <fperez@colorado.edu>
|
|
428
|
2005-04-06 Fernando Perez <fperez@colorado.edu>
|
|
414
|
|
|
429
|
|
|
415
|
* IPython/ipmaker.py (make_IPython): Make multi_line_specials on
|
|
430
|
* IPython/ipmaker.py (make_IPython): Make multi_line_specials on
|
|
416
|
by default, so that all users benefit from it. Those who don't
|
|
431
|
by default, so that all users benefit from it. Those who don't
|
|
417
|
want it can still turn it off.
|
|
432
|
want it can still turn it off.
|
|
418
|
|
|
433
|
|
|
419
|
* IPython/UserConfig/ipythonrc: Add multi_line_specials to the
|
|
434
|
* IPython/UserConfig/ipythonrc: Add multi_line_specials to the
|
|
420
|
config file, I'd forgotten about this, so users were getting it
|
|
435
|
config file, I'd forgotten about this, so users were getting it
|
|
421
|
off by default.
|
|
436
|
off by default.
|
|
422
|
|
|
437
|
|
|
423
|
* IPython/iplib.py (ipmagic): big overhaul of the magic system for
|
|
438
|
* IPython/iplib.py (ipmagic): big overhaul of the magic system for
|
|
424
|
consistency. Now magics can be called in multiline statements,
|
|
439
|
consistency. Now magics can be called in multiline statements,
|
|
425
|
and python variables can be expanded in magic calls via $var.
|
|
440
|
and python variables can be expanded in magic calls via $var.
|
|
426
|
This makes the magic system behave just like aliases or !system
|
|
441
|
This makes the magic system behave just like aliases or !system
|
|
427
|
calls.
|
|
442
|
calls.
|
|
428
|
|
|
443
|
|
|
429
|
2005-03-28 Fernando Perez <fperez@colorado.edu>
|
|
444
|
2005-03-28 Fernando Perez <fperez@colorado.edu>
|
|
430
|
|
|
445
|
|
|
431
|
* IPython/iplib.py (handle_auto): cleanup to use %s instead of
|
|
446
|
* IPython/iplib.py (handle_auto): cleanup to use %s instead of
|
|
432
|
expensive string additions for building command. Add support for
|
|
447
|
expensive string additions for building command. Add support for
|
|
433
|
trailing ';' when autocall is used.
|
|
448
|
trailing ';' when autocall is used.
|
|
434
|
|
|
449
|
|
|
435
|
2005-03-26 Fernando Perez <fperez@colorado.edu>
|
|
450
|
2005-03-26 Fernando Perez <fperez@colorado.edu>
|
|
436
|
|
|
451
|
|
|
437
|
* ipython.el: Fix http://www.scipy.net/roundup/ipython/issue31.
|
|
452
|
* ipython.el: Fix http://www.scipy.net/roundup/ipython/issue31.
|
|
438
|
Bugfix by A. Schmolck, the ipython.el maintainer. Also make
|
|
453
|
Bugfix by A. Schmolck, the ipython.el maintainer. Also make
|
|
439
|
ipython.el robust against prompts with any number of spaces
|
|
454
|
ipython.el robust against prompts with any number of spaces
|
|
440
|
(including 0) after the ':' character.
|
|
455
|
(including 0) after the ':' character.
|
|
441
|
|
|
456
|
|
|
442
|
* IPython/Prompts.py (Prompt2.set_p_str): Fix spurious space in
|
|
457
|
* IPython/Prompts.py (Prompt2.set_p_str): Fix spurious space in
|
|
443
|
continuation prompt, which misled users to think the line was
|
|
458
|
continuation prompt, which misled users to think the line was
|
|
444
|
already indented. Closes debian Bug#300847, reported to me by
|
|
459
|
already indented. Closes debian Bug#300847, reported to me by
|
|
445
|
Norbert Tretkowski <tretkowski-AT-inittab.de>.
|
|
460
|
Norbert Tretkowski <tretkowski-AT-inittab.de>.
|
|
446
|
|
|
461
|
|
|
447
|
2005-03-23 Fernando Perez <fperez@colorado.edu>
|
|
462
|
2005-03-23 Fernando Perez <fperez@colorado.edu>
|
|
448
|
|
|
463
|
|
|
449
|
* IPython/Prompts.py (Prompt1.__str__): Make sure that prompts are
|
|
464
|
* IPython/Prompts.py (Prompt1.__str__): Make sure that prompts are
|
|
450
|
properly aligned if they have embedded newlines.
|
|
465
|
properly aligned if they have embedded newlines.
|
|
451
|
|
|
466
|
|
|
452
|
* IPython/iplib.py (runlines): Add a public method to expose
|
|
467
|
* IPython/iplib.py (runlines): Add a public method to expose
|
|
453
|
IPython's code execution machinery, so that users can run strings
|
|
468
|
IPython's code execution machinery, so that users can run strings
|
|
454
|
as if they had been typed at the prompt interactively.
|
|
469
|
as if they had been typed at the prompt interactively.
|
|
455
|
(InteractiveShell.__init__): Added getoutput() to the __IPYTHON__
|
|
470
|
(InteractiveShell.__init__): Added getoutput() to the __IPYTHON__
|
|
456
|
methods which can call the system shell, but with python variable
|
|
471
|
methods which can call the system shell, but with python variable
|
|
457
|
expansion. The three such methods are: __IPYTHON__.system,
|
|
472
|
expansion. The three such methods are: __IPYTHON__.system,
|
|
458
|
.getoutput and .getoutputerror. These need to be documented in a
|
|
473
|
.getoutput and .getoutputerror. These need to be documented in a
|
|
459
|
'public API' section (to be written) of the manual.
|
|
474
|
'public API' section (to be written) of the manual.
|
|
460
|
|
|
475
|
|
|
461
|
2005-03-20 Fernando Perez <fperez@colorado.edu>
|
|
476
|
2005-03-20 Fernando Perez <fperez@colorado.edu>
|
|
462
|
|
|
477
|
|
|
463
|
* IPython/iplib.py (InteractiveShell.set_custom_exc): new system
|
|
478
|
* IPython/iplib.py (InteractiveShell.set_custom_exc): new system
|
|
464
|
for custom exception handling. This is quite powerful, and it
|
|
479
|
for custom exception handling. This is quite powerful, and it
|
|
465
|
allows for user-installable exception handlers which can trap
|
|
480
|
allows for user-installable exception handlers which can trap
|
|
466
|
custom exceptions at runtime and treat them separately from
|
|
481
|
custom exceptions at runtime and treat them separately from
|
|
467
|
IPython's default mechanisms. At the request of Frédéric
|
|
482
|
IPython's default mechanisms. At the request of Frédéric
|
|
468
|
Mantegazza <mantegazza-AT-ill.fr>.
|
|
483
|
Mantegazza <mantegazza-AT-ill.fr>.
|
|
469
|
(InteractiveShell.set_custom_completer): public API function to
|
|
484
|
(InteractiveShell.set_custom_completer): public API function to
|
|
470
|
add new completers at runtime.
|
|
485
|
add new completers at runtime.
|
|
471
|
|
|
486
|
|
|
472
|
2005-03-19 Fernando Perez <fperez@colorado.edu>
|
|
487
|
2005-03-19 Fernando Perez <fperez@colorado.edu>
|
|
473
|
|
|
488
|
|
|
474
|
* IPython/OInspect.py (getdoc): Add a call to obj.getdoc(), to
|
|
489
|
* IPython/OInspect.py (getdoc): Add a call to obj.getdoc(), to
|
|
475
|
allow objects which provide their docstrings via non-standard
|
|
490
|
allow objects which provide their docstrings via non-standard
|
|
476
|
mechanisms (like Pyro proxies) to still be inspected by ipython's
|
|
491
|
mechanisms (like Pyro proxies) to still be inspected by ipython's
|
|
477
|
? system.
|
|
492
|
? system.
|
|
478
|
|
|
493
|
|
|
479
|
* IPython/iplib.py (InteractiveShell.__init__): back off the _o/_e
|
|
494
|
* IPython/iplib.py (InteractiveShell.__init__): back off the _o/_e
|
|
480
|
automatic capture system. I tried quite hard to make it work
|
|
495
|
automatic capture system. I tried quite hard to make it work
|
|
481
|
reliably, and simply failed. I tried many combinations with the
|
|
496
|
reliably, and simply failed. I tried many combinations with the
|
|
482
|
subprocess module, but eventually nothing worked in all needed
|
|
497
|
subprocess module, but eventually nothing worked in all needed
|
|
483
|
cases (not blocking stdin for the child, duplicating stdout
|
|
498
|
cases (not blocking stdin for the child, duplicating stdout
|
|
484
|
without blocking, etc). The new %sc/%sx still do capture to these
|
|
499
|
without blocking, etc). The new %sc/%sx still do capture to these
|
|
485
|
magical list/string objects which make shell use much more
|
|
500
|
magical list/string objects which make shell use much more
|
|
486
|
conveninent, so not all is lost.
|
|
501
|
conveninent, so not all is lost.
|
|
487
|
|
|
502
|
|
|
488
|
XXX - FIX MANUAL for the change above!
|
|
503
|
XXX - FIX MANUAL for the change above!
|
|
489
|
|
|
504
|
|
|
490
|
(runsource): I copied code.py's runsource() into ipython to modify
|
|
505
|
(runsource): I copied code.py's runsource() into ipython to modify
|
|
491
|
it a bit. Now the code object and source to be executed are
|
|
506
|
it a bit. Now the code object and source to be executed are
|
|
492
|
stored in ipython. This makes this info accessible to third-party
|
|
507
|
stored in ipython. This makes this info accessible to third-party
|
|
493
|
tools, like custom exception handlers. After a request by Frédéric
|
|
508
|
tools, like custom exception handlers. After a request by Frédéric
|
|
494
|
Mantegazza <mantegazza-AT-ill.fr>.
|
|
509
|
Mantegazza <mantegazza-AT-ill.fr>.
|
|
495
|
|
|
510
|
|
|
496
|
* IPython/UserConfig/ipythonrc: Add up/down arrow keys to
|
|
511
|
* IPython/UserConfig/ipythonrc: Add up/down arrow keys to
|
|
497
|
history-search via readline (like C-p/C-n). I'd wanted this for a
|
|
512
|
history-search via readline (like C-p/C-n). I'd wanted this for a
|
|
498
|
long time, but only recently found out how to do it. For users
|
|
513
|
long time, but only recently found out how to do it. For users
|
|
499
|
who already have their ipythonrc files made and want this, just
|
|
514
|
who already have their ipythonrc files made and want this, just
|
|
500
|
add:
|
|
515
|
add:
|
|
501
|
|
|
516
|
|
|
502
|
readline_parse_and_bind "\e[A": history-search-backward
|
|
517
|
readline_parse_and_bind "\e[A": history-search-backward
|
|
503
|
readline_parse_and_bind "\e[B": history-search-forward
|
|
518
|
readline_parse_and_bind "\e[B": history-search-forward
|
|
504
|
|
|
519
|
|
|
505
|
2005-03-18 Fernando Perez <fperez@colorado.edu>
|
|
520
|
2005-03-18 Fernando Perez <fperez@colorado.edu>
|
|
506
|
|
|
521
|
|
|
507
|
* IPython/Magic.py (magic_sc): %sc and %sx now use the fancy
|
|
522
|
* IPython/Magic.py (magic_sc): %sc and %sx now use the fancy
|
|
508
|
LSString and SList classes which allow transparent conversions
|
|
523
|
LSString and SList classes which allow transparent conversions
|
|
509
|
between list mode and whitespace-separated string.
|
|
524
|
between list mode and whitespace-separated string.
|
|
510
|
(magic_r): Fix recursion problem in %r.
|
|
525
|
(magic_r): Fix recursion problem in %r.
|
|
511
|
|
|
526
|
|
|
512
|
* IPython/genutils.py (LSString): New class to be used for
|
|
527
|
* IPython/genutils.py (LSString): New class to be used for
|
|
513
|
automatic storage of the results of all alias/system calls in _o
|
|
528
|
automatic storage of the results of all alias/system calls in _o
|
|
514
|
and _e (stdout/err). These provide a .l/.list attribute which
|
|
529
|
and _e (stdout/err). These provide a .l/.list attribute which
|
|
515
|
does automatic splitting on newlines. This means that for most
|
|
530
|
does automatic splitting on newlines. This means that for most
|
|
516
|
uses, you'll never need to do capturing of output with %sc/%sx
|
|
531
|
uses, you'll never need to do capturing of output with %sc/%sx
|
|
517
|
anymore, since ipython keeps this always done for you. Note that
|
|
532
|
anymore, since ipython keeps this always done for you. Note that
|
|
518
|
only the LAST results are stored, the _o/e variables are
|
|
533
|
only the LAST results are stored, the _o/e variables are
|
|
519
|
overwritten on each call. If you need to save their contents
|
|
534
|
overwritten on each call. If you need to save their contents
|
|
520
|
further, simply bind them to any other name.
|
|
535
|
further, simply bind them to any other name.
|
|
521
|
|
|
536
|
|
|
522
|
2005-03-17 Fernando Perez <fperez@colorado.edu>
|
|
537
|
2005-03-17 Fernando Perez <fperez@colorado.edu>
|
|
523
|
|
|
538
|
|
|
524
|
* IPython/Prompts.py (BasePrompt.cwd_filt): a few more fixes for
|
|
539
|
* IPython/Prompts.py (BasePrompt.cwd_filt): a few more fixes for
|
|
525
|
prompt namespace handling.
|
|
540
|
prompt namespace handling.
|
|
526
|
|
|
541
|
|
|
527
|
2005-03-16 Fernando Perez <fperez@colorado.edu>
|
|
542
|
2005-03-16 Fernando Perez <fperez@colorado.edu>
|
|
528
|
|
|
543
|
|
|
529
|
* IPython/Prompts.py (CachedOutput.__init__): Fix default and
|
|
544
|
* IPython/Prompts.py (CachedOutput.__init__): Fix default and
|
|
530
|
classic prompts to be '>>> ' (final space was missing, and it
|
|
545
|
classic prompts to be '>>> ' (final space was missing, and it
|
|
531
|
trips the emacs python mode).
|
|
546
|
trips the emacs python mode).
|
|
532
|
(BasePrompt.__str__): Added safe support for dynamic prompt
|
|
547
|
(BasePrompt.__str__): Added safe support for dynamic prompt
|
|
533
|
strings. Now you can set your prompt string to be '$x', and the
|
|
548
|
strings. Now you can set your prompt string to be '$x', and the
|
|
534
|
value of x will be printed from your interactive namespace. The
|
|
549
|
value of x will be printed from your interactive namespace. The
|
|
535
|
interpolation syntax includes the full Itpl support, so
|
|
550
|
interpolation syntax includes the full Itpl support, so
|
|
536
|
${foo()+x+bar()} is a valid prompt string now, and the function
|
|
551
|
${foo()+x+bar()} is a valid prompt string now, and the function
|
|
537
|
calls will be made at runtime.
|
|
552
|
calls will be made at runtime.
|
|
538
|
|
|
553
|
|
|
539
|
2005-03-15 Fernando Perez <fperez@colorado.edu>
|
|
554
|
2005-03-15 Fernando Perez <fperez@colorado.edu>
|
|
540
|
|
|
555
|
|
|
541
|
* IPython/Magic.py (magic_history): renamed %hist to %history, to
|
|
556
|
* IPython/Magic.py (magic_history): renamed %hist to %history, to
|
|
542
|
avoid name clashes in pylab. %hist still works, it just forwards
|
|
557
|
avoid name clashes in pylab. %hist still works, it just forwards
|
|
543
|
the call to %history.
|
|
558
|
the call to %history.
|
|
544
|
|
|
559
|
|
|
545
|
2005-03-02 *** Released version 0.6.12
|
|
560
|
2005-03-02 *** Released version 0.6.12
|
|
546
|
|
|
561
|
|
|
547
|
2005-03-02 Fernando Perez <fperez@colorado.edu>
|
|
562
|
2005-03-02 Fernando Perez <fperez@colorado.edu>
|
|
548
|
|
|
563
|
|
|
549
|
* IPython/iplib.py (handle_magic): log magic calls properly as
|
|
564
|
* IPython/iplib.py (handle_magic): log magic calls properly as
|
|
550
|
ipmagic() function calls.
|
|
565
|
ipmagic() function calls.
|
|
551
|
|
|
566
|
|
|
552
|
* IPython/Magic.py (magic_time): Improved %time to support
|
|
567
|
* IPython/Magic.py (magic_time): Improved %time to support
|
|
553
|
statements and provide wall-clock as well as CPU time.
|
|
568
|
statements and provide wall-clock as well as CPU time.
|
|
554
|
|
|
569
|
|
|
555
|
2005-02-27 Fernando Perez <fperez@colorado.edu>
|
|
570
|
2005-02-27 Fernando Perez <fperez@colorado.edu>
|
|
556
|
|
|
571
|
|
|
557
|
* IPython/hooks.py: New hooks module, to expose user-modifiable
|
|
572
|
* IPython/hooks.py: New hooks module, to expose user-modifiable
|
|
558
|
IPython functionality in a clean manner. For now only the editor
|
|
573
|
IPython functionality in a clean manner. For now only the editor
|
|
559
|
hook is actually written, and other thigns which I intend to turn
|
|
574
|
hook is actually written, and other thigns which I intend to turn
|
|
560
|
into proper hooks aren't yet there. The display and prefilter
|
|
575
|
into proper hooks aren't yet there. The display and prefilter
|
|
561
|
stuff, for example, should be hooks. But at least now the
|
|
576
|
stuff, for example, should be hooks. But at least now the
|
|
562
|
framework is in place, and the rest can be moved here with more
|
|
577
|
framework is in place, and the rest can be moved here with more
|
|
563
|
time later. IPython had had a .hooks variable for a long time for
|
|
578
|
time later. IPython had had a .hooks variable for a long time for
|
|
564
|
this purpose, but I'd never actually used it for anything.
|
|
579
|
this purpose, but I'd never actually used it for anything.
|
|
565
|
|
|
580
|
|
|
566
|
2005-02-26 Fernando Perez <fperez@colorado.edu>
|
|
581
|
2005-02-26 Fernando Perez <fperez@colorado.edu>
|
|
567
|
|
|
582
|
|
|
568
|
* IPython/ipmaker.py (make_IPython): make the default ipython
|
|
583
|
* IPython/ipmaker.py (make_IPython): make the default ipython
|
|
569
|
directory be called _ipython under win32, to follow more the
|
|
584
|
directory be called _ipython under win32, to follow more the
|
|
570
|
naming peculiarities of that platform (where buggy software like
|
|
585
|
naming peculiarities of that platform (where buggy software like
|
|
571
|
Visual Sourcesafe breaks with .named directories). Reported by
|
|
586
|
Visual Sourcesafe breaks with .named directories). Reported by
|
|
572
|
Ville Vainio.
|
|
587
|
Ville Vainio.
|
|
573
|
|
|
588
|
|
|
574
|
2005-02-23 Fernando Perez <fperez@colorado.edu>
|
|
589
|
2005-02-23 Fernando Perez <fperez@colorado.edu>
|
|
575
|
|
|
590
|
|
|
576
|
* IPython/iplib.py (InteractiveShell.__init__): removed a few
|
|
591
|
* IPython/iplib.py (InteractiveShell.__init__): removed a few
|
|
577
|
auto_aliases for win32 which were causing problems. Users can
|
|
592
|
auto_aliases for win32 which were causing problems. Users can
|
|
578
|
define the ones they personally like.
|
|
593
|
define the ones they personally like.
|
|
579
|
|
|
594
|
|
|
580
|
2005-02-21 Fernando Perez <fperez@colorado.edu>
|
|
595
|
2005-02-21 Fernando Perez <fperez@colorado.edu>
|
|
581
|
|
|
596
|
|
|
582
|
* IPython/Magic.py (magic_time): new magic to time execution of
|
|
597
|
* IPython/Magic.py (magic_time): new magic to time execution of
|
|
583
|
expressions. After a request by Charles Moad <cmoad-AT-indiana.edu>.
|
|
598
|
expressions. After a request by Charles Moad <cmoad-AT-indiana.edu>.
|
|
584
|
|
|
599
|
|
|
585
|
2005-02-19 Fernando Perez <fperez@colorado.edu>
|
|
600
|
2005-02-19 Fernando Perez <fperez@colorado.edu>
|
|
586
|
|
|
601
|
|
|
587
|
* IPython/ConfigLoader.py (ConfigLoader.load): Allow empty strings
|
|
602
|
* IPython/ConfigLoader.py (ConfigLoader.load): Allow empty strings
|
|
588
|
into keys (for prompts, for example).
|
|
603
|
into keys (for prompts, for example).
|
|
589
|
|
|
604
|
|
|
590
|
* IPython/Prompts.py (BasePrompt.set_p_str): Fix to allow empty
|
|
605
|
* IPython/Prompts.py (BasePrompt.set_p_str): Fix to allow empty
|
|
591
|
prompts in case users want them. This introduces a small behavior
|
|
606
|
prompts in case users want them. This introduces a small behavior
|
|
592
|
change: ipython does not automatically add a space to all prompts
|
|
607
|
change: ipython does not automatically add a space to all prompts
|
|
593
|
anymore. To get the old prompts with a space, users should add it
|
|
608
|
anymore. To get the old prompts with a space, users should add it
|
|
594
|
manually to their ipythonrc file, so for example prompt_in1 should
|
|
609
|
manually to their ipythonrc file, so for example prompt_in1 should
|
|
595
|
now read 'In [\#]: ' instead of 'In [\#]:'.
|
|
610
|
now read 'In [\#]: ' instead of 'In [\#]:'.
|
|
596
|
(BasePrompt.__init__): New option prompts_pad_left (only in rc
|
|
611
|
(BasePrompt.__init__): New option prompts_pad_left (only in rc
|
|
597
|
file) to control left-padding of secondary prompts.
|
|
612
|
file) to control left-padding of secondary prompts.
|
|
598
|
|
|
613
|
|
|
599
|
* IPython/Magic.py (Magic.profile_missing_notice): Don't crash if
|
|
614
|
* IPython/Magic.py (Magic.profile_missing_notice): Don't crash if
|
|
600
|
the profiler can't be imported. Fix for Debian, which removed
|
|
615
|
the profiler can't be imported. Fix for Debian, which removed
|
|
601
|
profile.py because of License issues. I applied a slightly
|
|
616
|
profile.py because of License issues. I applied a slightly
|
|
602
|
modified version of the original Debian patch at
|
|
617
|
modified version of the original Debian patch at
|
|
603
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294500.
|
|
618
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294500.
|
|
604
|
|
|
619
|
|
|
605
|
2005-02-17 Fernando Perez <fperez@colorado.edu>
|
|
620
|
2005-02-17 Fernando Perez <fperez@colorado.edu>
|
|
606
|
|
|
621
|
|
|
607
|
* IPython/genutils.py (native_line_ends): Fix bug which would
|
|
622
|
* IPython/genutils.py (native_line_ends): Fix bug which would
|
|
608
|
cause improper line-ends under win32 b/c I was not opening files
|
|
623
|
cause improper line-ends under win32 b/c I was not opening files
|
|
609
|
in binary mode. Bug report and fix thanks to Ville.
|
|
624
|
in binary mode. Bug report and fix thanks to Ville.
|
|
610
|
|
|
625
|
|
|
611
|
* IPython/iplib.py (handle_auto): Fix bug which I introduced when
|
|
626
|
* IPython/iplib.py (handle_auto): Fix bug which I introduced when
|
|
612
|
trying to catch spurious foo[1] autocalls. My fix actually broke
|
|
627
|
trying to catch spurious foo[1] autocalls. My fix actually broke
|
|
613
|
',/' autoquote/call with explicit escape (bad regexp).
|
|
628
|
',/' autoquote/call with explicit escape (bad regexp).
|
|
614
|
|
|
629
|
|
|
615
|
2005-02-15 *** Released version 0.6.11
|
|
630
|
2005-02-15 *** Released version 0.6.11
|
|
616
|
|
|
631
|
|
|
617
|
2005-02-14 Fernando Perez <fperez@colorado.edu>
|
|
632
|
2005-02-14 Fernando Perez <fperez@colorado.edu>
|
|
618
|
|
|
633
|
|
|
619
|
* IPython/background_jobs.py: New background job management
|
|
634
|
* IPython/background_jobs.py: New background job management
|
|
620
|
subsystem. This is implemented via a new set of classes, and
|
|
635
|
subsystem. This is implemented via a new set of classes, and
|
|
621
|
IPython now provides a builtin 'jobs' object for background job
|
|
636
|
IPython now provides a builtin 'jobs' object for background job
|
|
622
|
execution. A convenience %bg magic serves as a lightweight
|
|
637
|
execution. A convenience %bg magic serves as a lightweight
|
|
623
|
frontend for starting the more common type of calls. This was
|
|
638
|
frontend for starting the more common type of calls. This was
|
|
624
|
inspired by discussions with B. Granger and the BackgroundCommand
|
|
639
|
inspired by discussions with B. Granger and the BackgroundCommand
|
|
625
|
class described in the book Python Scripting for Computational
|
|
640
|
class described in the book Python Scripting for Computational
|
|
626
|
Science, by H. P. Langtangen: http://folk.uio.no/hpl/scripting
|
|
641
|
Science, by H. P. Langtangen: http://folk.uio.no/hpl/scripting
|
|
627
|
(although ultimately no code from this text was used, as IPython's
|
|
642
|
(although ultimately no code from this text was used, as IPython's
|
|
628
|
system is a separate implementation).
|
|
643
|
system is a separate implementation).
|
|
629
|
|
|
644
|
|
|
630
|
* IPython/iplib.py (MagicCompleter.python_matches): add new option
|
|
645
|
* IPython/iplib.py (MagicCompleter.python_matches): add new option
|
|
631
|
to control the completion of single/double underscore names
|
|
646
|
to control the completion of single/double underscore names
|
|
632
|
separately. As documented in the example ipytonrc file, the
|
|
647
|
separately. As documented in the example ipytonrc file, the
|
|
633
|
readline_omit__names variable can now be set to 2, to omit even
|
|
648
|
readline_omit__names variable can now be set to 2, to omit even
|
|
634
|
single underscore names. Thanks to a patch by Brian Wong
|
|
649
|
single underscore names. Thanks to a patch by Brian Wong
|
|
635
|
<BrianWong-AT-AirgoNetworks.Com>.
|
|
650
|
<BrianWong-AT-AirgoNetworks.Com>.
|
|
636
|
(InteractiveShell.__init__): Fix bug which would cause foo[1] to
|
|
651
|
(InteractiveShell.__init__): Fix bug which would cause foo[1] to
|
|
637
|
be autocalled as foo([1]) if foo were callable. A problem for
|
|
652
|
be autocalled as foo([1]) if foo were callable. A problem for
|
|
638
|
things which are both callable and implement __getitem__.
|
|
653
|
things which are both callable and implement __getitem__.
|
|
639
|
(init_readline): Fix autoindentation for win32. Thanks to a patch
|
|
654
|
(init_readline): Fix autoindentation for win32. Thanks to a patch
|
|
640
|
by Vivian De Smedt <vivian-AT-vdesmedt.com>.
|
|
655
|
by Vivian De Smedt <vivian-AT-vdesmedt.com>.
|
|
641
|
|
|
656
|
|
|
642
|
2005-02-12 Fernando Perez <fperez@colorado.edu>
|
|
657
|
2005-02-12 Fernando Perez <fperez@colorado.edu>
|
|
643
|
|
|
658
|
|
|
644
|
* IPython/ipmaker.py (make_IPython): Disabled the stout traps
|
|
659
|
* IPython/ipmaker.py (make_IPython): Disabled the stout traps
|
|
645
|
which I had written long ago to sort out user error messages which
|
|
660
|
which I had written long ago to sort out user error messages which
|
|
646
|
may occur during startup. This seemed like a good idea initially,
|
|
661
|
may occur during startup. This seemed like a good idea initially,
|
|
647
|
but it has proven a disaster in retrospect. I don't want to
|
|
662
|
but it has proven a disaster in retrospect. I don't want to
|
|
648
|
change much code for now, so my fix is to set the internal 'debug'
|
|
663
|
change much code for now, so my fix is to set the internal 'debug'
|
|
649
|
flag to true everywhere, whose only job was precisely to control
|
|
664
|
flag to true everywhere, whose only job was precisely to control
|
|
650
|
this subsystem. This closes issue 28 (as well as avoiding all
|
|
665
|
this subsystem. This closes issue 28 (as well as avoiding all
|
|
651
|
sorts of strange hangups which occur from time to time).
|
|
666
|
sorts of strange hangups which occur from time to time).
|
|
652
|
|
|
667
|
|
|
653
|
2005-02-07 Fernando Perez <fperez@colorado.edu>
|
|
668
|
2005-02-07 Fernando Perez <fperez@colorado.edu>
|
|
654
|
|
|
669
|
|
|
655
|
* IPython/Magic.py (magic_edit): Fix 'ed -p' not working when the
|
|
670
|
* IPython/Magic.py (magic_edit): Fix 'ed -p' not working when the
|
|
656
|
previous call produced a syntax error.
|
|
671
|
previous call produced a syntax error.
|
|
657
|
|
|
672
|
|
|
658
|
* IPython/OInspect.py (Inspector.pinfo): Fix crash when inspecting
|
|
673
|
* IPython/OInspect.py (Inspector.pinfo): Fix crash when inspecting
|
|
659
|
classes without constructor.
|
|
674
|
classes without constructor.
|
|
660
|
|
|
675
|
|
|
661
|
2005-02-06 Fernando Perez <fperez@colorado.edu>
|
|
676
|
2005-02-06 Fernando Perez <fperez@colorado.edu>
|
|
662
|
|
|
677
|
|
|
663
|
* IPython/iplib.py (MagicCompleter.complete): Extend the list of
|
|
678
|
* IPython/iplib.py (MagicCompleter.complete): Extend the list of
|
|
664
|
completions with the results of each matcher, so we return results
|
|
679
|
completions with the results of each matcher, so we return results
|
|
665
|
to the user from all namespaces. This breaks with ipython
|
|
680
|
to the user from all namespaces. This breaks with ipython
|
|
666
|
tradition, but I think it's a nicer behavior. Now you get all
|
|
681
|
tradition, but I think it's a nicer behavior. Now you get all
|
|
667
|
possible completions listed, from all possible namespaces (python,
|
|
682
|
possible completions listed, from all possible namespaces (python,
|
|
668
|
filesystem, magics...) After a request by John Hunter
|
|
683
|
filesystem, magics...) After a request by John Hunter
|
|
669
|
<jdhunter-AT-nitace.bsd.uchicago.edu>.
|
|
684
|
<jdhunter-AT-nitace.bsd.uchicago.edu>.
|
|
670
|
|
|
685
|
|
|
671
|
2005-02-05 Fernando Perez <fperez@colorado.edu>
|
|
686
|
2005-02-05 Fernando Perez <fperez@colorado.edu>
|
|
672
|
|
|
687
|
|
|
673
|
* IPython/Magic.py (magic_prun): Fix bug where prun would fail if
|
|
688
|
* IPython/Magic.py (magic_prun): Fix bug where prun would fail if
|
|
674
|
the call had quote characters in it (the quotes were stripped).
|
|
689
|
the call had quote characters in it (the quotes were stripped).
|
|
675
|
|
|
690
|
|
|
676
|
2005-01-31 Fernando Perez <fperez@colorado.edu>
|
|
691
|
2005-01-31 Fernando Perez <fperez@colorado.edu>
|
|
677
|
|
|
692
|
|
|
678
|
* IPython/iplib.py (InteractiveShell.__init__): reduce reliance on
|
|
693
|
* IPython/iplib.py (InteractiveShell.__init__): reduce reliance on
|
|
679
|
Itpl.itpl() to make the code more robust against psyco
|
|
694
|
Itpl.itpl() to make the code more robust against psyco
|
|
680
|
optimizations.
|
|
695
|
optimizations.
|
|
681
|
|
|
696
|
|
|
682
|
* IPython/Itpl.py (Itpl.__str__): Use a _getframe() call instead
|
|
697
|
* IPython/Itpl.py (Itpl.__str__): Use a _getframe() call instead
|
|
683
|
of causing an exception. Quicker, cleaner.
|
|
698
|
of causing an exception. Quicker, cleaner.
|
|
684
|
|
|
699
|
|
|
685
|
2005-01-28 Fernando Perez <fperez@colorado.edu>
|
|
700
|
2005-01-28 Fernando Perez <fperez@colorado.edu>
|
|
686
|
|
|
701
|
|
|
687
|
* scripts/ipython_win_post_install.py (install): hardcode
|
|
702
|
* scripts/ipython_win_post_install.py (install): hardcode
|
|
688
|
sys.prefix+'python.exe' as the executable path. It turns out that
|
|
703
|
sys.prefix+'python.exe' as the executable path. It turns out that
|
|
689
|
during the post-installation run, sys.executable resolves to the
|
|
704
|
during the post-installation run, sys.executable resolves to the
|
|
690
|
name of the binary installer! I should report this as a distutils
|
|
705
|
name of the binary installer! I should report this as a distutils
|
|
691
|
bug, I think. I updated the .10 release with this tiny fix, to
|
|
706
|
bug, I think. I updated the .10 release with this tiny fix, to
|
|
692
|
avoid annoying the lists further.
|
|
707
|
avoid annoying the lists further.
|
|
693
|
|
|
708
|
|
|
694
|
2005-01-27 *** Released version 0.6.10
|
|
709
|
2005-01-27 *** Released version 0.6.10
|
|
695
|
|
|
710
|
|
|
696
|
2005-01-27 Fernando Perez <fperez@colorado.edu>
|
|
711
|
2005-01-27 Fernando Perez <fperez@colorado.edu>
|
|
697
|
|
|
712
|
|
|
698
|
* IPython/numutils.py (norm): Added 'inf' as optional name for
|
|
713
|
* IPython/numutils.py (norm): Added 'inf' as optional name for
|
|
699
|
L-infinity norm, included references to mathworld.com for vector
|
|
714
|
L-infinity norm, included references to mathworld.com for vector
|
|
700
|
norm definitions.
|
|
715
|
norm definitions.
|
|
701
|
(amin/amax): added amin/amax for array min/max. Similar to what
|
|
716
|
(amin/amax): added amin/amax for array min/max. Similar to what
|
|
702
|
pylab ships with after the recent reorganization of names.
|
|
717
|
pylab ships with after the recent reorganization of names.
|
|
703
|
(spike/spike_odd): removed deprecated spike/spike_odd functions.
|
|
718
|
(spike/spike_odd): removed deprecated spike/spike_odd functions.
|
|
704
|
|
|
719
|
|
|
705
|
* ipython.el: committed Alex's recent fixes and improvements.
|
|
720
|
* ipython.el: committed Alex's recent fixes and improvements.
|
|
706
|
Tested with python-mode from CVS, and it looks excellent. Since
|
|
721
|
Tested with python-mode from CVS, and it looks excellent. Since
|
|
707
|
python-mode hasn't released anything in a while, I'm temporarily
|
|
722
|
python-mode hasn't released anything in a while, I'm temporarily
|
|
708
|
putting a copy of today's CVS (v 4.70) of python-mode in:
|
|
723
|
putting a copy of today's CVS (v 4.70) of python-mode in:
|
|
709
|
http://ipython.scipy.org/tmp/python-mode.el
|
|
724
|
http://ipython.scipy.org/tmp/python-mode.el
|
|
710
|
|
|
725
|
|
|
711
|
* scripts/ipython_win_post_install.py (install): Win32 fix to use
|
|
726
|
* scripts/ipython_win_post_install.py (install): Win32 fix to use
|
|
712
|
sys.executable for the executable name, instead of assuming it's
|
|
727
|
sys.executable for the executable name, instead of assuming it's
|
|
713
|
called 'python.exe' (the post-installer would have produced broken
|
|
728
|
called 'python.exe' (the post-installer would have produced broken
|
|
714
|
setups on systems with a differently named python binary).
|
|
729
|
setups on systems with a differently named python binary).
|
|
715
|
|
|
730
|
|
|
716
|
* IPython/PyColorize.py (Parser.__call__): change explicit '\n'
|
|
731
|
* IPython/PyColorize.py (Parser.__call__): change explicit '\n'
|
|
717
|
references to os.linesep, to make the code more
|
|
732
|
references to os.linesep, to make the code more
|
|
718
|
platform-independent. This is also part of the win32 coloring
|
|
733
|
platform-independent. This is also part of the win32 coloring
|
|
719
|
fixes.
|
|
734
|
fixes.
|
|
720
|
|
|
735
|
|
|
721
|
* IPython/genutils.py (page_dumb): Remove attempts to chop long
|
|
736
|
* IPython/genutils.py (page_dumb): Remove attempts to chop long
|
|
722
|
lines, which actually cause coloring bugs because the length of
|
|
737
|
lines, which actually cause coloring bugs because the length of
|
|
723
|
the line is very difficult to correctly compute with embedded
|
|
738
|
the line is very difficult to correctly compute with embedded
|
|
724
|
escapes. This was the source of all the coloring problems under
|
|
739
|
escapes. This was the source of all the coloring problems under
|
|
725
|
Win32. I think that _finally_, Win32 users have a properly
|
|
740
|
Win32. I think that _finally_, Win32 users have a properly
|
|
726
|
working ipython in all respects. This would never have happened
|
|
741
|
working ipython in all respects. This would never have happened
|
|
727
|
if not for Gary Bishop and Viktor Ransmayr's great help and work.
|
|
742
|
if not for Gary Bishop and Viktor Ransmayr's great help and work.
|
|
728
|
|
|
743
|
|
|
729
|
2005-01-26 *** Released version 0.6.9
|
|
744
|
2005-01-26 *** Released version 0.6.9
|
|
730
|
|
|
745
|
|
|
731
|
2005-01-25 Fernando Perez <fperez@colorado.edu>
|
|
746
|
2005-01-25 Fernando Perez <fperez@colorado.edu>
|
|
732
|
|
|
747
|
|
|
733
|
* setup.py: finally, we have a true Windows installer, thanks to
|
|
748
|
* setup.py: finally, we have a true Windows installer, thanks to
|
|
734
|
the excellent work of Viktor Ransmayr
|
|
749
|
the excellent work of Viktor Ransmayr
|
|
735
|
<viktor.ransmayr-AT-t-online.de>. The docs have been updated for
|
|
750
|
<viktor.ransmayr-AT-t-online.de>. The docs have been updated for
|
|
736
|
Windows users. The setup routine is quite a bit cleaner thanks to
|
|
751
|
Windows users. The setup routine is quite a bit cleaner thanks to
|
|
737
|
this, and the post-install script uses the proper functions to
|
|
752
|
this, and the post-install script uses the proper functions to
|
|
738
|
allow a clean de-installation using the standard Windows Control
|
|
753
|
allow a clean de-installation using the standard Windows Control
|
|
739
|
Panel.
|
|
754
|
Panel.
|
|
740
|
|
|
755
|
|
|
741
|
* IPython/genutils.py (get_home_dir): changed to use the $HOME
|
|
756
|
* IPython/genutils.py (get_home_dir): changed to use the $HOME
|
|
742
|
environment variable under all OSes (including win32) if
|
|
757
|
environment variable under all OSes (including win32) if
|
|
743
|
available. This will give consistency to win32 users who have set
|
|
758
|
available. This will give consistency to win32 users who have set
|
|
744
|
this variable for any reason. If os.environ['HOME'] fails, the
|
|
759
|
this variable for any reason. If os.environ['HOME'] fails, the
|
|
745
|
previous policy of using HOMEDRIVE\HOMEPATH kicks in.
|
|
760
|
previous policy of using HOMEDRIVE\HOMEPATH kicks in.
|
|
746
|
|
|
761
|
|
|
747
|
2005-01-24 Fernando Perez <fperez@colorado.edu>
|
|
762
|
2005-01-24 Fernando Perez <fperez@colorado.edu>
|
|
748
|
|
|
763
|
|
|
749
|
* IPython/numutils.py (empty_like): add empty_like(), similar to
|
|
764
|
* IPython/numutils.py (empty_like): add empty_like(), similar to
|
|
750
|
zeros_like() but taking advantage of the new empty() Numeric routine.
|
|
765
|
zeros_like() but taking advantage of the new empty() Numeric routine.
|
|
751
|
|
|
766
|
|
|
752
|
2005-01-23 *** Released version 0.6.8
|
|
767
|
2005-01-23 *** Released version 0.6.8
|
|
753
|
|
|
768
|
|
|
754
|
2005-01-22 Fernando Perez <fperez@colorado.edu>
|
|
769
|
2005-01-22 Fernando Perez <fperez@colorado.edu>
|
|
755
|
|
|
770
|
|
|
756
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec): I removed the
|
|
771
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec): I removed the
|
|
757
|
automatic show() calls. After discussing things with JDH, it
|
|
772
|
automatic show() calls. After discussing things with JDH, it
|
|
758
|
turns out there are too many corner cases where this can go wrong.
|
|
773
|
turns out there are too many corner cases where this can go wrong.
|
|
759
|
It's best not to try to be 'too smart', and simply have ipython
|
|
774
|
It's best not to try to be 'too smart', and simply have ipython
|
|
760
|
reproduce as much as possible the default behavior of a normal
|
|
775
|
reproduce as much as possible the default behavior of a normal
|
|
761
|
python shell.
|
|
776
|
python shell.
|
|
762
|
|
|
777
|
|
|
763
|
* IPython/iplib.py (InteractiveShell.__init__): Modified the
|
|
778
|
* IPython/iplib.py (InteractiveShell.__init__): Modified the
|
|
764
|
line-splitting regexp and _prefilter() to avoid calling getattr()
|
|
779
|
line-splitting regexp and _prefilter() to avoid calling getattr()
|
|
765
|
on assignments. This closes
|
|
780
|
on assignments. This closes
|
|
766
|
http://www.scipy.net/roundup/ipython/issue24. Note that Python's
|
|
781
|
http://www.scipy.net/roundup/ipython/issue24. Note that Python's
|
|
767
|
readline uses getattr(), so a simple <TAB> keypress is still
|
|
782
|
readline uses getattr(), so a simple <TAB> keypress is still
|
|
768
|
enough to trigger getattr() calls on an object.
|
|
783
|
enough to trigger getattr() calls on an object.
|
|
769
|
|
|
784
|
|
|
770
|
2005-01-21 Fernando Perez <fperez@colorado.edu>
|
|
785
|
2005-01-21 Fernando Perez <fperez@colorado.edu>
|
|
771
|
|
|
786
|
|
|
772
|
* IPython/Shell.py (MatplotlibShellBase.magic_run): Fix the %run
|
|
787
|
* IPython/Shell.py (MatplotlibShellBase.magic_run): Fix the %run
|
|
773
|
docstring under pylab so it doesn't mask the original.
|
|
788
|
docstring under pylab so it doesn't mask the original.
|
|
774
|
|
|
789
|
|
|
775
|
2005-01-21 *** Released version 0.6.7
|
|
790
|
2005-01-21 *** Released version 0.6.7
|
|
776
|
|
|
791
|
|
|
777
|
2005-01-21 Fernando Perez <fperez@colorado.edu>
|
|
792
|
2005-01-21 Fernando Perez <fperez@colorado.edu>
|
|
778
|
|
|
793
|
|
|
779
|
* IPython/Shell.py (MTInteractiveShell.runcode): Trap a crash with
|
|
794
|
* IPython/Shell.py (MTInteractiveShell.runcode): Trap a crash with
|
|
780
|
signal handling for win32 users in multithreaded mode.
|
|
795
|
signal handling for win32 users in multithreaded mode.
|
|
781
|
|
|
796
|
|
|
782
|
2005-01-17 Fernando Perez <fperez@colorado.edu>
|
|
797
|
2005-01-17 Fernando Perez <fperez@colorado.edu>
|
|
783
|
|
|
798
|
|
|
784
|
* IPython/OInspect.py (Inspector.pinfo): Fix crash when inspecting
|
|
799
|
* IPython/OInspect.py (Inspector.pinfo): Fix crash when inspecting
|
|
785
|
instances with no __init__. After a crash report by Norbert Nemec
|
|
800
|
instances with no __init__. After a crash report by Norbert Nemec
|
|
786
|
<Norbert-AT-nemec-online.de>.
|
|
801
|
<Norbert-AT-nemec-online.de>.
|
|
787
|
|
|
802
|
|
|
788
|
2005-01-14 Fernando Perez <fperez@colorado.edu>
|
|
803
|
2005-01-14 Fernando Perez <fperez@colorado.edu>
|
|
789
|
|
|
804
|
|
|
790
|
* IPython/ultraTB.py (VerboseTB.text): Fix bug in reporting of
|
|
805
|
* IPython/ultraTB.py (VerboseTB.text): Fix bug in reporting of
|
|
791
|
names for verbose exceptions, when multiple dotted names and the
|
|
806
|
names for verbose exceptions, when multiple dotted names and the
|
|
792
|
'parent' object were present on the same line.
|
|
807
|
'parent' object were present on the same line.
|
|
793
|
|
|
808
|
|
|
794
|
2005-01-11 Fernando Perez <fperez@colorado.edu>
|
|
809
|
2005-01-11 Fernando Perez <fperez@colorado.edu>
|
|
795
|
|
|
810
|
|
|
796
|
* IPython/genutils.py (flag_calls): new utility to trap and flag
|
|
811
|
* IPython/genutils.py (flag_calls): new utility to trap and flag
|
|
797
|
calls in functions. I need it to clean up matplotlib support.
|
|
812
|
calls in functions. I need it to clean up matplotlib support.
|
|
798
|
Also removed some deprecated code in genutils.
|
|
813
|
Also removed some deprecated code in genutils.
|
|
799
|
|
|
814
|
|
|
800
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec): small fix so
|
|
815
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec): small fix so
|
|
801
|
that matplotlib scripts called with %run, which don't call show()
|
|
816
|
that matplotlib scripts called with %run, which don't call show()
|
|
802
|
themselves, still have their plotting windows open.
|
|
817
|
themselves, still have their plotting windows open.
|
|
803
|
|
|
818
|
|
|
804
|
2005-01-05 Fernando Perez <fperez@colorado.edu>
|
|
819
|
2005-01-05 Fernando Perez <fperez@colorado.edu>
|
|
805
|
|
|
820
|
|
|
806
|
* IPython/Shell.py (IPShellGTK.__init__): Patch by Andrew Straw
|
|
821
|
* IPython/Shell.py (IPShellGTK.__init__): Patch by Andrew Straw
|
|
807
|
<astraw-AT-caltech.edu>, to fix gtk deprecation warnings.
|
|
822
|
<astraw-AT-caltech.edu>, to fix gtk deprecation warnings.
|
|
808
|
|
|
823
|
|
|
809
|
2004-12-19 Fernando Perez <fperez@colorado.edu>
|
|
824
|
2004-12-19 Fernando Perez <fperez@colorado.edu>
|
|
810
|
|
|
825
|
|
|
811
|
* IPython/Shell.py (MTInteractiveShell.runcode): Get rid of
|
|
826
|
* IPython/Shell.py (MTInteractiveShell.runcode): Get rid of
|
|
812
|
parent_runcode, which was an eyesore. The same result can be
|
|
827
|
parent_runcode, which was an eyesore. The same result can be
|
|
813
|
obtained with Python's regular superclass mechanisms.
|
|
828
|
obtained with Python's regular superclass mechanisms.
|
|
814
|
|
|
829
|
|
|
815
|
2004-12-17 Fernando Perez <fperez@colorado.edu>
|
|
830
|
2004-12-17 Fernando Perez <fperez@colorado.edu>
|
|
816
|
|
|
831
|
|
|
817
|
* IPython/Magic.py (Magic.magic_sc): Fix quote stripping problem
|
|
832
|
* IPython/Magic.py (Magic.magic_sc): Fix quote stripping problem
|
|
818
|
reported by Prabhu.
|
|
833
|
reported by Prabhu.
|
|
819
|
(Magic.magic_sx): direct all errors to Term.cerr (defaults to
|
|
834
|
(Magic.magic_sx): direct all errors to Term.cerr (defaults to
|
|
820
|
sys.stderr) instead of explicitly calling sys.stderr. This helps
|
|
835
|
sys.stderr) instead of explicitly calling sys.stderr. This helps
|
|
821
|
maintain our I/O abstractions clean, for future GUI embeddings.
|
|
836
|
maintain our I/O abstractions clean, for future GUI embeddings.
|
|
822
|
|
|
837
|
|
|
823
|
* IPython/genutils.py (info): added new utility for sys.stderr
|
|
838
|
* IPython/genutils.py (info): added new utility for sys.stderr
|
|
824
|
unified info message handling (thin wrapper around warn()).
|
|
839
|
unified info message handling (thin wrapper around warn()).
|
|
825
|
|
|
840
|
|
|
826
|
* IPython/ultraTB.py (VerboseTB.text): Fix misreported global
|
|
841
|
* IPython/ultraTB.py (VerboseTB.text): Fix misreported global
|
|
827
|
composite (dotted) names on verbose exceptions.
|
|
842
|
composite (dotted) names on verbose exceptions.
|
|
828
|
(VerboseTB.nullrepr): harden against another kind of errors which
|
|
843
|
(VerboseTB.nullrepr): harden against another kind of errors which
|
|
829
|
Python's inspect module can trigger, and which were crashing
|
|
844
|
Python's inspect module can trigger, and which were crashing
|
|
830
|
IPython. Thanks to a report by Marco Lombardi
|
|
845
|
IPython. Thanks to a report by Marco Lombardi
|
|
831
|
<mlombard-AT-ma010192.hq.eso.org>.
|
|
846
|
<mlombard-AT-ma010192.hq.eso.org>.
|
|
832
|
|
|
847
|
|
|
833
|
2004-12-13 *** Released version 0.6.6
|
|
848
|
2004-12-13 *** Released version 0.6.6
|
|
834
|
|
|
849
|
|
|
835
|
2004-12-12 Fernando Perez <fperez@colorado.edu>
|
|
850
|
2004-12-12 Fernando Perez <fperez@colorado.edu>
|
|
836
|
|
|
851
|
|
|
837
|
* IPython/Shell.py (IPShellGTK.mainloop): catch RuntimeErrors
|
|
852
|
* IPython/Shell.py (IPShellGTK.mainloop): catch RuntimeErrors
|
|
838
|
generated by pygtk upon initialization if it was built without
|
|
853
|
generated by pygtk upon initialization if it was built without
|
|
839
|
threads (for matplotlib users). After a crash reported by
|
|
854
|
threads (for matplotlib users). After a crash reported by
|
|
840
|
Leguijt, Jaap J SIEP-EPT-RES <Jaap.Leguijt-AT-shell.com>.
|
|
855
|
Leguijt, Jaap J SIEP-EPT-RES <Jaap.Leguijt-AT-shell.com>.
|
|
841
|
|
|
856
|
|
|
842
|
* IPython/ipmaker.py (make_IPython): fix small bug in the
|
|
857
|
* IPython/ipmaker.py (make_IPython): fix small bug in the
|
|
843
|
import_some parameter for multiple imports.
|
|
858
|
import_some parameter for multiple imports.
|
|
844
|
|
|
859
|
|
|
845
|
* IPython/iplib.py (ipmagic): simplified the interface of
|
|
860
|
* IPython/iplib.py (ipmagic): simplified the interface of
|
|
846
|
ipmagic() to take a single string argument, just as it would be
|
|
861
|
ipmagic() to take a single string argument, just as it would be
|
|
847
|
typed at the IPython cmd line.
|
|
862
|
typed at the IPython cmd line.
|
|
848
|
(ipalias): Added new ipalias() with an interface identical to
|
|
863
|
(ipalias): Added new ipalias() with an interface identical to
|
|
849
|
ipmagic(). This completes exposing a pure python interface to the
|
|
864
|
ipmagic(). This completes exposing a pure python interface to the
|
|
850
|
alias and magic system, which can be used in loops or more complex
|
|
865
|
alias and magic system, which can be used in loops or more complex
|
|
851
|
code where IPython's automatic line mangling is not active.
|
|
866
|
code where IPython's automatic line mangling is not active.
|
|
852
|
|
|
867
|
|
|
853
|
* IPython/genutils.py (timing): changed interface of timing to
|
|
868
|
* IPython/genutils.py (timing): changed interface of timing to
|
|
854
|
simply run code once, which is the most common case. timings()
|
|
869
|
simply run code once, which is the most common case. timings()
|
|
855
|
remains unchanged, for the cases where you want multiple runs.
|
|
870
|
remains unchanged, for the cases where you want multiple runs.
|
|
856
|
|
|
871
|
|
|
857
|
* IPython/Shell.py (MatplotlibShellBase._matplotlib_config): Fix a
|
|
872
|
* IPython/Shell.py (MatplotlibShellBase._matplotlib_config): Fix a
|
|
858
|
bug where Python2.2 crashes with exec'ing code which does not end
|
|
873
|
bug where Python2.2 crashes with exec'ing code which does not end
|
|
859
|
in a single newline. Python 2.3 is OK, so I hadn't noticed this
|
|
874
|
in a single newline. Python 2.3 is OK, so I hadn't noticed this
|
|
860
|
before.
|
|
875
|
before.
|
|
861
|
|
|
876
|
|
|
862
|
2004-12-10 Fernando Perez <fperez@colorado.edu>
|
|
877
|
2004-12-10 Fernando Perez <fperez@colorado.edu>
|
|
863
|
|
|
878
|
|
|
864
|
* IPython/Magic.py (Magic.magic_prun): changed name of option from
|
|
879
|
* IPython/Magic.py (Magic.magic_prun): changed name of option from
|
|
865
|
-t to -T, to accomodate the new -t flag in %run (the %run and
|
|
880
|
-t to -T, to accomodate the new -t flag in %run (the %run and
|
|
866
|
%prun options are kind of intermixed, and it's not easy to change
|
|
881
|
%prun options are kind of intermixed, and it's not easy to change
|
|
867
|
this with the limitations of python's getopt).
|
|
882
|
this with the limitations of python's getopt).
|
|
868
|
|
|
883
|
|
|
869
|
* IPython/Magic.py (Magic.magic_run): Added new -t option to time
|
|
884
|
* IPython/Magic.py (Magic.magic_run): Added new -t option to time
|
|
870
|
the execution of scripts. It's not as fine-tuned as timeit.py,
|
|
885
|
the execution of scripts. It's not as fine-tuned as timeit.py,
|
|
871
|
but it works from inside ipython (and under 2.2, which lacks
|
|
886
|
but it works from inside ipython (and under 2.2, which lacks
|
|
872
|
timeit.py). Optionally a number of runs > 1 can be given for
|
|
887
|
timeit.py). Optionally a number of runs > 1 can be given for
|
|
873
|
timing very short-running code.
|
|
888
|
timing very short-running code.
|
|
874
|
|
|
889
|
|
|
875
|
* IPython/genutils.py (uniq_stable): new routine which returns a
|
|
890
|
* IPython/genutils.py (uniq_stable): new routine which returns a
|
|
876
|
list of unique elements in any iterable, but in stable order of
|
|
891
|
list of unique elements in any iterable, but in stable order of
|
|
877
|
appearance. I needed this for the ultraTB fixes, and it's a handy
|
|
892
|
appearance. I needed this for the ultraTB fixes, and it's a handy
|
|
878
|
utility.
|
|
893
|
utility.
|
|
879
|
|
|
894
|
|
|
880
|
* IPython/ultraTB.py (VerboseTB.text): Fix proper reporting of
|
|
895
|
* IPython/ultraTB.py (VerboseTB.text): Fix proper reporting of
|
|
881
|
dotted names in Verbose exceptions. This had been broken since
|
|
896
|
dotted names in Verbose exceptions. This had been broken since
|
|
882
|
the very start, now x.y will properly be printed in a Verbose
|
|
897
|
the very start, now x.y will properly be printed in a Verbose
|
|
883
|
traceback, instead of x being shown and y appearing always as an
|
|
898
|
traceback, instead of x being shown and y appearing always as an
|
|
884
|
'undefined global'. Getting this to work was a bit tricky,
|
|
899
|
'undefined global'. Getting this to work was a bit tricky,
|
|
885
|
because by default python tokenizers are stateless. Saved by
|
|
900
|
because by default python tokenizers are stateless. Saved by
|
|
886
|
python's ability to easily add a bit of state to an arbitrary
|
|
901
|
python's ability to easily add a bit of state to an arbitrary
|
|
887
|
function (without needing to build a full-blown callable object).
|
|
902
|
function (without needing to build a full-blown callable object).
|
|
888
|
|
|
903
|
|
|
889
|
Also big cleanup of this code, which had horrendous runtime
|
|
904
|
Also big cleanup of this code, which had horrendous runtime
|
|
890
|
lookups of zillions of attributes for colorization. Moved all
|
|
905
|
lookups of zillions of attributes for colorization. Moved all
|
|
891
|
this code into a few templates, which make it cleaner and quicker.
|
|
906
|
this code into a few templates, which make it cleaner and quicker.
|
|
892
|
|
|
907
|
|
|
893
|
Printout quality was also improved for Verbose exceptions: one
|
|
908
|
Printout quality was also improved for Verbose exceptions: one
|
|
894
|
variable per line, and memory addresses are printed (this can be
|
|
909
|
variable per line, and memory addresses are printed (this can be
|
|
895
|
quite handy in nasty debugging situations, which is what Verbose
|
|
910
|
quite handy in nasty debugging situations, which is what Verbose
|
|
896
|
is for).
|
|
911
|
is for).
|
|
897
|
|
|
912
|
|
|
898
|
* IPython/ipmaker.py (make_IPython): Do NOT execute files named in
|
|
913
|
* IPython/ipmaker.py (make_IPython): Do NOT execute files named in
|
|
899
|
the command line as scripts to be loaded by embedded instances.
|
|
914
|
the command line as scripts to be loaded by embedded instances.
|
|
900
|
Doing so has the potential for an infinite recursion if there are
|
|
915
|
Doing so has the potential for an infinite recursion if there are
|
|
901
|
exceptions thrown in the process. This fixes a strange crash
|
|
916
|
exceptions thrown in the process. This fixes a strange crash
|
|
902
|
reported by Philippe MULLER <muller-AT-irit.fr>.
|
|
917
|
reported by Philippe MULLER <muller-AT-irit.fr>.
|
|
903
|
|
|
918
|
|
|
904
|
2004-12-09 Fernando Perez <fperez@colorado.edu>
|
|
919
|
2004-12-09 Fernando Perez <fperez@colorado.edu>
|
|
905
|
|
|
920
|
|
|
906
|
* IPython/Shell.py (MatplotlibShellBase.use): Change pylab support
|
|
921
|
* IPython/Shell.py (MatplotlibShellBase.use): Change pylab support
|
|
907
|
to reflect new names in matplotlib, which now expose the
|
|
922
|
to reflect new names in matplotlib, which now expose the
|
|
908
|
matlab-compatible interface via a pylab module instead of the
|
|
923
|
matlab-compatible interface via a pylab module instead of the
|
|
909
|
'matlab' name. The new code is backwards compatible, so users of
|
|
924
|
'matlab' name. The new code is backwards compatible, so users of
|
|
910
|
all matplotlib versions are OK. Patch by J. Hunter.
|
|
925
|
all matplotlib versions are OK. Patch by J. Hunter.
|
|
911
|
|
|
926
|
|
|
912
|
* IPython/OInspect.py (Inspector.pinfo): Add to object? printing
|
|
927
|
* IPython/OInspect.py (Inspector.pinfo): Add to object? printing
|
|
913
|
of __init__ docstrings for instances (class docstrings are already
|
|
928
|
of __init__ docstrings for instances (class docstrings are already
|
|
914
|
automatically printed). Instances with customized docstrings
|
|
929
|
automatically printed). Instances with customized docstrings
|
|
915
|
(indep. of the class) are also recognized and all 3 separate
|
|
930
|
(indep. of the class) are also recognized and all 3 separate
|
|
916
|
docstrings are printed (instance, class, constructor). After some
|
|
931
|
docstrings are printed (instance, class, constructor). After some
|
|
917
|
comments/suggestions by J. Hunter.
|
|
932
|
comments/suggestions by J. Hunter.
|
|
918
|
|
|
933
|
|
|
919
|
2004-12-05 Fernando Perez <fperez@colorado.edu>
|
|
934
|
2004-12-05 Fernando Perez <fperez@colorado.edu>
|
|
920
|
|
|
935
|
|
|
921
|
* IPython/iplib.py (MagicCompleter.complete): Remove annoying
|
|
936
|
* IPython/iplib.py (MagicCompleter.complete): Remove annoying
|
|
922
|
warnings when tab-completion fails and triggers an exception.
|
|
937
|
warnings when tab-completion fails and triggers an exception.
|
|
923
|
|
|
938
|
|
|
924
|
2004-12-03 Fernando Perez <fperez@colorado.edu>
|
|
939
|
2004-12-03 Fernando Perez <fperez@colorado.edu>
|
|
925
|
|
|
940
|
|
|
926
|
* IPython/Magic.py (magic_prun): Fix bug where an exception would
|
|
941
|
* IPython/Magic.py (magic_prun): Fix bug where an exception would
|
|
927
|
be triggered when using 'run -p'. An incorrect option flag was
|
|
942
|
be triggered when using 'run -p'. An incorrect option flag was
|
|
928
|
being set ('d' instead of 'D').
|
|
943
|
being set ('d' instead of 'D').
|
|
929
|
(manpage): fix missing escaped \- sign.
|
|
944
|
(manpage): fix missing escaped \- sign.
|
|
930
|
|
|
945
|
|
|
931
|
2004-11-30 *** Released version 0.6.5
|
|
946
|
2004-11-30 *** Released version 0.6.5
|
|
932
|
|
|
947
|
|
|
933
|
2004-11-30 Fernando Perez <fperez@colorado.edu>
|
|
948
|
2004-11-30 Fernando Perez <fperez@colorado.edu>
|
|
934
|
|
|
949
|
|
|
935
|
* IPython/Magic.py (Magic.magic_run): Fix bug in breakpoint
|
|
950
|
* IPython/Magic.py (Magic.magic_run): Fix bug in breakpoint
|
|
936
|
setting with -d option.
|
|
951
|
setting with -d option.
|
|
937
|
|
|
952
|
|
|
938
|
* setup.py (docfiles): Fix problem where the doc glob I was using
|
|
953
|
* setup.py (docfiles): Fix problem where the doc glob I was using
|
|
939
|
was COMPLETELY BROKEN. It was giving the right files by pure
|
|
954
|
was COMPLETELY BROKEN. It was giving the right files by pure
|
|
940
|
accident, but failed once I tried to include ipython.el. Note:
|
|
955
|
accident, but failed once I tried to include ipython.el. Note:
|
|
941
|
glob() does NOT allow you to do exclusion on multiple endings!
|
|
956
|
glob() does NOT allow you to do exclusion on multiple endings!
|
|
942
|
|
|
957
|
|
|
943
|
2004-11-29 Fernando Perez <fperez@colorado.edu>
|
|
958
|
2004-11-29 Fernando Perez <fperez@colorado.edu>
|
|
944
|
|
|
959
|
|
|
945
|
* IPython/usage.py (__doc__): cleaned up usage docstring, by using
|
|
960
|
* IPython/usage.py (__doc__): cleaned up usage docstring, by using
|
|
946
|
the manpage as the source. Better formatting & consistency.
|
|
961
|
the manpage as the source. Better formatting & consistency.
|
|
947
|
|
|
962
|
|
|
948
|
* IPython/Magic.py (magic_run): Added new -d option, to run
|
|
963
|
* IPython/Magic.py (magic_run): Added new -d option, to run
|
|
949
|
scripts under the control of the python pdb debugger. Note that
|
|
964
|
scripts under the control of the python pdb debugger. Note that
|
|
950
|
this required changing the %prun option -d to -D, to avoid a clash
|
|
965
|
this required changing the %prun option -d to -D, to avoid a clash
|
|
951
|
(since %run must pass options to %prun, and getopt is too dumb to
|
|
966
|
(since %run must pass options to %prun, and getopt is too dumb to
|
|
952
|
handle options with string values with embedded spaces). Thanks
|
|
967
|
handle options with string values with embedded spaces). Thanks
|
|
953
|
to a suggestion by Matthew Arnison <maffew-AT-cat.org.au>.
|
|
968
|
to a suggestion by Matthew Arnison <maffew-AT-cat.org.au>.
|
|
954
|
(magic_who_ls): added type matching to %who and %whos, so that one
|
|
969
|
(magic_who_ls): added type matching to %who and %whos, so that one
|
|
955
|
can filter their output to only include variables of certain
|
|
970
|
can filter their output to only include variables of certain
|
|
956
|
types. Another suggestion by Matthew.
|
|
971
|
types. Another suggestion by Matthew.
|
|
957
|
(magic_whos): Added memory summaries in kb and Mb for arrays.
|
|
972
|
(magic_whos): Added memory summaries in kb and Mb for arrays.
|
|
958
|
(magic_who): Improve formatting (break lines every 9 vars).
|
|
973
|
(magic_who): Improve formatting (break lines every 9 vars).
|
|
959
|
|
|
974
|
|
|
960
|
2004-11-28 Fernando Perez <fperez@colorado.edu>
|
|
975
|
2004-11-28 Fernando Perez <fperez@colorado.edu>
|
|
961
|
|
|
976
|
|
|
962
|
* IPython/Logger.py (Logger.log): Fix bug in syncing the input
|
|
977
|
* IPython/Logger.py (Logger.log): Fix bug in syncing the input
|
|
963
|
cache when empty lines were present.
|
|
978
|
cache when empty lines were present.
|
|
964
|
|
|
979
|
|
|
965
|
2004-11-24 Fernando Perez <fperez@colorado.edu>
|
|
980
|
2004-11-24 Fernando Perez <fperez@colorado.edu>
|
|
966
|
|
|
981
|
|
|
967
|
* IPython/usage.py (__doc__): document the re-activated threading
|
|
982
|
* IPython/usage.py (__doc__): document the re-activated threading
|
|
968
|
options for WX and GTK.
|
|
983
|
options for WX and GTK.
|
|
969
|
|
|
984
|
|
|
970
|
2004-11-23 Fernando Perez <fperez@colorado.edu>
|
|
985
|
2004-11-23 Fernando Perez <fperez@colorado.edu>
|
|
971
|
|
|
986
|
|
|
972
|
* IPython/Shell.py (start): Added Prabhu's big patch to reactivate
|
|
987
|
* IPython/Shell.py (start): Added Prabhu's big patch to reactivate
|
|
973
|
the -wthread and -gthread options, along with a new -tk one to try
|
|
988
|
the -wthread and -gthread options, along with a new -tk one to try
|
|
974
|
and coordinate Tk threading with wx/gtk. The tk support is very
|
|
989
|
and coordinate Tk threading with wx/gtk. The tk support is very
|
|
975
|
platform dependent, since it seems to require Tcl and Tk to be
|
|
990
|
platform dependent, since it seems to require Tcl and Tk to be
|
|
976
|
built with threads (Fedora1/2 appears NOT to have it, but in
|
|
991
|
built with threads (Fedora1/2 appears NOT to have it, but in
|
|
977
|
Prabhu's Debian boxes it works OK). But even with some Tk
|
|
992
|
Prabhu's Debian boxes it works OK). But even with some Tk
|
|
978
|
limitations, this is a great improvement.
|
|
993
|
limitations, this is a great improvement.
|
|
979
|
|
|
994
|
|
|
980
|
* IPython/Prompts.py (prompt_specials_color): Added \t for time
|
|
995
|
* IPython/Prompts.py (prompt_specials_color): Added \t for time
|
|
981
|
info in user prompts. Patch by Prabhu.
|
|
996
|
info in user prompts. Patch by Prabhu.
|
|
982
|
|
|
997
|
|
|
983
|
2004-11-18 Fernando Perez <fperez@colorado.edu>
|
|
998
|
2004-11-18 Fernando Perez <fperez@colorado.edu>
|
|
984
|
|
|
999
|
|
|
985
|
* IPython/genutils.py (ask_yes_no): Add check for a max of 20
|
|
1000
|
* IPython/genutils.py (ask_yes_no): Add check for a max of 20
|
|
986
|
EOFErrors and bail, to avoid infinite loops if a non-terminating
|
|
1001
|
EOFErrors and bail, to avoid infinite loops if a non-terminating
|
|
987
|
file is fed into ipython. Patch submitted in issue 19 by user,
|
|
1002
|
file is fed into ipython. Patch submitted in issue 19 by user,
|
|
988
|
many thanks.
|
|
1003
|
many thanks.
|
|
989
|
|
|
1004
|
|
|
990
|
* IPython/iplib.py (InteractiveShell.handle_auto): do NOT trigger
|
|
1005
|
* IPython/iplib.py (InteractiveShell.handle_auto): do NOT trigger
|
|
991
|
autoquote/parens in continuation prompts, which can cause lots of
|
|
1006
|
autoquote/parens in continuation prompts, which can cause lots of
|
|
992
|
problems. Closes roundup issue 20.
|
|
1007
|
problems. Closes roundup issue 20.
|
|
993
|
|
|
1008
|
|
|
994
|
2004-11-17 Fernando Perez <fperez@colorado.edu>
|
|
1009
|
2004-11-17 Fernando Perez <fperez@colorado.edu>
|
|
995
|
|
|
1010
|
|
|
996
|
* debian/control (Build-Depends-Indep): Fix dpatch dependency,
|
|
1011
|
* debian/control (Build-Depends-Indep): Fix dpatch dependency,
|
|
997
|
reported as debian bug #280505. I'm not sure my local changelog
|
|
1012
|
reported as debian bug #280505. I'm not sure my local changelog
|
|
998
|
entry has the proper debian format (Jack?).
|
|
1013
|
entry has the proper debian format (Jack?).
|
|
999
|
|
|
1014
|
|
|
1000
|
2004-11-08 *** Released version 0.6.4
|
|
1015
|
2004-11-08 *** Released version 0.6.4
|
|
1001
|
|
|
1016
|
|
|
1002
|
2004-11-08 Fernando Perez <fperez@colorado.edu>
|
|
1017
|
2004-11-08 Fernando Perez <fperez@colorado.edu>
|
|
1003
|
|
|
1018
|
|
|
1004
|
* IPython/iplib.py (init_readline): Fix exit message for Windows
|
|
1019
|
* IPython/iplib.py (init_readline): Fix exit message for Windows
|
|
1005
|
when readline is active. Thanks to a report by Eric Jones
|
|
1020
|
when readline is active. Thanks to a report by Eric Jones
|
|
1006
|
<eric-AT-enthought.com>.
|
|
1021
|
<eric-AT-enthought.com>.
|
|
1007
|
|
|
1022
|
|
|
1008
|
2004-11-07 Fernando Perez <fperez@colorado.edu>
|
|
1023
|
2004-11-07 Fernando Perez <fperez@colorado.edu>
|
|
1009
|
|
|
1024
|
|
|
1010
|
* IPython/genutils.py (page): Add a trap for OSError exceptions,
|
|
1025
|
* IPython/genutils.py (page): Add a trap for OSError exceptions,
|
|
1011
|
sometimes seen by win2k/cygwin users.
|
|
1026
|
sometimes seen by win2k/cygwin users.
|
|
1012
|
|
|
1027
|
|
|
1013
|
2004-11-06 Fernando Perez <fperez@colorado.edu>
|
|
1028
|
2004-11-06 Fernando Perez <fperez@colorado.edu>
|
|
1014
|
|
|
1029
|
|
|
1015
|
* IPython/iplib.py (interact): Change the handling of %Exit from
|
|
1030
|
* IPython/iplib.py (interact): Change the handling of %Exit from
|
|
1016
|
trying to propagate a SystemExit to an internal ipython flag.
|
|
1031
|
trying to propagate a SystemExit to an internal ipython flag.
|
|
1017
|
This is less elegant than using Python's exception mechanism, but
|
|
1032
|
This is less elegant than using Python's exception mechanism, but
|
|
1018
|
I can't get that to work reliably with threads, so under -pylab
|
|
1033
|
I can't get that to work reliably with threads, so under -pylab
|
|
1019
|
%Exit was hanging IPython. Cross-thread exception handling is
|
|
1034
|
%Exit was hanging IPython. Cross-thread exception handling is
|
|
1020
|
really a bitch. Thaks to a bug report by Stephen Walton
|
|
1035
|
really a bitch. Thaks to a bug report by Stephen Walton
|
|
1021
|
<stephen.walton-AT-csun.edu>.
|
|
1036
|
<stephen.walton-AT-csun.edu>.
|
|
1022
|
|
|
1037
|
|
|
1023
|
2004-11-04 Fernando Perez <fperez@colorado.edu>
|
|
1038
|
2004-11-04 Fernando Perez <fperez@colorado.edu>
|
|
1024
|
|
|
1039
|
|
|
1025
|
* IPython/iplib.py (raw_input_original): store a pointer to the
|
|
1040
|
* IPython/iplib.py (raw_input_original): store a pointer to the
|
|
1026
|
true raw_input to harden against code which can modify it
|
|
1041
|
true raw_input to harden against code which can modify it
|
|
1027
|
(wx.py.PyShell does this and would otherwise crash ipython).
|
|
1042
|
(wx.py.PyShell does this and would otherwise crash ipython).
|
|
1028
|
Thanks to a bug report by Jim Flowers <james.flowers-AT-lgx.com>.
|
|
1043
|
Thanks to a bug report by Jim Flowers <james.flowers-AT-lgx.com>.
|
|
1029
|
|
|
1044
|
|
|
1030
|
* IPython/Shell.py (MTInteractiveShell.runsource): Cleaner fix for
|
|
1045
|
* IPython/Shell.py (MTInteractiveShell.runsource): Cleaner fix for
|
|
1031
|
Ctrl-C problem, which does not mess up the input line.
|
|
1046
|
Ctrl-C problem, which does not mess up the input line.
|
|
1032
|
|
|
1047
|
|
|
1033
|
2004-11-03 Fernando Perez <fperez@colorado.edu>
|
|
1048
|
2004-11-03 Fernando Perez <fperez@colorado.edu>
|
|
1034
|
|
|
1049
|
|
|
1035
|
* IPython/Release.py: Changed licensing to BSD, in all files.
|
|
1050
|
* IPython/Release.py: Changed licensing to BSD, in all files.
|
|
1036
|
(name): lowercase name for tarball/RPM release.
|
|
1051
|
(name): lowercase name for tarball/RPM release.
|
|
1037
|
|
|
1052
|
|
|
1038
|
* IPython/OInspect.py (getdoc): wrap inspect.getdoc() safely for
|
|
1053
|
* IPython/OInspect.py (getdoc): wrap inspect.getdoc() safely for
|
|
1039
|
use throughout ipython.
|
|
1054
|
use throughout ipython.
|
|
1040
|
|
|
1055
|
|
|
1041
|
* IPython/Magic.py (Magic._ofind): Switch to using the new
|
|
1056
|
* IPython/Magic.py (Magic._ofind): Switch to using the new
|
|
1042
|
OInspect.getdoc() function.
|
|
1057
|
OInspect.getdoc() function.
|
|
1043
|
|
|
1058
|
|
|
1044
|
* IPython/Shell.py (sigint_handler): Hack to ignore the execution
|
|
1059
|
* IPython/Shell.py (sigint_handler): Hack to ignore the execution
|
|
1045
|
of the line currently being canceled via Ctrl-C. It's extremely
|
|
1060
|
of the line currently being canceled via Ctrl-C. It's extremely
|
|
1046
|
ugly, but I don't know how to do it better (the problem is one of
|
|
1061
|
ugly, but I don't know how to do it better (the problem is one of
|
|
1047
|
handling cross-thread exceptions).
|
|
1062
|
handling cross-thread exceptions).
|
|
1048
|
|
|
1063
|
|
|
1049
|
2004-10-28 Fernando Perez <fperez@colorado.edu>
|
|
1064
|
2004-10-28 Fernando Perez <fperez@colorado.edu>
|
|
1050
|
|
|
1065
|
|
|
1051
|
* IPython/Shell.py (signal_handler): add signal handlers to trap
|
|
1066
|
* IPython/Shell.py (signal_handler): add signal handlers to trap
|
|
1052
|
SIGINT and SIGSEGV in threaded code properly. Thanks to a bug
|
|
1067
|
SIGINT and SIGSEGV in threaded code properly. Thanks to a bug
|
|
1053
|
report by Francesc Alted.
|
|
1068
|
report by Francesc Alted.
|
|
1054
|
|
|
1069
|
|
|
1055
|
2004-10-21 Fernando Perez <fperez@colorado.edu>
|
|
1070
|
2004-10-21 Fernando Perez <fperez@colorado.edu>
|
|
1056
|
|
|
1071
|
|
|
1057
|
* IPython/Extensions/InterpreterExec.py (prefilter_shell): Fix @
|
|
1072
|
* IPython/Extensions/InterpreterExec.py (prefilter_shell): Fix @
|
|
1058
|
to % for pysh syntax extensions.
|
|
1073
|
to % for pysh syntax extensions.
|
|
1059
|
|
|
1074
|
|
|
1060
|
2004-10-09 Fernando Perez <fperez@colorado.edu>
|
|
1075
|
2004-10-09 Fernando Perez <fperez@colorado.edu>
|
|
1061
|
|
|
1076
|
|
|
1062
|
* IPython/Magic.py (Magic.magic_whos): modify output of Numeric
|
|
1077
|
* IPython/Magic.py (Magic.magic_whos): modify output of Numeric
|
|
1063
|
arrays to print a more useful summary, without calling str(arr).
|
|
1078
|
arrays to print a more useful summary, without calling str(arr).
|
|
1064
|
This avoids the problem of extremely lengthy computations which
|
|
1079
|
This avoids the problem of extremely lengthy computations which
|
|
1065
|
occur if arr is large, and appear to the user as a system lockup
|
|
1080
|
occur if arr is large, and appear to the user as a system lockup
|
|
1066
|
with 100% cpu activity. After a suggestion by Kristian Sandberg
|
|
1081
|
with 100% cpu activity. After a suggestion by Kristian Sandberg
|
|
1067
|
<Kristian.Sandberg@colorado.edu>.
|
|
1082
|
<Kristian.Sandberg@colorado.edu>.
|
|
1068
|
(Magic.__init__): fix bug in global magic escapes not being
|
|
1083
|
(Magic.__init__): fix bug in global magic escapes not being
|
|
1069
|
correctly set.
|
|
1084
|
correctly set.
|
|
1070
|
|
|
1085
|
|
|
1071
|
2004-10-08 Fernando Perez <fperez@colorado.edu>
|
|
1086
|
2004-10-08 Fernando Perez <fperez@colorado.edu>
|
|
1072
|
|
|
1087
|
|
|
1073
|
* IPython/Magic.py (__license__): change to absolute imports of
|
|
1088
|
* IPython/Magic.py (__license__): change to absolute imports of
|
|
1074
|
ipython's own internal packages, to start adapting to the absolute
|
|
1089
|
ipython's own internal packages, to start adapting to the absolute
|
|
1075
|
import requirement of PEP-328.
|
|
1090
|
import requirement of PEP-328.
|
|
1076
|
|
|
1091
|
|
|
1077
|
* IPython/genutils.py (__author__): Fix coding to utf-8 on all
|
|
1092
|
* IPython/genutils.py (__author__): Fix coding to utf-8 on all
|
|
1078
|
files, and standardize author/license marks through the Release
|
|
1093
|
files, and standardize author/license marks through the Release
|
|
1079
|
module instead of having per/file stuff (except for files with
|
|
1094
|
module instead of having per/file stuff (except for files with
|
|
1080
|
particular licenses, like the MIT/PSF-licensed codes).
|
|
1095
|
particular licenses, like the MIT/PSF-licensed codes).
|
|
1081
|
|
|
1096
|
|
|
1082
|
* IPython/Debugger.py: remove dead code for python 2.1
|
|
1097
|
* IPython/Debugger.py: remove dead code for python 2.1
|
|
1083
|
|
|
1098
|
|
|
1084
|
2004-10-04 Fernando Perez <fperez@colorado.edu>
|
|
1099
|
2004-10-04 Fernando Perez <fperez@colorado.edu>
|
|
1085
|
|
|
1100
|
|
|
1086
|
* IPython/iplib.py (ipmagic): New function for accessing magics
|
|
1101
|
* IPython/iplib.py (ipmagic): New function for accessing magics
|
|
1087
|
via a normal python function call.
|
|
1102
|
via a normal python function call.
|
|
1088
|
|
|
1103
|
|
|
1089
|
* IPython/Magic.py (Magic.magic_magic): Change the magic escape
|
|
1104
|
* IPython/Magic.py (Magic.magic_magic): Change the magic escape
|
|
1090
|
from '@' to '%', to accomodate the new @decorator syntax of python
|
|
1105
|
from '@' to '%', to accomodate the new @decorator syntax of python
|
|
1091
|
2.4.
|
|
1106
|
2.4.
|
|
1092
|
|
|
1107
|
|
|
1093
|
2004-09-29 Fernando Perez <fperez@colorado.edu>
|
|
1108
|
2004-09-29 Fernando Perez <fperez@colorado.edu>
|
|
1094
|
|
|
1109
|
|
|
1095
|
* IPython/Shell.py (MatplotlibShellBase.use): Added a wrapper to
|
|
1110
|
* IPython/Shell.py (MatplotlibShellBase.use): Added a wrapper to
|
|
1096
|
matplotlib.use to prevent running scripts which try to switch
|
|
1111
|
matplotlib.use to prevent running scripts which try to switch
|
|
1097
|
interactive backends from within ipython. This will just crash
|
|
1112
|
interactive backends from within ipython. This will just crash
|
|
1098
|
the python interpreter, so we can't allow it (but a detailed error
|
|
1113
|
the python interpreter, so we can't allow it (but a detailed error
|
|
1099
|
is given to the user).
|
|
1114
|
is given to the user).
|
|
1100
|
|
|
1115
|
|
|
1101
|
2004-09-28 Fernando Perez <fperez@colorado.edu>
|
|
1116
|
2004-09-28 Fernando Perez <fperez@colorado.edu>
|
|
1102
|
|
|
1117
|
|
|
1103
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec):
|
|
1118
|
* IPython/Shell.py (MatplotlibShellBase.mplot_exec):
|
|
1104
|
matplotlib-related fixes so that using @run with non-matplotlib
|
|
1119
|
matplotlib-related fixes so that using @run with non-matplotlib
|
|
1105
|
scripts doesn't pop up spurious plot windows. This requires
|
|
1120
|
scripts doesn't pop up spurious plot windows. This requires
|
|
1106
|
matplotlib >= 0.63, where I had to make some changes as well.
|
|
1121
|
matplotlib >= 0.63, where I had to make some changes as well.
|
|
1107
|
|
|
1122
|
|
|
1108
|
* IPython/ipmaker.py (make_IPython): update version requirement to
|
|
1123
|
* IPython/ipmaker.py (make_IPython): update version requirement to
|
|
1109
|
python 2.2.
|
|
1124
|
python 2.2.
|
|
1110
|
|
|
1125
|
|
|
1111
|
* IPython/iplib.py (InteractiveShell.mainloop): Add an optional
|
|
1126
|
* IPython/iplib.py (InteractiveShell.mainloop): Add an optional
|
|
1112
|
banner arg for embedded customization.
|
|
1127
|
banner arg for embedded customization.
|
|
1113
|
|
|
1128
|
|
|
1114
|
* IPython/Magic.py (Magic.__init__): big cleanup to remove all
|
|
1129
|
* IPython/Magic.py (Magic.__init__): big cleanup to remove all
|
|
1115
|
explicit uses of __IP as the IPython's instance name. Now things
|
|
1130
|
explicit uses of __IP as the IPython's instance name. Now things
|
|
1116
|
are properly handled via the shell.name value. The actual code
|
|
1131
|
are properly handled via the shell.name value. The actual code
|
|
1117
|
is a bit ugly b/c I'm doing it via a global in Magic.py, but this
|
|
1132
|
is a bit ugly b/c I'm doing it via a global in Magic.py, but this
|
|
1118
|
is much better than before. I'll clean things completely when the
|
|
1133
|
is much better than before. I'll clean things completely when the
|
|
1119
|
magic stuff gets a real overhaul.
|
|
1134
|
magic stuff gets a real overhaul.
|
|
1120
|
|
|
1135
|
|
|
1121
|
* ipython.1: small fixes, sent in by Jack Moffit. He also sent in
|
|
1136
|
* ipython.1: small fixes, sent in by Jack Moffit. He also sent in
|
|
1122
|
minor changes to debian dir.
|
|
1137
|
minor changes to debian dir.
|
|
1123
|
|
|
1138
|
|
|
1124
|
* IPython/iplib.py (InteractiveShell.__init__): Fix adding a
|
|
1139
|
* IPython/iplib.py (InteractiveShell.__init__): Fix adding a
|
|
1125
|
pointer to the shell itself in the interactive namespace even when
|
|
1140
|
pointer to the shell itself in the interactive namespace even when
|
|
1126
|
a user-supplied dict is provided. This is needed for embedding
|
|
1141
|
a user-supplied dict is provided. This is needed for embedding
|
|
1127
|
purposes (found by tests with Michel Sanner).
|
|
1142
|
purposes (found by tests with Michel Sanner).
|
|
1128
|
|
|
1143
|
|
|
1129
|
2004-09-27 Fernando Perez <fperez@colorado.edu>
|
|
1144
|
2004-09-27 Fernando Perez <fperez@colorado.edu>
|
|
1130
|
|
|
1145
|
|
|
1131
|
* IPython/UserConfig/ipythonrc: remove []{} from
|
|
1146
|
* IPython/UserConfig/ipythonrc: remove []{} from
|
|
1132
|
readline_remove_delims, so that things like [modname.<TAB> do
|
|
1147
|
readline_remove_delims, so that things like [modname.<TAB> do
|
|
1133
|
proper completion. This disables [].TAB, but that's a less common
|
|
1148
|
proper completion. This disables [].TAB, but that's a less common
|
|
1134
|
case than module names in list comprehensions, for example.
|
|
1149
|
case than module names in list comprehensions, for example.
|
|
1135
|
Thanks to a report by Andrea Riciputi.
|
|
1150
|
Thanks to a report by Andrea Riciputi.
|
|
1136
|
|
|
1151
|
|
|
1137
|
2004-09-09 Fernando Perez <fperez@colorado.edu>
|
|
1152
|
2004-09-09 Fernando Perez <fperez@colorado.edu>
|
|
1138
|
|
|
1153
|
|
|
1139
|
* IPython/Shell.py (IPShellGTK.mainloop): reorder to avoid
|
|
1154
|
* IPython/Shell.py (IPShellGTK.mainloop): reorder to avoid
|
|
1140
|
blocking problems in win32 and osx. Fix by John.
|
|
1155
|
blocking problems in win32 and osx. Fix by John.
|
|
1141
|
|
|
1156
|
|
|
1142
|
2004-09-08 Fernando Perez <fperez@colorado.edu>
|
|
1157
|
2004-09-08 Fernando Perez <fperez@colorado.edu>
|
|
1143
|
|
|
1158
|
|
|
1144
|
* IPython/Shell.py (IPShellWX.OnInit): Fix output redirection bug
|
|
1159
|
* IPython/Shell.py (IPShellWX.OnInit): Fix output redirection bug
|
|
1145
|
for Win32 and OSX. Fix by John Hunter.
|
|
1160
|
for Win32 and OSX. Fix by John Hunter.
|
|
1146
|
|
|
1161
|
|
|
1147
|
2004-08-30 *** Released version 0.6.3
|
|
1162
|
2004-08-30 *** Released version 0.6.3
|
|
1148
|
|
|
1163
|
|
|
1149
|
2004-08-30 Fernando Perez <fperez@colorado.edu>
|
|
1164
|
2004-08-30 Fernando Perez <fperez@colorado.edu>
|
|
1150
|
|
|
1165
|
|
|
1151
|
* setup.py (isfile): Add manpages to list of dependent files to be
|
|
1166
|
* setup.py (isfile): Add manpages to list of dependent files to be
|
|
1152
|
updated.
|
|
1167
|
updated.
|
|
1153
|
|
|
1168
|
|
|
1154
|
2004-08-27 Fernando Perez <fperez@colorado.edu>
|
|
1169
|
2004-08-27 Fernando Perez <fperez@colorado.edu>
|
|
1155
|
|
|
1170
|
|
|
1156
|
* IPython/Shell.py (start): I've disabled -wthread and -gthread
|
|
1171
|
* IPython/Shell.py (start): I've disabled -wthread and -gthread
|
|
1157
|
for now. They don't really work with standalone WX/GTK code
|
|
1172
|
for now. They don't really work with standalone WX/GTK code
|
|
1158
|
(though matplotlib IS working fine with both of those backends).
|
|
1173
|
(though matplotlib IS working fine with both of those backends).
|
|
1159
|
This will neeed much more testing. I disabled most things with
|
|
1174
|
This will neeed much more testing. I disabled most things with
|
|
1160
|
comments, so turning it back on later should be pretty easy.
|
|
1175
|
comments, so turning it back on later should be pretty easy.
|
|
1161
|
|
|
1176
|
|
|
1162
|
* IPython/iplib.py (InteractiveShell.__init__): Fix accidental
|
|
1177
|
* IPython/iplib.py (InteractiveShell.__init__): Fix accidental
|
|
1163
|
autocalling of expressions like r'foo', by modifying the line
|
|
1178
|
autocalling of expressions like r'foo', by modifying the line
|
|
1164
|
split regexp. Closes
|
|
1179
|
split regexp. Closes
|
|
1165
|
http://www.scipy.net/roundup/ipython/issue18, reported by Nicholas
|
|
1180
|
http://www.scipy.net/roundup/ipython/issue18, reported by Nicholas
|
|
1166
|
Riley <ipythonbugs-AT-sabi.net>.
|
|
1181
|
Riley <ipythonbugs-AT-sabi.net>.
|
|
1167
|
(InteractiveShell.mainloop): honor --nobanner with banner
|
|
1182
|
(InteractiveShell.mainloop): honor --nobanner with banner
|
|
1168
|
extensions.
|
|
1183
|
extensions.
|
|
1169
|
|
|
1184
|
|
|
1170
|
* IPython/Shell.py: Significant refactoring of all classes, so
|
|
1185
|
* IPython/Shell.py: Significant refactoring of all classes, so
|
|
1171
|
that we can really support ALL matplotlib backends and threading
|
|
1186
|
that we can really support ALL matplotlib backends and threading
|
|
1172
|
models (John spotted a bug with Tk which required this). Now we
|
|
1187
|
models (John spotted a bug with Tk which required this). Now we
|
|
1173
|
should support single-threaded, WX-threads and GTK-threads, both
|
|
1188
|
should support single-threaded, WX-threads and GTK-threads, both
|
|
1174
|
for generic code and for matplotlib.
|
|
1189
|
for generic code and for matplotlib.
|
|
1175
|
|
|
1190
|
|
|
1176
|
* IPython/ipmaker.py (__call__): Changed -mpthread option to
|
|
1191
|
* IPython/ipmaker.py (__call__): Changed -mpthread option to
|
|
1177
|
-pylab, to simplify things for users. Will also remove the pylab
|
|
1192
|
-pylab, to simplify things for users. Will also remove the pylab
|
|
1178
|
profile, since now all of matplotlib configuration is directly
|
|
1193
|
profile, since now all of matplotlib configuration is directly
|
|
1179
|
handled here. This also reduces startup time.
|
|
1194
|
handled here. This also reduces startup time.
|
|
1180
|
|
|
1195
|
|
|
1181
|
* IPython/Shell.py (IPShellGTK.run): Fixed bug where mainloop() of
|
|
1196
|
* IPython/Shell.py (IPShellGTK.run): Fixed bug where mainloop() of
|
|
1182
|
shell wasn't being correctly called. Also in IPShellWX.
|
|
1197
|
shell wasn't being correctly called. Also in IPShellWX.
|
|
1183
|
|
|
1198
|
|
|
1184
|
* IPython/iplib.py (InteractiveShell.__init__): Added option to
|
|
1199
|
* IPython/iplib.py (InteractiveShell.__init__): Added option to
|
|
1185
|
fine-tune banner.
|
|
1200
|
fine-tune banner.
|
|
1186
|
|
|
1201
|
|
|
1187
|
* IPython/numutils.py (spike): Deprecate these spike functions,
|
|
1202
|
* IPython/numutils.py (spike): Deprecate these spike functions,
|
|
1188
|
delete (long deprecated) gnuplot_exec handler.
|
|
1203
|
delete (long deprecated) gnuplot_exec handler.
|
|
1189
|
|
|
1204
|
|
|
1190
|
2004-08-26 Fernando Perez <fperez@colorado.edu>
|
|
1205
|
2004-08-26 Fernando Perez <fperez@colorado.edu>
|
|
1191
|
|
|
1206
|
|
|
1192
|
* ipython.1: Update for threading options, plus some others which
|
|
1207
|
* ipython.1: Update for threading options, plus some others which
|
|
1193
|
were missing.
|
|
1208
|
were missing.
|
|
1194
|
|
|
1209
|
|
|
1195
|
* IPython/ipmaker.py (__call__): Added -wthread option for
|
|
1210
|
* IPython/ipmaker.py (__call__): Added -wthread option for
|
|
1196
|
wxpython thread handling. Make sure threading options are only
|
|
1211
|
wxpython thread handling. Make sure threading options are only
|
|
1197
|
valid at the command line.
|
|
1212
|
valid at the command line.
|
|
1198
|
|
|
1213
|
|
|
1199
|
* scripts/ipython: moved shell selection into a factory function
|
|
1214
|
* scripts/ipython: moved shell selection into a factory function
|
|
1200
|
in Shell.py, to keep the starter script to a minimum.
|
|
1215
|
in Shell.py, to keep the starter script to a minimum.
|
|
1201
|
|
|
1216
|
|
|
1202
|
2004-08-25 Fernando Perez <fperez@colorado.edu>
|
|
1217
|
2004-08-25 Fernando Perez <fperez@colorado.edu>
|
|
1203
|
|
|
1218
|
|
|
1204
|
* IPython/Shell.py (IPShellWX.wxexit): fixes to WX threading, by
|
|
1219
|
* IPython/Shell.py (IPShellWX.wxexit): fixes to WX threading, by
|
|
1205
|
John. Along with some recent changes he made to matplotlib, the
|
|
1220
|
John. Along with some recent changes he made to matplotlib, the
|
|
1206
|
next versions of both systems should work very well together.
|
|
1221
|
next versions of both systems should work very well together.
|
|
1207
|
|
|
1222
|
|
|
1208
|
2004-08-24 Fernando Perez <fperez@colorado.edu>
|
|
1223
|
2004-08-24 Fernando Perez <fperez@colorado.edu>
|
|
1209
|
|
|
1224
|
|
|
1210
|
* IPython/Magic.py (Magic.magic_prun): cleanup some dead code. I
|
|
1225
|
* IPython/Magic.py (Magic.magic_prun): cleanup some dead code. I
|
|
1211
|
tried to switch the profiling to using hotshot, but I'm getting
|
|
1226
|
tried to switch the profiling to using hotshot, but I'm getting
|
|
1212
|
strange errors from prof.runctx() there. I may be misreading the
|
|
1227
|
strange errors from prof.runctx() there. I may be misreading the
|
|
1213
|
docs, but it looks weird. For now the profiling code will
|
|
1228
|
docs, but it looks weird. For now the profiling code will
|
|
1214
|
continue to use the standard profiler.
|
|
1229
|
continue to use the standard profiler.
|
|
1215
|
|
|
1230
|
|
|
1216
|
2004-08-23 Fernando Perez <fperez@colorado.edu>
|
|
1231
|
2004-08-23 Fernando Perez <fperez@colorado.edu>
|
|
1217
|
|
|
1232
|
|
|
1218
|
* IPython/Shell.py (IPShellWX.__init__): Improvements to the WX
|
|
1233
|
* IPython/Shell.py (IPShellWX.__init__): Improvements to the WX
|
|
1219
|
threaded shell, by John Hunter. It's not quite ready yet, but
|
|
1234
|
threaded shell, by John Hunter. It's not quite ready yet, but
|
|
1220
|
close.
|
|
1235
|
close.
|
|
1221
|
|
|
1236
|
|
|
1222
|
2004-08-22 Fernando Perez <fperez@colorado.edu>
|
|
1237
|
2004-08-22 Fernando Perez <fperez@colorado.edu>
|
|
1223
|
|
|
1238
|
|
|
1224
|
* IPython/iplib.py (InteractiveShell.interact): tab cleanups, also
|
|
1239
|
* IPython/iplib.py (InteractiveShell.interact): tab cleanups, also
|
|
1225
|
in Magic and ultraTB.
|
|
1240
|
in Magic and ultraTB.
|
|
1226
|
|
|
1241
|
|
|
1227
|
* ipython.1: document threading options in manpage.
|
|
1242
|
* ipython.1: document threading options in manpage.
|
|
1228
|
|
|
1243
|
|
|
1229
|
* scripts/ipython: Changed name of -thread option to -gthread,
|
|
1244
|
* scripts/ipython: Changed name of -thread option to -gthread,
|
|
1230
|
since this is GTK specific. I want to leave the door open for a
|
|
1245
|
since this is GTK specific. I want to leave the door open for a
|
|
1231
|
-wthread option for WX, which will most likely be necessary. This
|
|
1246
|
-wthread option for WX, which will most likely be necessary. This
|
|
1232
|
change affects usage and ipmaker as well.
|
|
1247
|
change affects usage and ipmaker as well.
|
|
1233
|
|
|
1248
|
|
|
1234
|
* IPython/Shell.py (matplotlib_shell): Add a factory function to
|
|
1249
|
* IPython/Shell.py (matplotlib_shell): Add a factory function to
|
|
1235
|
handle the matplotlib shell issues. Code by John Hunter
|
|
1250
|
handle the matplotlib shell issues. Code by John Hunter
|
|
1236
|
<jdhunter-AT-nitace.bsd.uchicago.edu>.
|
|
1251
|
<jdhunter-AT-nitace.bsd.uchicago.edu>.
|
|
1237
|
(IPShellMatplotlibWX.__init__): Rudimentary WX support. It's
|
|
1252
|
(IPShellMatplotlibWX.__init__): Rudimentary WX support. It's
|
|
1238
|
broken (and disabled for end users) for now, but it puts the
|
|
1253
|
broken (and disabled for end users) for now, but it puts the
|
|
1239
|
infrastructure in place.
|
|
1254
|
infrastructure in place.
|
|
1240
|
|
|
1255
|
|
|
1241
|
2004-08-21 Fernando Perez <fperez@colorado.edu>
|
|
1256
|
2004-08-21 Fernando Perez <fperez@colorado.edu>
|
|
1242
|
|
|
1257
|
|
|
1243
|
* ipythonrc-pylab: Add matplotlib support.
|
|
1258
|
* ipythonrc-pylab: Add matplotlib support.
|
|
1244
|
|
|
1259
|
|
|
1245
|
* matplotlib_config.py: new files for matplotlib support, part of
|
|
1260
|
* matplotlib_config.py: new files for matplotlib support, part of
|
|
1246
|
the pylab profile.
|
|
1261
|
the pylab profile.
|
|
1247
|
|
|
1262
|
|
|
1248
|
* IPython/usage.py (__doc__): documented the threading options.
|
|
1263
|
* IPython/usage.py (__doc__): documented the threading options.
|
|
1249
|
|
|
1264
|
|
|
1250
|
2004-08-20 Fernando Perez <fperez@colorado.edu>
|
|
1265
|
2004-08-20 Fernando Perez <fperez@colorado.edu>
|
|
1251
|
|
|
1266
|
|
|
1252
|
* ipython: Modified the main calling routine to handle the -thread
|
|
1267
|
* ipython: Modified the main calling routine to handle the -thread
|
|
1253
|
and -mpthread options. This needs to be done as a top-level hack,
|
|
1268
|
and -mpthread options. This needs to be done as a top-level hack,
|
|
1254
|
because it determines which class to instantiate for IPython
|
|
1269
|
because it determines which class to instantiate for IPython
|
|
1255
|
itself.
|
|
1270
|
itself.
|
|
1256
|
|
|
1271
|
|
|
1257
|
* IPython/Shell.py (MTInteractiveShell.__init__): New set of
|
|
1272
|
* IPython/Shell.py (MTInteractiveShell.__init__): New set of
|
|
1258
|
classes to support multithreaded GTK operation without blocking,
|
|
1273
|
classes to support multithreaded GTK operation without blocking,
|
|
1259
|
and matplotlib with all backends. This is a lot of still very
|
|
1274
|
and matplotlib with all backends. This is a lot of still very
|
|
1260
|
experimental code, and threads are tricky. So it may still have a
|
|
1275
|
experimental code, and threads are tricky. So it may still have a
|
|
1261
|
few rough edges... This code owes a lot to
|
|
1276
|
few rough edges... This code owes a lot to
|
|
1262
|
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65109, by
|
|
1277
|
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65109, by
|
|
1263
|
Brian # McErlean and John Finlay, to Antoon Pardon for fixes, and
|
|
1278
|
Brian # McErlean and John Finlay, to Antoon Pardon for fixes, and
|
|
1264
|
to John Hunter for all the matplotlib work.
|
|
1279
|
to John Hunter for all the matplotlib work.
|
|
1265
|
|
|
1280
|
|
|
1266
|
* IPython/ipmaker.py (__call__): Added -thread and -mpthread
|
|
1281
|
* IPython/ipmaker.py (__call__): Added -thread and -mpthread
|
|
1267
|
options for gtk thread and matplotlib support.
|
|
1282
|
options for gtk thread and matplotlib support.
|
|
1268
|
|
|
1283
|
|
|
1269
|
2004-08-16 Fernando Perez <fperez@colorado.edu>
|
|
1284
|
2004-08-16 Fernando Perez <fperez@colorado.edu>
|
|
1270
|
|
|
1285
|
|
|
1271
|
* IPython/iplib.py (InteractiveShell.__init__): don't trigger
|
|
1286
|
* IPython/iplib.py (InteractiveShell.__init__): don't trigger
|
|
1272
|
autocall for things like p*q,p/q,p+q,p-q, when p is callable. Bug
|
|
1287
|
autocall for things like p*q,p/q,p+q,p-q, when p is callable. Bug
|
|
1273
|
reported by Stephen Walton <stephen.walton-AT-csun.edu>.
|
|
1288
|
reported by Stephen Walton <stephen.walton-AT-csun.edu>.
|
|
1274
|
|
|
1289
|
|
|
1275
|
2004-08-11 Fernando Perez <fperez@colorado.edu>
|
|
1290
|
2004-08-11 Fernando Perez <fperez@colorado.edu>
|
|
1276
|
|
|
1291
|
|
|
1277
|
* setup.py (isfile): Fix build so documentation gets updated for
|
|
1292
|
* setup.py (isfile): Fix build so documentation gets updated for
|
|
1278
|
rpms (it was only done for .tgz builds).
|
|
1293
|
rpms (it was only done for .tgz builds).
|
|
1279
|
|
|
1294
|
|
|
1280
|
2004-08-10 Fernando Perez <fperez@colorado.edu>
|
|
1295
|
2004-08-10 Fernando Perez <fperez@colorado.edu>
|
|
1281
|
|
|
1296
|
|
|
1282
|
* genutils.py (Term): Fix misspell of stdin stream (sin->cin).
|
|
1297
|
* genutils.py (Term): Fix misspell of stdin stream (sin->cin).
|
|
1283
|
|
|
1298
|
|
|
1284
|
* iplib.py : Silence syntax error exceptions in tab-completion.
|
|
1299
|
* iplib.py : Silence syntax error exceptions in tab-completion.
|
|
1285
|
|
|
1300
|
|
|
1286
|
2004-08-05 Fernando Perez <fperez@colorado.edu>
|
|
1301
|
2004-08-05 Fernando Perez <fperez@colorado.edu>
|
|
1287
|
|
|
1302
|
|
|
1288
|
* IPython/Prompts.py (Prompt2.set_colors): Fix incorrectly set
|
|
1303
|
* IPython/Prompts.py (Prompt2.set_colors): Fix incorrectly set
|
|
1289
|
'color off' mark for continuation prompts. This was causing long
|
|
1304
|
'color off' mark for continuation prompts. This was causing long
|
|
1290
|
continuation lines to mis-wrap.
|
|
1305
|
continuation lines to mis-wrap.
|
|
1291
|
|
|
1306
|
|
|
1292
|
2004-08-01 Fernando Perez <fperez@colorado.edu>
|
|
1307
|
2004-08-01 Fernando Perez <fperez@colorado.edu>
|
|
1293
|
|
|
1308
|
|
|
1294
|
* IPython/ipmaker.py (make_IPython): Allow the shell class used
|
|
1309
|
* IPython/ipmaker.py (make_IPython): Allow the shell class used
|
|
1295
|
for building ipython to be a parameter. All this is necessary
|
|
1310
|
for building ipython to be a parameter. All this is necessary
|
|
1296
|
right now to have a multithreaded version, but this insane
|
|
1311
|
right now to have a multithreaded version, but this insane
|
|
1297
|
non-design will be cleaned up soon. For now, it's a hack that
|
|
1312
|
non-design will be cleaned up soon. For now, it's a hack that
|
|
1298
|
works.
|
|
1313
|
works.
|
|
1299
|
|
|
1314
|
|
|
1300
|
* IPython/Shell.py (IPShell.__init__): Stop using mutable default
|
|
1315
|
* IPython/Shell.py (IPShell.__init__): Stop using mutable default
|
|
1301
|
args in various places. No bugs so far, but it's a dangerous
|
|
1316
|
args in various places. No bugs so far, but it's a dangerous
|
|
1302
|
practice.
|
|
1317
|
practice.
|
|
1303
|
|
|
1318
|
|
|
1304
|
2004-07-31 Fernando Perez <fperez@colorado.edu>
|
|
1319
|
2004-07-31 Fernando Perez <fperez@colorado.edu>
|
|
1305
|
|
|
1320
|
|
|
1306
|
* IPython/iplib.py (complete): ignore SyntaxError exceptions to
|
|
1321
|
* IPython/iplib.py (complete): ignore SyntaxError exceptions to
|
|
1307
|
fix completion of files with dots in their names under most
|
|
1322
|
fix completion of files with dots in their names under most
|
|
1308
|
profiles (pysh was OK because the completion order is different).
|
|
1323
|
profiles (pysh was OK because the completion order is different).
|
|
1309
|
|
|
1324
|
|
|
1310
|
2004-07-27 Fernando Perez <fperez@colorado.edu>
|
|
1325
|
2004-07-27 Fernando Perez <fperez@colorado.edu>
|
|
1311
|
|
|
1326
|
|
|
1312
|
* IPython/iplib.py (InteractiveShell.__init__): build dict of
|
|
1327
|
* IPython/iplib.py (InteractiveShell.__init__): build dict of
|
|
1313
|
keywords manually, b/c the one in keyword.py was removed in python
|
|
1328
|
keywords manually, b/c the one in keyword.py was removed in python
|
|
1314
|
2.4. Patch by Anakim Border <aborder-AT-users.sourceforge.net>.
|
|
1329
|
2.4. Patch by Anakim Border <aborder-AT-users.sourceforge.net>.
|
|
1315
|
This is NOT a bug under python 2.3 and earlier.
|
|
1330
|
This is NOT a bug under python 2.3 and earlier.
|
|
1316
|
|
|
1331
|
|
|
1317
|
2004-07-26 Fernando Perez <fperez@colorado.edu>
|
|
1332
|
2004-07-26 Fernando Perez <fperez@colorado.edu>
|
|
1318
|
|
|
1333
|
|
|
1319
|
* IPython/ultraTB.py (VerboseTB.text): Add another
|
|
1334
|
* IPython/ultraTB.py (VerboseTB.text): Add another
|
|
1320
|
linecache.checkcache() call to try to prevent inspect.py from
|
|
1335
|
linecache.checkcache() call to try to prevent inspect.py from
|
|
1321
|
crashing under python 2.3. I think this fixes
|
|
1336
|
crashing under python 2.3. I think this fixes
|
|
1322
|
http://www.scipy.net/roundup/ipython/issue17.
|
|
1337
|
http://www.scipy.net/roundup/ipython/issue17.
|
|
1323
|
|
|
1338
|
|
|
1324
|
2004-07-26 *** Released version 0.6.2
|
|
1339
|
2004-07-26 *** Released version 0.6.2
|
|
1325
|
|
|
1340
|
|
|
1326
|
2004-07-26 Fernando Perez <fperez@colorado.edu>
|
|
1341
|
2004-07-26 Fernando Perez <fperez@colorado.edu>
|
|
1327
|
|
|
1342
|
|
|
1328
|
* IPython/Magic.py (Magic.magic_cd): Fix bug where 'cd -N' would
|
|
1343
|
* IPython/Magic.py (Magic.magic_cd): Fix bug where 'cd -N' would
|
|
1329
|
fail for any number.
|
|
1344
|
fail for any number.
|
|
1330
|
(Magic.magic_bookmark): Fix bug where 'bookmark -l' would fail for
|
|
1345
|
(Magic.magic_bookmark): Fix bug where 'bookmark -l' would fail for
|
|
1331
|
empty bookmarks.
|
|
1346
|
empty bookmarks.
|
|
1332
|
|
|
1347
|
|
|
1333
|
2004-07-26 *** Released version 0.6.1
|
|
1348
|
2004-07-26 *** Released version 0.6.1
|
|
1334
|
|
|
1349
|
|
|
1335
|
2004-07-26 Fernando Perez <fperez@colorado.edu>
|
|
1350
|
2004-07-26 Fernando Perez <fperez@colorado.edu>
|
|
1336
|
|
|
1351
|
|
|
1337
|
* ipython_win_post_install.py (run): Added pysh shortcut for Windows.
|
|
1352
|
* ipython_win_post_install.py (run): Added pysh shortcut for Windows.
|
|
1338
|
|
|
1353
|
|
|
1339
|
* IPython/iplib.py (protect_filename): Applied Ville's patch for
|
|
1354
|
* IPython/iplib.py (protect_filename): Applied Ville's patch for
|
|
1340
|
escaping '()[]{}' in filenames.
|
|
1355
|
escaping '()[]{}' in filenames.
|
|
1341
|
|
|
1356
|
|
|
1342
|
* IPython/Magic.py (shlex_split): Fix handling of '*' and '?' for
|
|
1357
|
* IPython/Magic.py (shlex_split): Fix handling of '*' and '?' for
|
|
1343
|
Python 2.2 users who lack a proper shlex.split.
|
|
1358
|
Python 2.2 users who lack a proper shlex.split.
|
|
1344
|
|
|
1359
|
|
|
1345
|
2004-07-19 Fernando Perez <fperez@colorado.edu>
|
|
1360
|
2004-07-19 Fernando Perez <fperez@colorado.edu>
|
|
1346
|
|
|
1361
|
|
|
1347
|
* IPython/iplib.py (InteractiveShell.init_readline): Add support
|
|
1362
|
* IPython/iplib.py (InteractiveShell.init_readline): Add support
|
|
1348
|
for reading readline's init file. I follow the normal chain:
|
|
1363
|
for reading readline's init file. I follow the normal chain:
|
|
1349
|
$INPUTRC is honored, otherwise ~/.inputrc is used. Thanks to a
|
|
1364
|
$INPUTRC is honored, otherwise ~/.inputrc is used. Thanks to a
|
|
1350
|
report by Mike Heeter. This closes
|
|
1365
|
report by Mike Heeter. This closes
|
|
1351
|
http://www.scipy.net/roundup/ipython/issue16.
|
|
1366
|
http://www.scipy.net/roundup/ipython/issue16.
|
|
1352
|
|
|
1367
|
|
|
1353
|
2004-07-18 Fernando Perez <fperez@colorado.edu>
|
|
1368
|
2004-07-18 Fernando Perez <fperez@colorado.edu>
|
|
1354
|
|
|
1369
|
|
|
1355
|
* IPython/iplib.py (__init__): Add better handling of '\' under
|
|
1370
|
* IPython/iplib.py (__init__): Add better handling of '\' under
|
|
1356
|
Win32 for filenames. After a patch by Ville.
|
|
1371
|
Win32 for filenames. After a patch by Ville.
|
|
1357
|
|
|
1372
|
|
|
1358
|
2004-07-17 Fernando Perez <fperez@colorado.edu>
|
|
1373
|
2004-07-17 Fernando Perez <fperez@colorado.edu>
|
|
1359
|
|
|
1374
|
|
|
1360
|
* IPython/iplib.py (InteractiveShell._prefilter): fix bug where
|
|
1375
|
* IPython/iplib.py (InteractiveShell._prefilter): fix bug where
|
|
1361
|
autocalling would be triggered for 'foo is bar' if foo is
|
|
1376
|
autocalling would be triggered for 'foo is bar' if foo is
|
|
1362
|
callable. I also cleaned up the autocall detection code to use a
|
|
1377
|
callable. I also cleaned up the autocall detection code to use a
|
|
1363
|
regexp, which is faster. Bug reported by Alexander Schmolck.
|
|
1378
|
regexp, which is faster. Bug reported by Alexander Schmolck.
|
|
1364
|
|
|
1379
|
|
|
1365
|
* IPython/Magic.py (Magic.magic_pinfo): Fix bug where strings with
|
|
1380
|
* IPython/Magic.py (Magic.magic_pinfo): Fix bug where strings with
|
|
1366
|
'?' in them would confuse the help system. Reported by Alex
|
|
1381
|
'?' in them would confuse the help system. Reported by Alex
|
|
1367
|
Schmolck.
|
|
1382
|
Schmolck.
|
|
1368
|
|
|
1383
|
|
|
1369
|
2004-07-16 Fernando Perez <fperez@colorado.edu>
|
|
1384
|
2004-07-16 Fernando Perez <fperez@colorado.edu>
|
|
1370
|
|
|
1385
|
|
|
1371
|
* IPython/GnuplotInteractive.py (__all__): added plot2.
|
|
1386
|
* IPython/GnuplotInteractive.py (__all__): added plot2.
|
|
1372
|
|
|
1387
|
|
|
1373
|
* IPython/Gnuplot2.py (Gnuplot.plot2): added new function for
|
|
1388
|
* IPython/Gnuplot2.py (Gnuplot.plot2): added new function for
|
|
1374
|
plotting dictionaries, lists or tuples of 1d arrays.
|
|
1389
|
plotting dictionaries, lists or tuples of 1d arrays.
|
|
1375
|
|
|
1390
|
|
|
1376
|
* IPython/Magic.py (Magic.magic_hist): small clenaups and
|
|
1391
|
* IPython/Magic.py (Magic.magic_hist): small clenaups and
|
|
1377
|
optimizations.
|
|
1392
|
optimizations.
|
|
1378
|
|
|
1393
|
|
|
1379
|
* IPython/iplib.py:Remove old Changelog info for cleanup. This is
|
|
1394
|
* IPython/iplib.py:Remove old Changelog info for cleanup. This is
|
|
1380
|
the information which was there from Janko's original IPP code:
|
|
1395
|
the information which was there from Janko's original IPP code:
|
|
1381
|
|
|
1396
|
|
|
1382
|
03.05.99 20:53 porto.ifm.uni-kiel.de
|
|
1397
|
03.05.99 20:53 porto.ifm.uni-kiel.de
|
|
1383
|
--Started changelog.
|
|
1398
|
--Started changelog.
|
|
1384
|
--make clear do what it say it does
|
|
1399
|
--make clear do what it say it does
|
|
1385
|
--added pretty output of lines from inputcache
|
|
1400
|
--added pretty output of lines from inputcache
|
|
1386
|
--Made Logger a mixin class, simplifies handling of switches
|
|
1401
|
--Made Logger a mixin class, simplifies handling of switches
|
|
1387
|
--Added own completer class. .string<TAB> expands to last history
|
|
1402
|
--Added own completer class. .string<TAB> expands to last history
|
|
1388
|
line which starts with string. The new expansion is also present
|
|
1403
|
line which starts with string. The new expansion is also present
|
|
1389
|
with Ctrl-r from the readline library. But this shows, who this
|
|
1404
|
with Ctrl-r from the readline library. But this shows, who this
|
|
1390
|
can be done for other cases.
|
|
1405
|
can be done for other cases.
|
|
1391
|
--Added convention that all shell functions should accept a
|
|
1406
|
--Added convention that all shell functions should accept a
|
|
1392
|
parameter_string This opens the door for different behaviour for
|
|
1407
|
parameter_string This opens the door for different behaviour for
|
|
1393
|
each function. @cd is a good example of this.
|
|
1408
|
each function. @cd is a good example of this.
|
|
1394
|
|
|
1409
|
|
|
1395
|
04.05.99 12:12 porto.ifm.uni-kiel.de
|
|
1410
|
04.05.99 12:12 porto.ifm.uni-kiel.de
|
|
1396
|
--added logfile rotation
|
|
1411
|
--added logfile rotation
|
|
1397
|
--added new mainloop method which freezes first the namespace
|
|
1412
|
--added new mainloop method which freezes first the namespace
|
|
1398
|
|
|
1413
|
|
|
1399
|
07.05.99 21:24 porto.ifm.uni-kiel.de
|
|
1414
|
07.05.99 21:24 porto.ifm.uni-kiel.de
|
|
1400
|
--added the docreader classes. Now there is a help system.
|
|
1415
|
--added the docreader classes. Now there is a help system.
|
|
1401
|
-This is only a first try. Currently it's not easy to put new
|
|
1416
|
-This is only a first try. Currently it's not easy to put new
|
|
1402
|
stuff in the indices. But this is the way to go. Info would be
|
|
1417
|
stuff in the indices. But this is the way to go. Info would be
|
|
1403
|
better, but HTML is every where and not everybody has an info
|
|
1418
|
better, but HTML is every where and not everybody has an info
|
|
1404
|
system installed and it's not so easy to change html-docs to info.
|
|
1419
|
system installed and it's not so easy to change html-docs to info.
|
|
1405
|
--added global logfile option
|
|
1420
|
--added global logfile option
|
|
1406
|
--there is now a hook for object inspection method pinfo needs to
|
|
1421
|
--there is now a hook for object inspection method pinfo needs to
|
|
1407
|
be provided for this. Can be reached by two '??'.
|
|
1422
|
be provided for this. Can be reached by two '??'.
|
|
1408
|
|
|
1423
|
|
|
1409
|
08.05.99 20:51 porto.ifm.uni-kiel.de
|
|
1424
|
08.05.99 20:51 porto.ifm.uni-kiel.de
|
|
1410
|
--added a README
|
|
1425
|
--added a README
|
|
1411
|
--bug in rc file. Something has changed so functions in the rc
|
|
1426
|
--bug in rc file. Something has changed so functions in the rc
|
|
1412
|
file need to reference the shell and not self. Not clear if it's a
|
|
1427
|
file need to reference the shell and not self. Not clear if it's a
|
|
1413
|
bug or feature.
|
|
1428
|
bug or feature.
|
|
1414
|
--changed rc file for new behavior
|
|
1429
|
--changed rc file for new behavior
|
|
1415
|
|
|
1430
|
|
|
1416
|
2004-07-15 Fernando Perez <fperez@colorado.edu>
|
|
1431
|
2004-07-15 Fernando Perez <fperez@colorado.edu>
|
|
1417
|
|
|
1432
|
|
|
1418
|
* IPython/Logger.py (Logger.log): fixed recent bug where the input
|
|
1433
|
* IPython/Logger.py (Logger.log): fixed recent bug where the input
|
|
1419
|
cache was falling out of sync in bizarre manners when multi-line
|
|
1434
|
cache was falling out of sync in bizarre manners when multi-line
|
|
1420
|
input was present. Minor optimizations and cleanup.
|
|
1435
|
input was present. Minor optimizations and cleanup.
|
|
1421
|
|
|
1436
|
|
|
1422
|
(Logger): Remove old Changelog info for cleanup. This is the
|
|
1437
|
(Logger): Remove old Changelog info for cleanup. This is the
|
|
1423
|
information which was there from Janko's original code:
|
|
1438
|
information which was there from Janko's original code:
|
|
1424
|
|
|
1439
|
|
|
1425
|
Changes to Logger: - made the default log filename a parameter
|
|
1440
|
Changes to Logger: - made the default log filename a parameter
|
|
1426
|
|
|
1441
|
|
|
1427
|
- put a check for lines beginning with !@? in log(). Needed
|
|
1442
|
- put a check for lines beginning with !@? in log(). Needed
|
|
1428
|
(even if the handlers properly log their lines) for mid-session
|
|
1443
|
(even if the handlers properly log their lines) for mid-session
|
|
1429
|
logging activation to work properly. Without this, lines logged
|
|
1444
|
logging activation to work properly. Without this, lines logged
|
|
1430
|
in mid session, which get read from the cache, would end up
|
|
1445
|
in mid session, which get read from the cache, would end up
|
|
1431
|
'bare' (with !@? in the open) in the log. Now they are caught
|
|
1446
|
'bare' (with !@? in the open) in the log. Now they are caught
|
|
1432
|
and prepended with a #.
|
|
1447
|
and prepended with a #.
|
|
1433
|
|
|
1448
|
|
|
1434
|
* IPython/iplib.py (InteractiveShell.init_readline): added check
|
|
1449
|
* IPython/iplib.py (InteractiveShell.init_readline): added check
|
|
1435
|
in case MagicCompleter fails to be defined, so we don't crash.
|
|
1450
|
in case MagicCompleter fails to be defined, so we don't crash.
|
|
1436
|
|
|
1451
|
|
|
1437
|
2004-07-13 Fernando Perez <fperez@colorado.edu>
|
|
1452
|
2004-07-13 Fernando Perez <fperez@colorado.edu>
|
|
1438
|
|
|
1453
|
|
|
1439
|
* IPython/Gnuplot2.py (Gnuplot.hardcopy): add automatic generation
|
|
1454
|
* IPython/Gnuplot2.py (Gnuplot.hardcopy): add automatic generation
|
|
1440
|
of EPS if the requested filename ends in '.eps'.
|
|
1455
|
of EPS if the requested filename ends in '.eps'.
|
|
1441
|
|
|
1456
|
|
|
1442
|
2004-07-04 Fernando Perez <fperez@colorado.edu>
|
|
1457
|
2004-07-04 Fernando Perez <fperez@colorado.edu>
|
|
1443
|
|
|
1458
|
|
|
1444
|
* IPython/iplib.py (InteractiveShell.handle_shell_escape): Fix
|
|
1459
|
* IPython/iplib.py (InteractiveShell.handle_shell_escape): Fix
|
|
1445
|
escaping of quotes when calling the shell.
|
|
1460
|
escaping of quotes when calling the shell.
|
|
1446
|
|
|
1461
|
|
|
1447
|
2004-07-02 Fernando Perez <fperez@colorado.edu>
|
|
1462
|
2004-07-02 Fernando Perez <fperez@colorado.edu>
|
|
1448
|
|
|
1463
|
|
|
1449
|
* IPython/Prompts.py (CachedOutput.update): Fix problem with
|
|
1464
|
* IPython/Prompts.py (CachedOutput.update): Fix problem with
|
|
1450
|
gettext not working because we were clobbering '_'. Fixes
|
|
1465
|
gettext not working because we were clobbering '_'. Fixes
|
|
1451
|
http://www.scipy.net/roundup/ipython/issue6.
|
|
1466
|
http://www.scipy.net/roundup/ipython/issue6.
|
|
1452
|
|
|
1467
|
|
|
1453
|
2004-07-01 Fernando Perez <fperez@colorado.edu>
|
|
1468
|
2004-07-01 Fernando Perez <fperez@colorado.edu>
|
|
1454
|
|
|
1469
|
|
|
1455
|
* IPython/Magic.py (Magic.magic_cd): integrated bookmark handling
|
|
1470
|
* IPython/Magic.py (Magic.magic_cd): integrated bookmark handling
|
|
1456
|
into @cd. Patch by Ville.
|
|
1471
|
into @cd. Patch by Ville.
|
|
1457
|
|
|
1472
|
|
|
1458
|
* IPython/iplib.py (InteractiveShell.post_config_initialization):
|
|
1473
|
* IPython/iplib.py (InteractiveShell.post_config_initialization):
|
|
1459
|
new function to store things after ipmaker runs. Patch by Ville.
|
|
1474
|
new function to store things after ipmaker runs. Patch by Ville.
|
|
1460
|
Eventually this will go away once ipmaker is removed and the class
|
|
1475
|
Eventually this will go away once ipmaker is removed and the class
|
|
1461
|
gets cleaned up, but for now it's ok. Key functionality here is
|
|
1476
|
gets cleaned up, but for now it's ok. Key functionality here is
|
|
1462
|
the addition of the persistent storage mechanism, a dict for
|
|
1477
|
the addition of the persistent storage mechanism, a dict for
|
|
1463
|
keeping data across sessions (for now just bookmarks, but more can
|
|
1478
|
keeping data across sessions (for now just bookmarks, but more can
|
|
1464
|
be implemented later).
|
|
1479
|
be implemented later).
|
|
1465
|
|
|
1480
|
|
|
1466
|
* IPython/Magic.py (Magic.magic_bookmark): New bookmark system,
|
|
1481
|
* IPython/Magic.py (Magic.magic_bookmark): New bookmark system,
|
|
1467
|
persistent across sections. Patch by Ville, I modified it
|
|
1482
|
persistent across sections. Patch by Ville, I modified it
|
|
1468
|
soemwhat to allow bookmarking arbitrary dirs other than CWD. Also
|
|
1483
|
soemwhat to allow bookmarking arbitrary dirs other than CWD. Also
|
|
1469
|
added a '-l' option to list all bookmarks.
|
|
1484
|
added a '-l' option to list all bookmarks.
|
|
1470
|
|
|
1485
|
|
|
1471
|
* IPython/iplib.py (InteractiveShell.atexit_operations): new
|
|
1486
|
* IPython/iplib.py (InteractiveShell.atexit_operations): new
|
|
1472
|
center for cleanup. Registered with atexit.register(). I moved
|
|
1487
|
center for cleanup. Registered with atexit.register(). I moved
|
|
1473
|
here the old exit_cleanup(). After a patch by Ville.
|
|
1488
|
here the old exit_cleanup(). After a patch by Ville.
|
|
1474
|
|
|
1489
|
|
|
1475
|
* IPython/Magic.py (get_py_filename): added '~' to the accepted
|
|
1490
|
* IPython/Magic.py (get_py_filename): added '~' to the accepted
|
|
1476
|
characters in the hacked shlex_split for python 2.2.
|
|
1491
|
characters in the hacked shlex_split for python 2.2.
|
|
1477
|
|
|
1492
|
|
|
1478
|
* IPython/iplib.py (file_matches): more fixes to filenames with
|
|
1493
|
* IPython/iplib.py (file_matches): more fixes to filenames with
|
|
1479
|
whitespace in them. It's not perfect, but limitations in python's
|
|
1494
|
whitespace in them. It's not perfect, but limitations in python's
|
|
1480
|
readline make it impossible to go further.
|
|
1495
|
readline make it impossible to go further.
|
|
1481
|
|
|
1496
|
|
|
1482
|
2004-06-29 Fernando Perez <fperez@colorado.edu>
|
|
1497
|
2004-06-29 Fernando Perez <fperez@colorado.edu>
|
|
1483
|
|
|
1498
|
|
|
1484
|
* IPython/iplib.py (file_matches): escape whitespace correctly in
|
|
1499
|
* IPython/iplib.py (file_matches): escape whitespace correctly in
|
|
1485
|
filename completions. Bug reported by Ville.
|
|
1500
|
filename completions. Bug reported by Ville.
|
|
1486
|
|
|
1501
|
|
|
1487
|
2004-06-28 Fernando Perez <fperez@colorado.edu>
|
|
1502
|
2004-06-28 Fernando Perez <fperez@colorado.edu>
|
|
1488
|
|
|
1503
|
|
|
1489
|
* IPython/ipmaker.py (__call__): Added per-profile histories. Now
|
|
1504
|
* IPython/ipmaker.py (__call__): Added per-profile histories. Now
|
|
1490
|
the history file will be called 'history-PROFNAME' (or just
|
|
1505
|
the history file will be called 'history-PROFNAME' (or just
|
|
1491
|
'history' if no profile is loaded). I was getting annoyed at
|
|
1506
|
'history' if no profile is loaded). I was getting annoyed at
|
|
1492
|
getting my Numerical work history clobbered by pysh sessions.
|
|
1507
|
getting my Numerical work history clobbered by pysh sessions.
|
|
1493
|
|
|
1508
|
|
|
1494
|
* IPython/iplib.py (InteractiveShell.__init__): Internal
|
|
1509
|
* IPython/iplib.py (InteractiveShell.__init__): Internal
|
|
1495
|
getoutputerror() function so that we can honor the system_verbose
|
|
1510
|
getoutputerror() function so that we can honor the system_verbose
|
|
1496
|
flag for _all_ system calls. I also added escaping of #
|
|
1511
|
flag for _all_ system calls. I also added escaping of #
|
|
1497
|
characters here to avoid confusing Itpl.
|
|
1512
|
characters here to avoid confusing Itpl.
|
|
1498
|
|
|
1513
|
|
|
1499
|
* IPython/Magic.py (shlex_split): removed call to shell in
|
|
1514
|
* IPython/Magic.py (shlex_split): removed call to shell in
|
|
1500
|
parse_options and replaced it with shlex.split(). The annoying
|
|
1515
|
parse_options and replaced it with shlex.split(). The annoying
|
|
1501
|
part was that in Python 2.2, shlex.split() doesn't exist, so I had
|
|
1516
|
part was that in Python 2.2, shlex.split() doesn't exist, so I had
|
|
1502
|
to backport it from 2.3, with several frail hacks (the shlex
|
|
1517
|
to backport it from 2.3, with several frail hacks (the shlex
|
|
1503
|
module is rather limited in 2.2). Thanks to a suggestion by Ville
|
|
1518
|
module is rather limited in 2.2). Thanks to a suggestion by Ville
|
|
1504
|
Vainio <vivainio@kolumbus.fi>. For Python 2.3 there should be no
|
|
1519
|
Vainio <vivainio@kolumbus.fi>. For Python 2.3 there should be no
|
|
1505
|
problem.
|
|
1520
|
problem.
|
|
1506
|
|
|
1521
|
|
|
1507
|
(Magic.magic_system_verbose): new toggle to print the actual
|
|
1522
|
(Magic.magic_system_verbose): new toggle to print the actual
|
|
1508
|
system calls made by ipython. Mainly for debugging purposes.
|
|
1523
|
system calls made by ipython. Mainly for debugging purposes.
|
|
1509
|
|
|
1524
|
|
|
1510
|
* IPython/GnuplotRuntime.py (gnu_out): fix bug for cygwin, which
|
|
1525
|
* IPython/GnuplotRuntime.py (gnu_out): fix bug for cygwin, which
|
|
1511
|
doesn't support persistence. Reported (and fix suggested) by
|
|
1526
|
doesn't support persistence. Reported (and fix suggested) by
|
|
1512
|
Travis Caldwell <travis_caldwell2000@yahoo.com>.
|
|
1527
|
Travis Caldwell <travis_caldwell2000@yahoo.com>.
|
|
1513
|
|
|
1528
|
|
|
1514
|
2004-06-26 Fernando Perez <fperez@colorado.edu>
|
|
1529
|
2004-06-26 Fernando Perez <fperez@colorado.edu>
|
|
1515
|
|
|
1530
|
|
|
1516
|
* IPython/Logger.py (Logger.log): fix to handle correctly empty
|
|
1531
|
* IPython/Logger.py (Logger.log): fix to handle correctly empty
|
|
1517
|
continue prompts.
|
|
1532
|
continue prompts.
|
|
1518
|
|
|
1533
|
|
|
1519
|
* IPython/Extensions/InterpreterExec.py (pysh): moved the pysh()
|
|
1534
|
* IPython/Extensions/InterpreterExec.py (pysh): moved the pysh()
|
|
1520
|
function (basically a big docstring) and a few more things here to
|
|
1535
|
function (basically a big docstring) and a few more things here to
|
|
1521
|
speedup startup. pysh.py is now very lightweight. We want because
|
|
1536
|
speedup startup. pysh.py is now very lightweight. We want because
|
|
1522
|
it gets execfile'd, while InterpreterExec gets imported, so
|
|
1537
|
it gets execfile'd, while InterpreterExec gets imported, so
|
|
1523
|
byte-compilation saves time.
|
|
1538
|
byte-compilation saves time.
|
|
1524
|
|
|
1539
|
|
|
1525
|
2004-06-25 Fernando Perez <fperez@colorado.edu>
|
|
1540
|
2004-06-25 Fernando Perez <fperez@colorado.edu>
|
|
1526
|
|
|
1541
|
|
|
1527
|
* IPython/Magic.py (Magic.magic_cd): Fixed to restore usage of 'cd
|
|
1542
|
* IPython/Magic.py (Magic.magic_cd): Fixed to restore usage of 'cd
|
|
1528
|
-NUM', which was recently broken.
|
|
1543
|
-NUM', which was recently broken.
|
|
1529
|
|
|
1544
|
|
|
1530
|
* IPython/iplib.py (InteractiveShell.handle_shell_escape): allow !
|
|
1545
|
* IPython/iplib.py (InteractiveShell.handle_shell_escape): allow !
|
|
1531
|
in multi-line input (but not !!, which doesn't make sense there).
|
|
1546
|
in multi-line input (but not !!, which doesn't make sense there).
|
|
1532
|
|
|
1547
|
|
|
1533
|
* IPython/UserConfig/ipythonrc: made autoindent on by default.
|
|
1548
|
* IPython/UserConfig/ipythonrc: made autoindent on by default.
|
|
1534
|
It's just too useful, and people can turn it off in the less
|
|
1549
|
It's just too useful, and people can turn it off in the less
|
|
1535
|
common cases where it's a problem.
|
|
1550
|
common cases where it's a problem.
|
|
1536
|
|
|
1551
|
|
|
1537
|
2004-06-24 Fernando Perez <fperez@colorado.edu>
|
|
1552
|
2004-06-24 Fernando Perez <fperez@colorado.edu>
|
|
1538
|
|
|
1553
|
|
|
1539
|
* IPython/iplib.py (InteractiveShell._prefilter): big change -
|
|
1554
|
* IPython/iplib.py (InteractiveShell._prefilter): big change -
|
|
1540
|
special syntaxes (like alias calling) is now allied in multi-line
|
|
1555
|
special syntaxes (like alias calling) is now allied in multi-line
|
|
1541
|
input. This is still _very_ experimental, but it's necessary for
|
|
1556
|
input. This is still _very_ experimental, but it's necessary for
|
|
1542
|
efficient shell usage combining python looping syntax with system
|
|
1557
|
efficient shell usage combining python looping syntax with system
|
|
1543
|
calls. For now it's restricted to aliases, I don't think it
|
|
1558
|
calls. For now it's restricted to aliases, I don't think it
|
|
1544
|
really even makes sense to have this for magics.
|
|
1559
|
really even makes sense to have this for magics.
|
|
1545
|
|
|
1560
|
|
|
1546
|
2004-06-23 Fernando Perez <fperez@colorado.edu>
|
|
1561
|
2004-06-23 Fernando Perez <fperez@colorado.edu>
|
|
1547
|
|
|
1562
|
|
|
1548
|
* IPython/Extensions/InterpreterExec.py (prefilter_shell): Added
|
|
1563
|
* IPython/Extensions/InterpreterExec.py (prefilter_shell): Added
|
|
1549
|
$var=cmd <=> @sc var=cmd and $$var=cmd <=> @sc -l var=cmd.
|
|
1564
|
$var=cmd <=> @sc var=cmd and $$var=cmd <=> @sc -l var=cmd.
|
|
1550
|
|
|
1565
|
|
|
1551
|
* IPython/Magic.py (Magic.magic_rehashx): modified to handle
|
|
1566
|
* IPython/Magic.py (Magic.magic_rehashx): modified to handle
|
|
1552
|
extensions under Windows (after code sent by Gary Bishop). The
|
|
1567
|
extensions under Windows (after code sent by Gary Bishop). The
|
|
1553
|
extensions considered 'executable' are stored in IPython's rc
|
|
1568
|
extensions considered 'executable' are stored in IPython's rc
|
|
1554
|
structure as win_exec_ext.
|
|
1569
|
structure as win_exec_ext.
|
|
1555
|
|
|
1570
|
|
|
1556
|
* IPython/genutils.py (shell): new function, like system() but
|
|
1571
|
* IPython/genutils.py (shell): new function, like system() but
|
|
1557
|
without return value. Very useful for interactive shell work.
|
|
1572
|
without return value. Very useful for interactive shell work.
|
|
1558
|
|
|
1573
|
|
|
1559
|
* IPython/Magic.py (Magic.magic_unalias): New @unalias function to
|
|
1574
|
* IPython/Magic.py (Magic.magic_unalias): New @unalias function to
|
|
1560
|
delete aliases.
|
|
1575
|
delete aliases.
|
|
1561
|
|
|
1576
|
|
|
1562
|
* IPython/iplib.py (InteractiveShell.alias_table_update): make
|
|
1577
|
* IPython/iplib.py (InteractiveShell.alias_table_update): make
|
|
1563
|
sure that the alias table doesn't contain python keywords.
|
|
1578
|
sure that the alias table doesn't contain python keywords.
|
|
1564
|
|
|
1579
|
|
|
1565
|
2004-06-21 Fernando Perez <fperez@colorado.edu>
|
|
1580
|
2004-06-21 Fernando Perez <fperez@colorado.edu>
|
|
1566
|
|
|
1581
|
|
|
1567
|
* IPython/Magic.py (Magic.magic_rehash): Fix crash when
|
|
1582
|
* IPython/Magic.py (Magic.magic_rehash): Fix crash when
|
|
1568
|
non-existent items are found in $PATH. Reported by Thorsten.
|
|
1583
|
non-existent items are found in $PATH. Reported by Thorsten.
|
|
1569
|
|
|
1584
|
|
|
1570
|
2004-06-20 Fernando Perez <fperez@colorado.edu>
|
|
1585
|
2004-06-20 Fernando Perez <fperez@colorado.edu>
|
|
1571
|
|
|
1586
|
|
|
1572
|
* IPython/iplib.py (complete): modified the completer so that the
|
|
1587
|
* IPython/iplib.py (complete): modified the completer so that the
|
|
1573
|
order of priorities can be easily changed at runtime.
|
|
1588
|
order of priorities can be easily changed at runtime.
|
|
1574
|
|
|
1589
|
|
|
1575
|
* IPython/Extensions/InterpreterExec.py (prefilter_shell):
|
|
1590
|
* IPython/Extensions/InterpreterExec.py (prefilter_shell):
|
|
1576
|
Modified to auto-execute all lines beginning with '~', '/' or '.'.
|
|
1591
|
Modified to auto-execute all lines beginning with '~', '/' or '.'.
|
|
1577
|
|
|
1592
|
|
|
1578
|
* IPython/Magic.py (Magic.magic_sx): modified @sc and @sx to
|
|
1593
|
* IPython/Magic.py (Magic.magic_sx): modified @sc and @sx to
|
|
1579
|
expand Python variables prepended with $ in all system calls. The
|
|
1594
|
expand Python variables prepended with $ in all system calls. The
|
|
1580
|
same was done to InteractiveShell.handle_shell_escape. Now all
|
|
1595
|
same was done to InteractiveShell.handle_shell_escape. Now all
|
|
1581
|
system access mechanisms (!, !!, @sc, @sx and aliases) allow the
|
|
1596
|
system access mechanisms (!, !!, @sc, @sx and aliases) allow the
|
|
1582
|
expansion of python variables and expressions according to the
|
|
1597
|
expansion of python variables and expressions according to the
|
|
1583
|
syntax of PEP-215 - http://www.python.org/peps/pep-0215.html.
|
|
1598
|
syntax of PEP-215 - http://www.python.org/peps/pep-0215.html.
|
|
1584
|
|
|
1599
|
|
|
1585
|
Though PEP-215 has been rejected, a similar (but simpler) one
|
|
1600
|
Though PEP-215 has been rejected, a similar (but simpler) one
|
|
1586
|
seems like it will go into Python 2.4, PEP-292 -
|
|
1601
|
seems like it will go into Python 2.4, PEP-292 -
|
|
1587
|
http://www.python.org/peps/pep-0292.html.
|
|
1602
|
http://www.python.org/peps/pep-0292.html.
|
|
1588
|
|
|
1603
|
|
|
1589
|
I'll keep the full syntax of PEP-215, since IPython has since the
|
|
1604
|
I'll keep the full syntax of PEP-215, since IPython has since the
|
|
1590
|
start used Ka-Ping Yee's reference implementation discussed there
|
|
1605
|
start used Ka-Ping Yee's reference implementation discussed there
|
|
1591
|
(Itpl), and I actually like the powerful semantics it offers.
|
|
1606
|
(Itpl), and I actually like the powerful semantics it offers.
|
|
1592
|
|
|
1607
|
|
|
1593
|
In order to access normal shell variables, the $ has to be escaped
|
|
1608
|
In order to access normal shell variables, the $ has to be escaped
|
|
1594
|
via an extra $. For example:
|
|
1609
|
via an extra $. For example:
|
|
1595
|
|
|
1610
|
|
|
1596
|
In [7]: PATH='a python variable'
|
|
1611
|
In [7]: PATH='a python variable'
|
|
1597
|
|
|
1612
|
|
|
1598
|
In [8]: !echo $PATH
|
|
1613
|
In [8]: !echo $PATH
|
|
1599
|
a python variable
|
|
1614
|
a python variable
|
|
1600
|
|
|
1615
|
|
|
1601
|
In [9]: !echo $$PATH
|
|
1616
|
In [9]: !echo $$PATH
|
|
1602
|
/usr/local/lf9560/bin:/usr/local/intel/compiler70/ia32/bin:...
|
|
1617
|
/usr/local/lf9560/bin:/usr/local/intel/compiler70/ia32/bin:...
|
|
1603
|
|
|
1618
|
|
|
1604
|
(Magic.parse_options): escape $ so the shell doesn't evaluate
|
|
1619
|
(Magic.parse_options): escape $ so the shell doesn't evaluate
|
|
1605
|
things prematurely.
|
|
1620
|
things prematurely.
|
|
1606
|
|
|
1621
|
|
|
1607
|
* IPython/iplib.py (InteractiveShell.call_alias): added the
|
|
1622
|
* IPython/iplib.py (InteractiveShell.call_alias): added the
|
|
1608
|
ability for aliases to expand python variables via $.
|
|
1623
|
ability for aliases to expand python variables via $.
|
|
1609
|
|
|
1624
|
|
|
1610
|
* IPython/Magic.py (Magic.magic_rehash): based on the new alias
|
|
1625
|
* IPython/Magic.py (Magic.magic_rehash): based on the new alias
|
|
1611
|
system, now there's a @rehash/@rehashx pair of magics. These work
|
|
1626
|
system, now there's a @rehash/@rehashx pair of magics. These work
|
|
1612
|
like the csh rehash command, and can be invoked at any time. They
|
|
1627
|
like the csh rehash command, and can be invoked at any time. They
|
|
1613
|
build a table of aliases to everything in the user's $PATH
|
|
1628
|
build a table of aliases to everything in the user's $PATH
|
|
1614
|
(@rehash uses everything, @rehashx is slower but only adds
|
|
1629
|
(@rehash uses everything, @rehashx is slower but only adds
|
|
1615
|
executable files). With this, the pysh.py-based shell profile can
|
|
1630
|
executable files). With this, the pysh.py-based shell profile can
|
|
1616
|
now simply call rehash upon startup, and full access to all
|
|
1631
|
now simply call rehash upon startup, and full access to all
|
|
1617
|
programs in the user's path is obtained.
|
|
1632
|
programs in the user's path is obtained.
|
|
1618
|
|
|
1633
|
|
|
1619
|
* IPython/iplib.py (InteractiveShell.call_alias): The new alias
|
|
1634
|
* IPython/iplib.py (InteractiveShell.call_alias): The new alias
|
|
1620
|
functionality is now fully in place. I removed the old dynamic
|
|
1635
|
functionality is now fully in place. I removed the old dynamic
|
|
1621
|
code generation based approach, in favor of a much lighter one
|
|
1636
|
code generation based approach, in favor of a much lighter one
|
|
1622
|
based on a simple dict. The advantage is that this allows me to
|
|
1637
|
based on a simple dict. The advantage is that this allows me to
|
|
1623
|
now have thousands of aliases with negligible cost (unthinkable
|
|
1638
|
now have thousands of aliases with negligible cost (unthinkable
|
|
1624
|
with the old system).
|
|
1639
|
with the old system).
|
|
1625
|
|
|
1640
|
|
|
1626
|
2004-06-19 Fernando Perez <fperez@colorado.edu>
|
|
1641
|
2004-06-19 Fernando Perez <fperez@colorado.edu>
|
|
1627
|
|
|
1642
|
|
|
1628
|
* IPython/iplib.py (__init__): extended MagicCompleter class to
|
|
1643
|
* IPython/iplib.py (__init__): extended MagicCompleter class to
|
|
1629
|
also complete (last in priority) on user aliases.
|
|
1644
|
also complete (last in priority) on user aliases.
|
|
1630
|
|
|
1645
|
|
|
1631
|
* IPython/Itpl.py (Itpl.__str__): fixed order of globals/locals in
|
|
1646
|
* IPython/Itpl.py (Itpl.__str__): fixed order of globals/locals in
|
|
1632
|
call to eval.
|
|
1647
|
call to eval.
|
|
1633
|
(ItplNS.__init__): Added a new class which functions like Itpl,
|
|
1648
|
(ItplNS.__init__): Added a new class which functions like Itpl,
|
|
1634
|
but allows configuring the namespace for the evaluation to occur
|
|
1649
|
but allows configuring the namespace for the evaluation to occur
|
|
1635
|
in.
|
|
1650
|
in.
|
|
1636
|
|
|
1651
|
|
|
1637
|
2004-06-18 Fernando Perez <fperez@colorado.edu>
|
|
1652
|
2004-06-18 Fernando Perez <fperez@colorado.edu>
|
|
1638
|
|
|
1653
|
|
|
1639
|
* IPython/iplib.py (InteractiveShell.runcode): modify to print a
|
|
1654
|
* IPython/iplib.py (InteractiveShell.runcode): modify to print a
|
|
1640
|
better message when 'exit' or 'quit' are typed (a common newbie
|
|
1655
|
better message when 'exit' or 'quit' are typed (a common newbie
|
|
1641
|
confusion).
|
|
1656
|
confusion).
|
|
1642
|
|
|
1657
|
|
|
1643
|
* IPython/Magic.py (Magic.magic_colors): Added the runtime color
|
|
1658
|
* IPython/Magic.py (Magic.magic_colors): Added the runtime color
|
|
1644
|
check for Windows users.
|
|
1659
|
check for Windows users.
|
|
1645
|
|
|
1660
|
|
|
1646
|
* IPython/iplib.py (InteractiveShell.user_setup): removed
|
|
1661
|
* IPython/iplib.py (InteractiveShell.user_setup): removed
|
|
1647
|
disabling of colors for Windows. I'll test at runtime and issue a
|
|
1662
|
disabling of colors for Windows. I'll test at runtime and issue a
|
|
1648
|
warning if Gary's readline isn't found, as to nudge users to
|
|
1663
|
warning if Gary's readline isn't found, as to nudge users to
|
|
1649
|
download it.
|
|
1664
|
download it.
|
|
1650
|
|
|
1665
|
|
|
1651
|
2004-06-16 Fernando Perez <fperez@colorado.edu>
|
|
1666
|
2004-06-16 Fernando Perez <fperez@colorado.edu>
|
|
1652
|
|
|
1667
|
|
|
1653
|
* IPython/genutils.py (Stream.__init__): changed to print errors
|
|
1668
|
* IPython/genutils.py (Stream.__init__): changed to print errors
|
|
1654
|
to sys.stderr. I had a circular dependency here. Now it's
|
|
1669
|
to sys.stderr. I had a circular dependency here. Now it's
|
|
1655
|
possible to run ipython as IDLE's shell (consider this pre-alpha,
|
|
1670
|
possible to run ipython as IDLE's shell (consider this pre-alpha,
|
|
1656
|
since true stdout things end up in the starting terminal instead
|
|
1671
|
since true stdout things end up in the starting terminal instead
|
|
1657
|
of IDLE's out).
|
|
1672
|
of IDLE's out).
|
|
1658
|
|
|
1673
|
|
|
1659
|
* IPython/Prompts.py (Prompt2.set_colors): prevent crashes for
|
|
1674
|
* IPython/Prompts.py (Prompt2.set_colors): prevent crashes for
|
|
1660
|
users who haven't # updated their prompt_in2 definitions. Remove
|
|
1675
|
users who haven't # updated their prompt_in2 definitions. Remove
|
|
1661
|
eventually.
|
|
1676
|
eventually.
|
|
1662
|
(multiple_replace): added credit to original ASPN recipe.
|
|
1677
|
(multiple_replace): added credit to original ASPN recipe.
|
|
1663
|
|
|
1678
|
|
|
1664
|
2004-06-15 Fernando Perez <fperez@colorado.edu>
|
|
1679
|
2004-06-15 Fernando Perez <fperez@colorado.edu>
|
|
1665
|
|
|
1680
|
|
|
1666
|
* IPython/iplib.py (InteractiveShell.__init__): add 'cp' to the
|
|
1681
|
* IPython/iplib.py (InteractiveShell.__init__): add 'cp' to the
|
|
1667
|
list of auto-defined aliases.
|
|
1682
|
list of auto-defined aliases.
|
|
1668
|
|
|
1683
|
|
|
1669
|
2004-06-13 Fernando Perez <fperez@colorado.edu>
|
|
1684
|
2004-06-13 Fernando Perez <fperez@colorado.edu>
|
|
1670
|
|
|
1685
|
|
|
1671
|
* setup.py (scriptfiles): Don't trigger win_post_install unless an
|
|
1686
|
* setup.py (scriptfiles): Don't trigger win_post_install unless an
|
|
1672
|
install was really requested (so setup.py can be used for other
|
|
1687
|
install was really requested (so setup.py can be used for other
|
|
1673
|
things under Windows).
|
|
1688
|
things under Windows).
|
|
1674
|
|
|
1689
|
|
|
1675
|
2004-06-10 Fernando Perez <fperez@colorado.edu>
|
|
1690
|
2004-06-10 Fernando Perez <fperez@colorado.edu>
|
|
1676
|
|
|
1691
|
|
|
1677
|
* IPython/Logger.py (Logger.create_log): Manually remove any old
|
|
1692
|
* IPython/Logger.py (Logger.create_log): Manually remove any old
|
|
1678
|
backup, since os.remove may fail under Windows. Fixes bug
|
|
1693
|
backup, since os.remove may fail under Windows. Fixes bug
|
|
1679
|
reported by Thorsten.
|
|
1694
|
reported by Thorsten.
|
|
1680
|
|
|
1695
|
|
|
1681
|
2004-06-09 Fernando Perez <fperez@colorado.edu>
|
|
1696
|
2004-06-09 Fernando Perez <fperez@colorado.edu>
|
|
1682
|
|
|
1697
|
|
|
1683
|
* examples/example-embed.py: fixed all references to %n (replaced
|
|
1698
|
* examples/example-embed.py: fixed all references to %n (replaced
|
|
1684
|
with \\# for ps1/out prompts and with \\D for ps2 prompts). Done
|
|
1699
|
with \\# for ps1/out prompts and with \\D for ps2 prompts). Done
|
|
1685
|
for all examples and the manual as well.
|
|
1700
|
for all examples and the manual as well.
|
|
1686
|
|
|
1701
|
|
|
1687
|
2004-06-08 Fernando Perez <fperez@colorado.edu>
|
|
1702
|
2004-06-08 Fernando Perez <fperez@colorado.edu>
|
|
1688
|
|
|
1703
|
|
|
1689
|
* IPython/Prompts.py (Prompt2.set_p_str): fixed all prompt
|
|
1704
|
* IPython/Prompts.py (Prompt2.set_p_str): fixed all prompt
|
|
1690
|
alignment and color management. All 3 prompt subsystems now
|
|
1705
|
alignment and color management. All 3 prompt subsystems now
|
|
1691
|
inherit from BasePrompt.
|
|
1706
|
inherit from BasePrompt.
|
|
1692
|
|
|
1707
|
|
|
1693
|
* tools/release: updates for windows installer build and tag rpms
|
|
1708
|
* tools/release: updates for windows installer build and tag rpms
|
|
1694
|
with python version (since paths are fixed).
|
|
1709
|
with python version (since paths are fixed).
|
|
1695
|
|
|
1710
|
|
|
1696
|
* IPython/UserConfig/ipythonrc: modified to use \# instead of %n,
|
|
1711
|
* IPython/UserConfig/ipythonrc: modified to use \# instead of %n,
|
|
1697
|
which will become eventually obsolete. Also fixed the default
|
|
1712
|
which will become eventually obsolete. Also fixed the default
|
|
1698
|
prompt_in2 to use \D, so at least new users start with the correct
|
|
1713
|
prompt_in2 to use \D, so at least new users start with the correct
|
|
1699
|
defaults.
|
|
1714
|
defaults.
|
|
1700
|
WARNING: Users with existing ipythonrc files will need to apply
|
|
1715
|
WARNING: Users with existing ipythonrc files will need to apply
|
|
1701
|
this fix manually!
|
|
1716
|
this fix manually!
|
|
1702
|
|
|
1717
|
|
|
1703
|
* setup.py: make windows installer (.exe). This is finally the
|
|
1718
|
* setup.py: make windows installer (.exe). This is finally the
|
|
1704
|
integration of an old patch by Cory Dodt <dodt-AT-fcoe.k12.ca.us>,
|
|
1719
|
integration of an old patch by Cory Dodt <dodt-AT-fcoe.k12.ca.us>,
|
|
1705
|
which I hadn't included because it required Python 2.3 (or recent
|
|
1720
|
which I hadn't included because it required Python 2.3 (or recent
|
|
1706
|
distutils).
|
|
1721
|
distutils).
|
|
1707
|
|
|
1722
|
|
|
1708
|
* IPython/usage.py (__doc__): update docs (and manpage) to reflect
|
|
1723
|
* IPython/usage.py (__doc__): update docs (and manpage) to reflect
|
|
1709
|
usage of new '\D' escape.
|
|
1724
|
usage of new '\D' escape.
|
|
1710
|
|
|
1725
|
|
|
1711
|
* IPython/Prompts.py (ROOT_SYMBOL): Small fix for Windows (which
|
|
1726
|
* IPython/Prompts.py (ROOT_SYMBOL): Small fix for Windows (which
|
|
1712
|
lacks os.getuid())
|
|
1727
|
lacks os.getuid())
|
|
1713
|
(CachedOutput.set_colors): Added the ability to turn coloring
|
|
1728
|
(CachedOutput.set_colors): Added the ability to turn coloring
|
|
1714
|
on/off with @colors even for manually defined prompt colors. It
|
|
1729
|
on/off with @colors even for manually defined prompt colors. It
|
|
1715
|
uses a nasty global, but it works safely and via the generic color
|
|
1730
|
uses a nasty global, but it works safely and via the generic color
|
|
1716
|
handling mechanism.
|
|
1731
|
handling mechanism.
|
|
1717
|
(Prompt2.__init__): Introduced new escape '\D' for continuation
|
|
1732
|
(Prompt2.__init__): Introduced new escape '\D' for continuation
|
|
1718
|
prompts. It represents the counter ('\#') as dots.
|
|
1733
|
prompts. It represents the counter ('\#') as dots.
|
|
1719
|
*** NOTE *** THIS IS A BACKWARDS-INCOMPATIBLE CHANGE. Users will
|
|
1734
|
*** NOTE *** THIS IS A BACKWARDS-INCOMPATIBLE CHANGE. Users will
|
|
1720
|
need to update their ipythonrc files and replace '%n' with '\D' in
|
|
1735
|
need to update their ipythonrc files and replace '%n' with '\D' in
|
|
1721
|
their prompt_in2 settings everywhere. Sorry, but there's
|
|
1736
|
their prompt_in2 settings everywhere. Sorry, but there's
|
|
1722
|
otherwise no clean way to get all prompts to properly align. The
|
|
1737
|
otherwise no clean way to get all prompts to properly align. The
|
|
1723
|
ipythonrc shipped with IPython has been updated.
|
|
1738
|
ipythonrc shipped with IPython has been updated.
|
|
1724
|
|
|
1739
|
|
|
1725
|
2004-06-07 Fernando Perez <fperez@colorado.edu>
|
|
1740
|
2004-06-07 Fernando Perez <fperez@colorado.edu>
|
|
1726
|
|
|
1741
|
|
|
1727
|
* setup.py (isfile): Pass local_icons option to latex2html, so the
|
|
1742
|
* setup.py (isfile): Pass local_icons option to latex2html, so the
|
|
1728
|
resulting HTML file is self-contained. Thanks to
|
|
1743
|
resulting HTML file is self-contained. Thanks to
|
|
1729
|
dryice-AT-liu.com.cn for the tip.
|
|
1744
|
dryice-AT-liu.com.cn for the tip.
|
|
1730
|
|
|
1745
|
|
|
1731
|
* pysh.py: I created a new profile 'shell', which implements a
|
|
1746
|
* pysh.py: I created a new profile 'shell', which implements a
|
|
1732
|
_rudimentary_ IPython-based shell. This is in NO WAY a realy
|
|
1747
|
_rudimentary_ IPython-based shell. This is in NO WAY a realy
|
|
1733
|
system shell, nor will it become one anytime soon. It's mainly
|
|
1748
|
system shell, nor will it become one anytime soon. It's mainly
|
|
1734
|
meant to illustrate the use of the new flexible bash-like prompts.
|
|
1749
|
meant to illustrate the use of the new flexible bash-like prompts.
|
|
1735
|
I guess it could be used by hardy souls for true shell management,
|
|
1750
|
I guess it could be used by hardy souls for true shell management,
|
|
1736
|
but it's no tcsh/bash... pysh.py is loaded by the 'shell'
|
|
1751
|
but it's no tcsh/bash... pysh.py is loaded by the 'shell'
|
|
1737
|
profile. This uses the InterpreterExec extension provided by
|
|
1752
|
profile. This uses the InterpreterExec extension provided by
|
|
1738
|
W.J. van der Laan <gnufnork-AT-hetdigitalegat.nl>
|
|
1753
|
W.J. van der Laan <gnufnork-AT-hetdigitalegat.nl>
|
|
1739
|
|
|
1754
|
|
|
1740
|
* IPython/Prompts.py (PromptOut.__str__): now it will correctly
|
|
1755
|
* IPython/Prompts.py (PromptOut.__str__): now it will correctly
|
|
1741
|
auto-align itself with the length of the previous input prompt
|
|
1756
|
auto-align itself with the length of the previous input prompt
|
|
1742
|
(taking into account the invisible color escapes).
|
|
1757
|
(taking into account the invisible color escapes).
|
|
1743
|
(CachedOutput.__init__): Large restructuring of this class. Now
|
|
1758
|
(CachedOutput.__init__): Large restructuring of this class. Now
|
|
1744
|
all three prompts (primary1, primary2, output) are proper objects,
|
|
1759
|
all three prompts (primary1, primary2, output) are proper objects,
|
|
1745
|
managed by the 'parent' CachedOutput class. The code is still a
|
|
1760
|
managed by the 'parent' CachedOutput class. The code is still a
|
|
1746
|
bit hackish (all prompts share state via a pointer to the cache),
|
|
1761
|
bit hackish (all prompts share state via a pointer to the cache),
|
|
1747
|
but it's overall far cleaner than before.
|
|
1762
|
but it's overall far cleaner than before.
|
|
1748
|
|
|
1763
|
|
|
1749
|
* IPython/genutils.py (getoutputerror): modified to add verbose,
|
|
1764
|
* IPython/genutils.py (getoutputerror): modified to add verbose,
|
|
1750
|
debug and header options. This makes the interface of all getout*
|
|
1765
|
debug and header options. This makes the interface of all getout*
|
|
1751
|
functions uniform.
|
|
1766
|
functions uniform.
|
|
1752
|
(SystemExec.getoutputerror): added getoutputerror to SystemExec.
|
|
1767
|
(SystemExec.getoutputerror): added getoutputerror to SystemExec.
|
|
1753
|
|
|
1768
|
|
|
1754
|
* IPython/Magic.py (Magic.default_option): added a function to
|
|
1769
|
* IPython/Magic.py (Magic.default_option): added a function to
|
|
1755
|
allow registering default options for any magic command. This
|
|
1770
|
allow registering default options for any magic command. This
|
|
1756
|
makes it easy to have profiles which customize the magics globally
|
|
1771
|
makes it easy to have profiles which customize the magics globally
|
|
1757
|
for a certain use. The values set through this function are
|
|
1772
|
for a certain use. The values set through this function are
|
|
1758
|
picked up by the parse_options() method, which all magics should
|
|
1773
|
picked up by the parse_options() method, which all magics should
|
|
1759
|
use to parse their options.
|
|
1774
|
use to parse their options.
|
|
1760
|
|
|
1775
|
|
|
1761
|
* IPython/genutils.py (warn): modified the warnings framework to
|
|
1776
|
* IPython/genutils.py (warn): modified the warnings framework to
|
|
1762
|
use the Term I/O class. I'm trying to slowly unify all of
|
|
1777
|
use the Term I/O class. I'm trying to slowly unify all of
|
|
1763
|
IPython's I/O operations to pass through Term.
|
|
1778
|
IPython's I/O operations to pass through Term.
|
|
1764
|
|
|
1779
|
|
|
1765
|
* IPython/Prompts.py (Prompt2._str_other): Added functionality in
|
|
1780
|
* IPython/Prompts.py (Prompt2._str_other): Added functionality in
|
|
1766
|
the secondary prompt to correctly match the length of the primary
|
|
1781
|
the secondary prompt to correctly match the length of the primary
|
|
1767
|
one for any prompt. Now multi-line code will properly line up
|
|
1782
|
one for any prompt. Now multi-line code will properly line up
|
|
1768
|
even for path dependent prompts, such as the new ones available
|
|
1783
|
even for path dependent prompts, such as the new ones available
|
|
1769
|
via the prompt_specials.
|
|
1784
|
via the prompt_specials.
|
|
1770
|
|
|
1785
|
|
|
1771
|
2004-06-06 Fernando Perez <fperez@colorado.edu>
|
|
1786
|
2004-06-06 Fernando Perez <fperez@colorado.edu>
|
|
1772
|
|
|
1787
|
|
|
1773
|
* IPython/Prompts.py (prompt_specials): Added the ability to have
|
|
1788
|
* IPython/Prompts.py (prompt_specials): Added the ability to have
|
|
1774
|
bash-like special sequences in the prompts, which get
|
|
1789
|
bash-like special sequences in the prompts, which get
|
|
1775
|
automatically expanded. Things like hostname, current working
|
|
1790
|
automatically expanded. Things like hostname, current working
|
|
1776
|
directory and username are implemented already, but it's easy to
|
|
1791
|
directory and username are implemented already, but it's easy to
|
|
1777
|
add more in the future. Thanks to a patch by W.J. van der Laan
|
|
1792
|
add more in the future. Thanks to a patch by W.J. van der Laan
|
|
1778
|
<gnufnork-AT-hetdigitalegat.nl>
|
|
1793
|
<gnufnork-AT-hetdigitalegat.nl>
|
|
1779
|
(prompt_specials): Added color support for prompt strings, so
|
|
1794
|
(prompt_specials): Added color support for prompt strings, so
|
|
1780
|
users can define arbitrary color setups for their prompts.
|
|
1795
|
users can define arbitrary color setups for their prompts.
|
|
1781
|
|
|
1796
|
|
|
1782
|
2004-06-05 Fernando Perez <fperez@colorado.edu>
|
|
1797
|
2004-06-05 Fernando Perez <fperez@colorado.edu>
|
|
1783
|
|
|
1798
|
|
|
1784
|
* IPython/genutils.py (Term.reopen_all): Added Windows-specific
|
|
1799
|
* IPython/genutils.py (Term.reopen_all): Added Windows-specific
|
|
1785
|
code to load Gary Bishop's readline and configure it
|
|
1800
|
code to load Gary Bishop's readline and configure it
|
|
1786
|
automatically. Thanks to Gary for help on this.
|
|
1801
|
automatically. Thanks to Gary for help on this.
|
|
1787
|
|
|
1802
|
|
|
1788
|
2004-06-01 Fernando Perez <fperez@colorado.edu>
|
|
1803
|
2004-06-01 Fernando Perez <fperez@colorado.edu>
|
|
1789
|
|
|
1804
|
|
|
1790
|
* IPython/Logger.py (Logger.create_log): fix bug for logging
|
|
1805
|
* IPython/Logger.py (Logger.create_log): fix bug for logging
|
|
1791
|
with no filename (previous fix was incomplete).
|
|
1806
|
with no filename (previous fix was incomplete).
|
|
1792
|
|
|
1807
|
|
|
1793
|
2004-05-25 Fernando Perez <fperez@colorado.edu>
|
|
1808
|
2004-05-25 Fernando Perez <fperez@colorado.edu>
|
|
1794
|
|
|
1809
|
|
|
1795
|
* IPython/Magic.py (Magic.parse_options): fix bug where naked
|
|
1810
|
* IPython/Magic.py (Magic.parse_options): fix bug where naked
|
|
1796
|
parens would get passed to the shell.
|
|
1811
|
parens would get passed to the shell.
|
|
1797
|
|
|
1812
|
|
|
1798
|
2004-05-20 Fernando Perez <fperez@colorado.edu>
|
|
1813
|
2004-05-20 Fernando Perez <fperez@colorado.edu>
|
|
1799
|
|
|
1814
|
|
|
1800
|
* IPython/Magic.py (Magic.magic_prun): changed default profile
|
|
1815
|
* IPython/Magic.py (Magic.magic_prun): changed default profile
|
|
1801
|
sort order to 'time' (the more common profiling need).
|
|
1816
|
sort order to 'time' (the more common profiling need).
|
|
1802
|
|
|
1817
|
|
|
1803
|
* IPython/OInspect.py (Inspector.pinfo): flush the inspect cache
|
|
1818
|
* IPython/OInspect.py (Inspector.pinfo): flush the inspect cache
|
|
1804
|
so that source code shown is guaranteed in sync with the file on
|
|
1819
|
so that source code shown is guaranteed in sync with the file on
|
|
1805
|
disk (also changed in psource). Similar fix to the one for
|
|
1820
|
disk (also changed in psource). Similar fix to the one for
|
|
1806
|
ultraTB on 2004-05-06. Thanks to a bug report by Yann Le Du
|
|
1821
|
ultraTB on 2004-05-06. Thanks to a bug report by Yann Le Du
|
|
1807
|
<yann.ledu-AT-noos.fr>.
|
|
1822
|
<yann.ledu-AT-noos.fr>.
|
|
1808
|
|
|
1823
|
|
|
1809
|
* IPython/Magic.py (Magic.parse_options): Fixed bug where commands
|
|
1824
|
* IPython/Magic.py (Magic.parse_options): Fixed bug where commands
|
|
1810
|
with a single option would not be correctly parsed. Closes
|
|
1825
|
with a single option would not be correctly parsed. Closes
|
|
1811
|
http://www.scipy.net/roundup/ipython/issue14. This bug had been
|
|
1826
|
http://www.scipy.net/roundup/ipython/issue14. This bug had been
|
|
1812
|
introduced in 0.6.0 (on 2004-05-06).
|
|
1827
|
introduced in 0.6.0 (on 2004-05-06).
|
|
1813
|
|
|
1828
|
|
|
1814
|
2004-05-13 *** Released version 0.6.0
|
|
1829
|
2004-05-13 *** Released version 0.6.0
|
|
1815
|
|
|
1830
|
|
|
1816
|
2004-05-13 Fernando Perez <fperez@colorado.edu>
|
|
1831
|
2004-05-13 Fernando Perez <fperez@colorado.edu>
|
|
1817
|
|
|
1832
|
|
|
1818
|
* debian/: Added debian/ directory to CVS, so that debian support
|
|
1833
|
* debian/: Added debian/ directory to CVS, so that debian support
|
|
1819
|
is publicly accessible. The debian package is maintained by Jack
|
|
1834
|
is publicly accessible. The debian package is maintained by Jack
|
|
1820
|
Moffit <jack-AT-xiph.org>.
|
|
1835
|
Moffit <jack-AT-xiph.org>.
|
|
1821
|
|
|
1836
|
|
|
1822
|
* Documentation: included the notes about an ipython-based system
|
|
1837
|
* Documentation: included the notes about an ipython-based system
|
|
1823
|
shell (the hypothetical 'pysh') into the new_design.pdf document,
|
|
1838
|
shell (the hypothetical 'pysh') into the new_design.pdf document,
|
|
1824
|
so that these ideas get distributed to users along with the
|
|
1839
|
so that these ideas get distributed to users along with the
|
|
1825
|
official documentation.
|
|
1840
|
official documentation.
|
|
1826
|
|
|
1841
|
|
|
1827
|
2004-05-10 Fernando Perez <fperez@colorado.edu>
|
|
1842
|
2004-05-10 Fernando Perez <fperez@colorado.edu>
|
|
1828
|
|
|
1843
|
|
|
1829
|
* IPython/Logger.py (Logger.create_log): fix recently introduced
|
|
1844
|
* IPython/Logger.py (Logger.create_log): fix recently introduced
|
|
1830
|
bug (misindented line) where logstart would fail when not given an
|
|
1845
|
bug (misindented line) where logstart would fail when not given an
|
|
1831
|
explicit filename.
|
|
1846
|
explicit filename.
|
|
1832
|
|
|
1847
|
|
|
1833
|
2004-05-09 Fernando Perez <fperez@colorado.edu>
|
|
1848
|
2004-05-09 Fernando Perez <fperez@colorado.edu>
|
|
1834
|
|
|
1849
|
|
|
1835
|
* IPython/Magic.py (Magic.parse_options): skip system call when
|
|
1850
|
* IPython/Magic.py (Magic.parse_options): skip system call when
|
|
1836
|
there are no options to look for. Faster, cleaner for the common
|
|
1851
|
there are no options to look for. Faster, cleaner for the common
|
|
1837
|
case.
|
|
1852
|
case.
|
|
1838
|
|
|
1853
|
|
|
1839
|
* Documentation: many updates to the manual: describing Windows
|
|
1854
|
* Documentation: many updates to the manual: describing Windows
|
|
1840
|
support better, Gnuplot updates, credits, misc small stuff. Also
|
|
1855
|
support better, Gnuplot updates, credits, misc small stuff. Also
|
|
1841
|
updated the new_design doc a bit.
|
|
1856
|
updated the new_design doc a bit.
|
|
1842
|
|
|
1857
|
|
|
1843
|
2004-05-06 *** Released version 0.6.0.rc1
|
|
1858
|
2004-05-06 *** Released version 0.6.0.rc1
|
|
1844
|
|
|
1859
|
|
|
1845
|
2004-05-06 Fernando Perez <fperez@colorado.edu>
|
|
1860
|
2004-05-06 Fernando Perez <fperez@colorado.edu>
|
|
1846
|
|
|
1861
|
|
|
1847
|
* IPython/ultraTB.py (ListTB.text): modified a ton of string +=
|
|
1862
|
* IPython/ultraTB.py (ListTB.text): modified a ton of string +=
|
|
1848
|
operations to use the vastly more efficient list/''.join() method.
|
|
1863
|
operations to use the vastly more efficient list/''.join() method.
|
|
1849
|
(FormattedTB.text): Fix
|
|
1864
|
(FormattedTB.text): Fix
|
|
1850
|
http://www.scipy.net/roundup/ipython/issue12 - exception source
|
|
1865
|
http://www.scipy.net/roundup/ipython/issue12 - exception source
|
|
1851
|
extract not updated after reload. Thanks to Mike Salib
|
|
1866
|
extract not updated after reload. Thanks to Mike Salib
|
|
1852
|
<msalib-AT-mit.edu> for pinning the source of the problem.
|
|
1867
|
<msalib-AT-mit.edu> for pinning the source of the problem.
|
|
1853
|
Fortunately, the solution works inside ipython and doesn't require
|
|
1868
|
Fortunately, the solution works inside ipython and doesn't require
|
|
1854
|
any changes to python proper.
|
|
1869
|
any changes to python proper.
|
|
1855
|
|
|
1870
|
|
|
1856
|
* IPython/Magic.py (Magic.parse_options): Improved to process the
|
|
1871
|
* IPython/Magic.py (Magic.parse_options): Improved to process the
|
|
1857
|
argument list as a true shell would (by actually using the
|
|
1872
|
argument list as a true shell would (by actually using the
|
|
1858
|
underlying system shell). This way, all @magics automatically get
|
|
1873
|
underlying system shell). This way, all @magics automatically get
|
|
1859
|
shell expansion for variables. Thanks to a comment by Alex
|
|
1874
|
shell expansion for variables. Thanks to a comment by Alex
|
|
1860
|
Schmolck.
|
|
1875
|
Schmolck.
|
|
1861
|
|
|
1876
|
|
|
1862
|
2004-04-04 Fernando Perez <fperez@colorado.edu>
|
|
1877
|
2004-04-04 Fernando Perez <fperez@colorado.edu>
|
|
1863
|
|
|
1878
|
|
|
1864
|
* IPython/iplib.py (InteractiveShell.interact): Added a special
|
|
1879
|
* IPython/iplib.py (InteractiveShell.interact): Added a special
|
|
1865
|
trap for a debugger quit exception, which is basically impossible
|
|
1880
|
trap for a debugger quit exception, which is basically impossible
|
|
1866
|
to handle by normal mechanisms, given what pdb does to the stack.
|
|
1881
|
to handle by normal mechanisms, given what pdb does to the stack.
|
|
1867
|
This fixes a crash reported by <fgibbons-AT-llama.med.harvard.edu>.
|
|
1882
|
This fixes a crash reported by <fgibbons-AT-llama.med.harvard.edu>.
|
|
1868
|
|
|
1883
|
|
|
1869
|
2004-04-03 Fernando Perez <fperez@colorado.edu>
|
|
1884
|
2004-04-03 Fernando Perez <fperez@colorado.edu>
|
|
1870
|
|
|
1885
|
|
|
1871
|
* IPython/genutils.py (Term): Standardized the names of the Term
|
|
1886
|
* IPython/genutils.py (Term): Standardized the names of the Term
|
|
1872
|
class streams to cin/cout/cerr, following C++ naming conventions
|
|
1887
|
class streams to cin/cout/cerr, following C++ naming conventions
|
|
1873
|
(I can't use in/out/err because 'in' is not a valid attribute
|
|
1888
|
(I can't use in/out/err because 'in' is not a valid attribute
|
|
1874
|
name).
|
|
1889
|
name).
|
|
1875
|
|
|
1890
|
|
|
1876
|
* IPython/iplib.py (InteractiveShell.interact): don't increment
|
|
1891
|
* IPython/iplib.py (InteractiveShell.interact): don't increment
|
|
1877
|
the prompt if there's no user input. By Daniel 'Dang' Griffith
|
|
1892
|
the prompt if there's no user input. By Daniel 'Dang' Griffith
|
|
1878
|
<pythondev-dang-AT-lazytwinacres.net>, after a suggestion from
|
|
1893
|
<pythondev-dang-AT-lazytwinacres.net>, after a suggestion from
|
|
1879
|
Francois Pinard.
|
|
1894
|
Francois Pinard.
|
|
1880
|
|
|
1895
|
|
|
1881
|
2004-04-02 Fernando Perez <fperez@colorado.edu>
|
|
1896
|
2004-04-02 Fernando Perez <fperez@colorado.edu>
|
|
1882
|
|
|
1897
|
|
|
1883
|
* IPython/genutils.py (Stream.__init__): Modified to survive at
|
|
1898
|
* IPython/genutils.py (Stream.__init__): Modified to survive at
|
|
1884
|
least importing in contexts where stdin/out/err aren't true file
|
|
1899
|
least importing in contexts where stdin/out/err aren't true file
|
|
1885
|
objects, such as PyCrust (they lack fileno() and mode). However,
|
|
1900
|
objects, such as PyCrust (they lack fileno() and mode). However,
|
|
1886
|
the recovery facilities which rely on these things existing will
|
|
1901
|
the recovery facilities which rely on these things existing will
|
|
1887
|
not work.
|
|
1902
|
not work.
|
|
1888
|
|
|
1903
|
|
|
1889
|
2004-04-01 Fernando Perez <fperez@colorado.edu>
|
|
1904
|
2004-04-01 Fernando Perez <fperez@colorado.edu>
|
|
1890
|
|
|
1905
|
|
|
1891
|
* IPython/Magic.py (Magic.magic_sx): modified (as well as @sc) to
|
|
1906
|
* IPython/Magic.py (Magic.magic_sx): modified (as well as @sc) to
|
|
1892
|
use the new getoutputerror() function, so it properly
|
|
1907
|
use the new getoutputerror() function, so it properly
|
|
1893
|
distinguishes stdout/err.
|
|
1908
|
distinguishes stdout/err.
|
|
1894
|
|
|
1909
|
|
|
1895
|
* IPython/genutils.py (getoutputerror): added a function to
|
|
1910
|
* IPython/genutils.py (getoutputerror): added a function to
|
|
1896
|
capture separately the standard output and error of a command.
|
|
1911
|
capture separately the standard output and error of a command.
|
|
1897
|
After a comment from dang on the mailing lists. This code is
|
|
1912
|
After a comment from dang on the mailing lists. This code is
|
|
1898
|
basically a modified version of commands.getstatusoutput(), from
|
|
1913
|
basically a modified version of commands.getstatusoutput(), from
|
|
1899
|
the standard library.
|
|
1914
|
the standard library.
|
|
1900
|
|
|
1915
|
|
|
1901
|
* IPython/iplib.py (InteractiveShell.handle_shell_escape): added
|
|
1916
|
* IPython/iplib.py (InteractiveShell.handle_shell_escape): added
|
|
1902
|
'!!' as a special syntax (shorthand) to access @sx.
|
|
1917
|
'!!' as a special syntax (shorthand) to access @sx.
|
|
1903
|
|
|
1918
|
|
|
1904
|
* IPython/Magic.py (Magic.magic_sx): new magic, to execute a shell
|
|
1919
|
* IPython/Magic.py (Magic.magic_sx): new magic, to execute a shell
|
|
1905
|
command and return its output as a list split on '\n'.
|
|
1920
|
command and return its output as a list split on '\n'.
|
|
1906
|
|
|
1921
|
|
|
1907
|
2004-03-31 Fernando Perez <fperez@colorado.edu>
|
|
1922
|
2004-03-31 Fernando Perez <fperez@colorado.edu>
|
|
1908
|
|
|
1923
|
|
|
1909
|
* IPython/FakeModule.py (FakeModule.__init__): added __nonzero__
|
|
1924
|
* IPython/FakeModule.py (FakeModule.__init__): added __nonzero__
|
|
1910
|
method to dictionaries used as FakeModule instances if they lack
|
|
1925
|
method to dictionaries used as FakeModule instances if they lack
|
|
1911
|
it. At least pydoc in python2.3 breaks for runtime-defined
|
|
1926
|
it. At least pydoc in python2.3 breaks for runtime-defined
|
|
1912
|
functions without this hack. At some point I need to _really_
|
|
1927
|
functions without this hack. At some point I need to _really_
|
|
1913
|
understand what FakeModule is doing, because it's a gross hack.
|
|
1928
|
understand what FakeModule is doing, because it's a gross hack.
|
|
1914
|
But it solves Arnd's problem for now...
|
|
1929
|
But it solves Arnd's problem for now...
|
|
1915
|
|
|
1930
|
|
|
1916
|
2004-02-27 Fernando Perez <fperez@colorado.edu>
|
|
1931
|
2004-02-27 Fernando Perez <fperez@colorado.edu>
|
|
1917
|
|
|
1932
|
|
|
1918
|
* IPython/Logger.py (Logger.create_log): Fix bug where 'rotate'
|
|
1933
|
* IPython/Logger.py (Logger.create_log): Fix bug where 'rotate'
|
|
1919
|
mode would behave erratically. Also increased the number of
|
|
1934
|
mode would behave erratically. Also increased the number of
|
|
1920
|
possible logs in rotate mod to 999. Thanks to Rod Holland
|
|
1935
|
possible logs in rotate mod to 999. Thanks to Rod Holland
|
|
1921
|
<rhh@StructureLABS.com> for the report and fixes.
|
|
1936
|
<rhh@StructureLABS.com> for the report and fixes.
|
|
1922
|
|
|
1937
|
|
|
1923
|
2004-02-26 Fernando Perez <fperez@colorado.edu>
|
|
1938
|
2004-02-26 Fernando Perez <fperez@colorado.edu>
|
|
1924
|
|
|
1939
|
|
|
1925
|
* IPython/genutils.py (page): Check that the curses module really
|
|
1940
|
* IPython/genutils.py (page): Check that the curses module really
|
|
1926
|
has the initscr attribute before trying to use it. For some
|
|
1941
|
has the initscr attribute before trying to use it. For some
|
|
1927
|
reason, the Solaris curses module is missing this. I think this
|
|
1942
|
reason, the Solaris curses module is missing this. I think this
|
|
1928
|
should be considered a Solaris python bug, but I'm not sure.
|
|
1943
|
should be considered a Solaris python bug, but I'm not sure.
|
|
1929
|
|
|
1944
|
|
|
1930
|
2004-01-17 Fernando Perez <fperez@colorado.edu>
|
|
1945
|
2004-01-17 Fernando Perez <fperez@colorado.edu>
|
|
1931
|
|
|
1946
|
|
|
1932
|
* IPython/genutils.py (Stream.__init__): Changes to try to make
|
|
1947
|
* IPython/genutils.py (Stream.__init__): Changes to try to make
|
|
1933
|
ipython robust against stdin/out/err being closed by the user.
|
|
1948
|
ipython robust against stdin/out/err being closed by the user.
|
|
1934
|
This is 'user error' (and blocks a normal python session, at least
|
|
1949
|
This is 'user error' (and blocks a normal python session, at least
|
|
1935
|
the stdout case). However, Ipython should be able to survive such
|
|
1950
|
the stdout case). However, Ipython should be able to survive such
|
|
1936
|
instances of abuse as gracefully as possible. To simplify the
|
|
1951
|
instances of abuse as gracefully as possible. To simplify the
|
|
1937
|
coding and maintain compatibility with Gary Bishop's Term
|
|
1952
|
coding and maintain compatibility with Gary Bishop's Term
|
|
1938
|
contributions, I've made use of classmethods for this. I think
|
|
1953
|
contributions, I've made use of classmethods for this. I think
|
|
1939
|
this introduces a dependency on python 2.2.
|
|
1954
|
this introduces a dependency on python 2.2.
|
|
1940
|
|
|
1955
|
|
|
1941
|
2004-01-13 Fernando Perez <fperez@colorado.edu>
|
|
1956
|
2004-01-13 Fernando Perez <fperez@colorado.edu>
|
|
1942
|
|
|
1957
|
|
|
1943
|
* IPython/numutils.py (exp_safe): simplified the code a bit and
|
|
1958
|
* IPython/numutils.py (exp_safe): simplified the code a bit and
|
|
1944
|
removed the need for importing the kinds module altogether.
|
|
1959
|
removed the need for importing the kinds module altogether.
|
|
1945
|
|
|
1960
|
|
|
1946
|
2004-01-06 Fernando Perez <fperez@colorado.edu>
|
|
1961
|
2004-01-06 Fernando Perez <fperez@colorado.edu>
|
|
1947
|
|
|
1962
|
|
|
1948
|
* IPython/Magic.py (Magic.magic_sc): Made the shell capture system
|
|
1963
|
* IPython/Magic.py (Magic.magic_sc): Made the shell capture system
|
|
1949
|
a magic function instead, after some community feedback. No
|
|
1964
|
a magic function instead, after some community feedback. No
|
|
1950
|
special syntax will exist for it, but its name is deliberately
|
|
1965
|
special syntax will exist for it, but its name is deliberately
|
|
1951
|
very short.
|
|
1966
|
very short.
|
|
1952
|
|
|
1967
|
|
|
1953
|
2003-12-20 Fernando Perez <fperez@colorado.edu>
|
|
1968
|
2003-12-20 Fernando Perez <fperez@colorado.edu>
|
|
1954
|
|
|
1969
|
|
|
1955
|
* IPython/iplib.py (InteractiveShell.handle_shell_assign): Added
|
|
1970
|
* IPython/iplib.py (InteractiveShell.handle_shell_assign): Added
|
|
1956
|
new functionality, to automagically assign the result of a shell
|
|
1971
|
new functionality, to automagically assign the result of a shell
|
|
1957
|
command to a variable. I'll solicit some community feedback on
|
|
1972
|
command to a variable. I'll solicit some community feedback on
|
|
1958
|
this before making it permanent.
|
|
1973
|
this before making it permanent.
|
|
1959
|
|
|
1974
|
|
|
1960
|
* IPython/OInspect.py (Inspector.pinfo): Fix crash when info was
|
|
1975
|
* IPython/OInspect.py (Inspector.pinfo): Fix crash when info was
|
|
1961
|
requested about callables for which inspect couldn't obtain a
|
|
1976
|
requested about callables for which inspect couldn't obtain a
|
|
1962
|
proper argspec. Thanks to a crash report sent by Etienne
|
|
1977
|
proper argspec. Thanks to a crash report sent by Etienne
|
|
1963
|
Posthumus <etienne-AT-apple01.cs.vu.nl>.
|
|
1978
|
Posthumus <etienne-AT-apple01.cs.vu.nl>.
|
|
1964
|
|
|
1979
|
|
|
1965
|
2003-12-09 Fernando Perez <fperez@colorado.edu>
|
|
1980
|
2003-12-09 Fernando Perez <fperez@colorado.edu>
|
|
1966
|
|
|
1981
|
|
|
1967
|
* IPython/genutils.py (page): patch for the pager to work across
|
|
1982
|
* IPython/genutils.py (page): patch for the pager to work across
|
|
1968
|
various versions of Windows. By Gary Bishop.
|
|
1983
|
various versions of Windows. By Gary Bishop.
|
|
1969
|
|
|
1984
|
|
|
1970
|
2003-12-04 Fernando Perez <fperez@colorado.edu>
|
|
1985
|
2003-12-04 Fernando Perez <fperez@colorado.edu>
|
|
1971
|
|
|
1986
|
|
|
1972
|
* IPython/Gnuplot2.py (PlotItems): Fixes for working with
|
|
1987
|
* IPython/Gnuplot2.py (PlotItems): Fixes for working with
|
|
1973
|
Gnuplot.py version 1.7, whose internal names changed quite a bit.
|
|
1988
|
Gnuplot.py version 1.7, whose internal names changed quite a bit.
|
|
1974
|
While I tested this and it looks ok, there may still be corner
|
|
1989
|
While I tested this and it looks ok, there may still be corner
|
|
1975
|
cases I've missed.
|
|
1990
|
cases I've missed.
|
|
1976
|
|
|
1991
|
|
|
1977
|
2003-12-01 Fernando Perez <fperez@colorado.edu>
|
|
1992
|
2003-12-01 Fernando Perez <fperez@colorado.edu>
|
|
1978
|
|
|
1993
|
|
|
1979
|
* IPython/iplib.py (InteractiveShell._prefilter): Fixed a bug
|
|
1994
|
* IPython/iplib.py (InteractiveShell._prefilter): Fixed a bug
|
|
1980
|
where a line like 'p,q=1,2' would fail because the automagic
|
|
1995
|
where a line like 'p,q=1,2' would fail because the automagic
|
|
1981
|
system would be triggered for @p.
|
|
1996
|
system would be triggered for @p.
|
|
1982
|
|
|
1997
|
|
|
1983
|
* IPython/DPyGetOpt.py (DPyGetOpt.processArguments): Tab-related
|
|
1998
|
* IPython/DPyGetOpt.py (DPyGetOpt.processArguments): Tab-related
|
|
1984
|
cleanups, code unmodified.
|
|
1999
|
cleanups, code unmodified.
|
|
1985
|
|
|
2000
|
|
|
1986
|
* IPython/genutils.py (Term): added a class for IPython to handle
|
|
2001
|
* IPython/genutils.py (Term): added a class for IPython to handle
|
|
1987
|
output. In most cases it will just be a proxy for stdout/err, but
|
|
2002
|
output. In most cases it will just be a proxy for stdout/err, but
|
|
1988
|
having this allows modifications to be made for some platforms,
|
|
2003
|
having this allows modifications to be made for some platforms,
|
|
1989
|
such as handling color escapes under Windows. All of this code
|
|
2004
|
such as handling color escapes under Windows. All of this code
|
|
1990
|
was contributed by Gary Bishop, with minor modifications by me.
|
|
2005
|
was contributed by Gary Bishop, with minor modifications by me.
|
|
1991
|
The actual changes affect many files.
|
|
2006
|
The actual changes affect many files.
|
|
1992
|
|
|
2007
|
|
|
1993
|
2003-11-30 Fernando Perez <fperez@colorado.edu>
|
|
2008
|
2003-11-30 Fernando Perez <fperez@colorado.edu>
|
|
1994
|
|
|
2009
|
|
|
1995
|
* IPython/iplib.py (file_matches): new completion code, courtesy
|
|
2010
|
* IPython/iplib.py (file_matches): new completion code, courtesy
|
|
1996
|
of Jeff Collins. This enables filename completion again under
|
|
2011
|
of Jeff Collins. This enables filename completion again under
|
|
1997
|
python 2.3, which disabled it at the C level.
|
|
2012
|
python 2.3, which disabled it at the C level.
|
|
1998
|
|
|
2013
|
|
|
1999
|
2003-11-11 Fernando Perez <fperez@colorado.edu>
|
|
2014
|
2003-11-11 Fernando Perez <fperez@colorado.edu>
|
|
2000
|
|
|
2015
|
|
|
2001
|
* IPython/numutils.py (amap): Added amap() fn. Simple shorthand
|
|
2016
|
* IPython/numutils.py (amap): Added amap() fn. Simple shorthand
|
|
2002
|
for Numeric.array(map(...)), but often convenient.
|
|
2017
|
for Numeric.array(map(...)), but often convenient.
|
|
2003
|
|
|
2018
|
|
|
2004
|
2003-11-05 Fernando Perez <fperez@colorado.edu>
|
|
2019
|
2003-11-05 Fernando Perez <fperez@colorado.edu>
|
|
2005
|
|
|
2020
|
|
|
2006
|
* IPython/numutils.py (frange): Changed a call from int() to
|
|
2021
|
* IPython/numutils.py (frange): Changed a call from int() to
|
|
2007
|
int(round()) to prevent a problem reported with arange() in the
|
|
2022
|
int(round()) to prevent a problem reported with arange() in the
|
|
2008
|
numpy list.
|
|
2023
|
numpy list.
|
|
2009
|
|
|
2024
|
|
|
2010
|
2003-10-06 Fernando Perez <fperez@colorado.edu>
|
|
2025
|
2003-10-06 Fernando Perez <fperez@colorado.edu>
|
|
2011
|
|
|
2026
|
|
|
2012
|
* IPython/DPyGetOpt.py (DPyGetOpt.processArguments): changed to
|
|
2027
|
* IPython/DPyGetOpt.py (DPyGetOpt.processArguments): changed to
|
|
2013
|
prevent crashes if sys lacks an argv attribute (it happens with
|
|
2028
|
prevent crashes if sys lacks an argv attribute (it happens with
|
|
2014
|
embedded interpreters which build a bare-bones sys module).
|
|
2029
|
embedded interpreters which build a bare-bones sys module).
|
|
2015
|
Thanks to a report/bugfix by Adam Hupp <hupp-AT-cs.wisc.edu>.
|
|
2030
|
Thanks to a report/bugfix by Adam Hupp <hupp-AT-cs.wisc.edu>.
|
|
2016
|
|
|
2031
|
|
|
2017
|
2003-09-24 Fernando Perez <fperez@colorado.edu>
|
|
2032
|
2003-09-24 Fernando Perez <fperez@colorado.edu>
|
|
2018
|
|
|
2033
|
|
|
2019
|
* IPython/Magic.py (Magic._ofind): blanket except around getattr()
|
|
2034
|
* IPython/Magic.py (Magic._ofind): blanket except around getattr()
|
|
2020
|
to protect against poorly written user objects where __getattr__
|
|
2035
|
to protect against poorly written user objects where __getattr__
|
|
2021
|
raises exceptions other than AttributeError. Thanks to a bug
|
|
2036
|
raises exceptions other than AttributeError. Thanks to a bug
|
|
2022
|
report by Oliver Sander <osander-AT-gmx.de>.
|
|
2037
|
report by Oliver Sander <osander-AT-gmx.de>.
|
|
2023
|
|
|
2038
|
|
|
2024
|
* IPython/FakeModule.py (FakeModule.__repr__): this method was
|
|
2039
|
* IPython/FakeModule.py (FakeModule.__repr__): this method was
|
|
2025
|
missing. Thanks to bug report by Ralf Schmitt <ralf-AT-brainbot.com>.
|
|
2040
|
missing. Thanks to bug report by Ralf Schmitt <ralf-AT-brainbot.com>.
|
|
2026
|
|
|
2041
|
|
|
2027
|
2003-09-09 Fernando Perez <fperez@colorado.edu>
|
|
2042
|
2003-09-09 Fernando Perez <fperez@colorado.edu>
|
|
2028
|
|
|
2043
|
|
|
2029
|
* IPython/iplib.py (InteractiveShell._prefilter): fix bug where
|
|
2044
|
* IPython/iplib.py (InteractiveShell._prefilter): fix bug where
|
|
2030
|
unpacking a list whith a callable as first element would
|
|
2045
|
unpacking a list whith a callable as first element would
|
|
2031
|
mistakenly trigger autocalling. Thanks to a bug report by Jeffery
|
|
2046
|
mistakenly trigger autocalling. Thanks to a bug report by Jeffery
|
|
2032
|
Collins.
|
|
2047
|
Collins.
|
|
2033
|
|
|
2048
|
|
|
2034
|
2003-08-25 *** Released version 0.5.0
|
|
2049
|
2003-08-25 *** Released version 0.5.0
|
|
2035
|
|
|
2050
|
|
|
2036
|
2003-08-22 Fernando Perez <fperez@colorado.edu>
|
|
2051
|
2003-08-22 Fernando Perez <fperez@colorado.edu>
|
|
2037
|
|
|
2052
|
|
|
2038
|
* IPython/ultraTB.py (VerboseTB.linereader): Improved handling of
|
|
2053
|
* IPython/ultraTB.py (VerboseTB.linereader): Improved handling of
|
|
2039
|
improperly defined user exceptions. Thanks to feedback from Mark
|
|
2054
|
improperly defined user exceptions. Thanks to feedback from Mark
|
|
2040
|
Russell <mrussell-AT-verio.net>.
|
|
2055
|
Russell <mrussell-AT-verio.net>.
|
|
2041
|
|
|
2056
|
|
|
2042
|
2003-08-20 Fernando Perez <fperez@colorado.edu>
|
|
2057
|
2003-08-20 Fernando Perez <fperez@colorado.edu>
|
|
2043
|
|
|
2058
|
|
|
2044
|
* IPython/OInspect.py (Inspector.pinfo): changed String Form
|
|
2059
|
* IPython/OInspect.py (Inspector.pinfo): changed String Form
|
|
2045
|
printing so that it would print multi-line string forms starting
|
|
2060
|
printing so that it would print multi-line string forms starting
|
|
2046
|
with a new line. This way the formatting is better respected for
|
|
2061
|
with a new line. This way the formatting is better respected for
|
|
2047
|
objects which work hard to make nice string forms.
|
|
2062
|
objects which work hard to make nice string forms.
|
|
2048
|
|
|
2063
|
|
|
2049
|
* IPython/iplib.py (InteractiveShell.handle_auto): Fix bug where
|
|
2064
|
* IPython/iplib.py (InteractiveShell.handle_auto): Fix bug where
|
|
2050
|
autocall would overtake data access for objects with both
|
|
2065
|
autocall would overtake data access for objects with both
|
|
2051
|
__getitem__ and __call__.
|
|
2066
|
__getitem__ and __call__.
|
|
2052
|
|
|
2067
|
|
|
2053
|
2003-08-19 *** Released version 0.5.0-rc1
|
|
2068
|
2003-08-19 *** Released version 0.5.0-rc1
|
|
2054
|
|
|
2069
|
|
|
2055
|
2003-08-19 Fernando Perez <fperez@colorado.edu>
|
|
2070
|
2003-08-19 Fernando Perez <fperez@colorado.edu>
|
|
2056
|
|
|
2071
|
|
|
2057
|
* IPython/deep_reload.py (load_tail): single tiny change here
|
|
2072
|
* IPython/deep_reload.py (load_tail): single tiny change here
|
|
2058
|
seems to fix the long-standing bug of dreload() failing to work
|
|
2073
|
seems to fix the long-standing bug of dreload() failing to work
|
|
2059
|
for dotted names. But this module is pretty tricky, so I may have
|
|
2074
|
for dotted names. But this module is pretty tricky, so I may have
|
|
2060
|
missed some subtlety. Needs more testing!.
|
|
2075
|
missed some subtlety. Needs more testing!.
|
|
2061
|
|
|
2076
|
|
|
2062
|
* IPython/ultraTB.py (VerboseTB.linereader): harden against user
|
|
2077
|
* IPython/ultraTB.py (VerboseTB.linereader): harden against user
|
|
2063
|
exceptions which have badly implemented __str__ methods.
|
|
2078
|
exceptions which have badly implemented __str__ methods.
|
|
2064
|
(VerboseTB.text): harden against inspect.getinnerframes crashing,
|
|
2079
|
(VerboseTB.text): harden against inspect.getinnerframes crashing,
|
|
2065
|
which I've been getting reports about from Python 2.3 users. I
|
|
2080
|
which I've been getting reports about from Python 2.3 users. I
|
|
2066
|
wish I had a simple test case to reproduce the problem, so I could
|
|
2081
|
wish I had a simple test case to reproduce the problem, so I could
|
|
2067
|
either write a cleaner workaround or file a bug report if
|
|
2082
|
either write a cleaner workaround or file a bug report if
|
|
2068
|
necessary.
|
|
2083
|
necessary.
|
|
2069
|
|
|
2084
|
|
|
2070
|
* IPython/Magic.py (Magic.magic_edit): fixed bug where after
|
|
2085
|
* IPython/Magic.py (Magic.magic_edit): fixed bug where after
|
|
2071
|
making a class 'foo', file 'foo.py' couldn't be edited. Thanks to
|
|
2086
|
making a class 'foo', file 'foo.py' couldn't be edited. Thanks to
|
|
2072
|
a bug report by Tjabo Kloppenburg.
|
|
2087
|
a bug report by Tjabo Kloppenburg.
|
|
2073
|
|
|
2088
|
|
|
2074
|
* IPython/ultraTB.py (VerboseTB.debugger): hardened against pdb
|
|
2089
|
* IPython/ultraTB.py (VerboseTB.debugger): hardened against pdb
|
|
2075
|
crashes. Wrapped the pdb call in a blanket try/except, since pdb
|
|
2090
|
crashes. Wrapped the pdb call in a blanket try/except, since pdb
|
|
2076
|
seems rather unstable. Thanks to a bug report by Tjabo
|
|
2091
|
seems rather unstable. Thanks to a bug report by Tjabo
|
|
2077
|
Kloppenburg <tjabo.kloppenburg-AT-unix-ag.uni-siegen.de>.
|
|
2092
|
Kloppenburg <tjabo.kloppenburg-AT-unix-ag.uni-siegen.de>.
|
|
2078
|
|
|
2093
|
|
|
2079
|
* IPython/Release.py (version): release 0.5.0-rc1. I want to put
|
|
2094
|
* IPython/Release.py (version): release 0.5.0-rc1. I want to put
|
|
2080
|
this out soon because of the critical fixes in the inner loop for
|
|
2095
|
this out soon because of the critical fixes in the inner loop for
|
|
2081
|
generators.
|
|
2096
|
generators.
|
|
2082
|
|
|
2097
|
|
|
2083
|
* IPython/Magic.py (Magic.getargspec): removed. This (and
|
|
2098
|
* IPython/Magic.py (Magic.getargspec): removed. This (and
|
|
2084
|
_get_def) have been obsoleted by OInspect for a long time, I
|
|
2099
|
_get_def) have been obsoleted by OInspect for a long time, I
|
|
2085
|
hadn't noticed that they were dead code.
|
|
2100
|
hadn't noticed that they were dead code.
|
|
2086
|
(Magic._ofind): restored _ofind functionality for a few literals
|
|
2101
|
(Magic._ofind): restored _ofind functionality for a few literals
|
|
2087
|
(those in ["''",'""','[]','{}','()']). But it won't work anymore
|
|
2102
|
(those in ["''",'""','[]','{}','()']). But it won't work anymore
|
|
2088
|
for things like "hello".capitalize?, since that would require a
|
|
2103
|
for things like "hello".capitalize?, since that would require a
|
|
2089
|
potentially dangerous eval() again.
|
|
2104
|
potentially dangerous eval() again.
|
|
2090
|
|
|
2105
|
|
|
2091
|
* IPython/iplib.py (InteractiveShell._prefilter): reorganized the
|
|
2106
|
* IPython/iplib.py (InteractiveShell._prefilter): reorganized the
|
|
2092
|
logic a bit more to clean up the escapes handling and minimize the
|
|
2107
|
logic a bit more to clean up the escapes handling and minimize the
|
|
2093
|
use of _ofind to only necessary cases. The interactive 'feel' of
|
|
2108
|
use of _ofind to only necessary cases. The interactive 'feel' of
|
|
2094
|
IPython should have improved quite a bit with the changes in
|
|
2109
|
IPython should have improved quite a bit with the changes in
|
|
2095
|
_prefilter and _ofind (besides being far safer than before).
|
|
2110
|
_prefilter and _ofind (besides being far safer than before).
|
|
2096
|
|
|
2111
|
|
|
2097
|
* IPython/Magic.py (Magic.magic_edit): Fixed old bug (but rather
|
|
2112
|
* IPython/Magic.py (Magic.magic_edit): Fixed old bug (but rather
|
|
2098
|
obscure, never reported). Edit would fail to find the object to
|
|
2113
|
obscure, never reported). Edit would fail to find the object to
|
|
2099
|
edit under some circumstances.
|
|
2114
|
edit under some circumstances.
|
|
2100
|
(Magic._ofind): CRITICAL FIX. Finally removed the eval() calls
|
|
2115
|
(Magic._ofind): CRITICAL FIX. Finally removed the eval() calls
|
|
2101
|
which were causing double-calling of generators. Those eval calls
|
|
2116
|
which were causing double-calling of generators. Those eval calls
|
|
2102
|
were _very_ dangerous, since code with side effects could be
|
|
2117
|
were _very_ dangerous, since code with side effects could be
|
|
2103
|
triggered. As they say, 'eval is evil'... These were the
|
|
2118
|
triggered. As they say, 'eval is evil'... These were the
|
|
2104
|
nastiest evals in IPython. Besides, _ofind is now far simpler,
|
|
2119
|
nastiest evals in IPython. Besides, _ofind is now far simpler,
|
|
2105
|
and it should also be quite a bit faster. Its use of inspect is
|
|
2120
|
and it should also be quite a bit faster. Its use of inspect is
|
|
2106
|
also safer, so perhaps some of the inspect-related crashes I've
|
|
2121
|
also safer, so perhaps some of the inspect-related crashes I've
|
|
2107
|
seen lately with Python 2.3 might be taken care of. That will
|
|
2122
|
seen lately with Python 2.3 might be taken care of. That will
|
|
2108
|
need more testing.
|
|
2123
|
need more testing.
|
|
2109
|
|
|
2124
|
|
|
2110
|
2003-08-17 Fernando Perez <fperez@colorado.edu>
|
|
2125
|
2003-08-17 Fernando Perez <fperez@colorado.edu>
|
|
2111
|
|
|
2126
|
|
|
2112
|
* IPython/iplib.py (InteractiveShell._prefilter): significant
|
|
2127
|
* IPython/iplib.py (InteractiveShell._prefilter): significant
|
|
2113
|
simplifications to the logic for handling user escapes. Faster
|
|
2128
|
simplifications to the logic for handling user escapes. Faster
|
|
2114
|
and simpler code.
|
|
2129
|
and simpler code.
|
|
2115
|
|
|
2130
|
|
|
2116
|
2003-08-14 Fernando Perez <fperez@colorado.edu>
|
|
2131
|
2003-08-14 Fernando Perez <fperez@colorado.edu>
|
|
2117
|
|
|
2132
|
|
|
2118
|
* IPython/numutils.py (sum_flat): rewrote to be non-recursive.
|
|
2133
|
* IPython/numutils.py (sum_flat): rewrote to be non-recursive.
|
|
2119
|
Now it requires O(N) storage (N=size(a)) for non-contiguous input,
|
|
2134
|
Now it requires O(N) storage (N=size(a)) for non-contiguous input,
|
|
2120
|
but it should be quite a bit faster. And the recursive version
|
|
2135
|
but it should be quite a bit faster. And the recursive version
|
|
2121
|
generated O(log N) intermediate storage for all rank>1 arrays,
|
|
2136
|
generated O(log N) intermediate storage for all rank>1 arrays,
|
|
2122
|
even if they were contiguous.
|
|
2137
|
even if they were contiguous.
|
|
2123
|
(l1norm): Added this function.
|
|
2138
|
(l1norm): Added this function.
|
|
2124
|
(norm): Added this function for arbitrary norms (including
|
|
2139
|
(norm): Added this function for arbitrary norms (including
|
|
2125
|
l-infinity). l1 and l2 are still special cases for convenience
|
|
2140
|
l-infinity). l1 and l2 are still special cases for convenience
|
|
2126
|
and speed.
|
|
2141
|
and speed.
|
|
2127
|
|
|
2142
|
|
|
2128
|
2003-08-03 Fernando Perez <fperez@colorado.edu>
|
|
2143
|
2003-08-03 Fernando Perez <fperez@colorado.edu>
|
|
2129
|
|
|
2144
|
|
|
2130
|
* IPython/Magic.py (Magic.magic_edit): Removed all remaining string
|
|
2145
|
* IPython/Magic.py (Magic.magic_edit): Removed all remaining string
|
|
2131
|
exceptions, which now raise PendingDeprecationWarnings in Python
|
|
2146
|
exceptions, which now raise PendingDeprecationWarnings in Python
|
|
2132
|
2.3. There were some in Magic and some in Gnuplot2.
|
|
2147
|
2.3. There were some in Magic and some in Gnuplot2.
|
|
2133
|
|
|
2148
|
|
|
2134
|
2003-06-30 Fernando Perez <fperez@colorado.edu>
|
|
2149
|
2003-06-30 Fernando Perez <fperez@colorado.edu>
|
|
2135
|
|
|
2150
|
|
|
2136
|
* IPython/genutils.py (page): modified to call curses only for
|
|
2151
|
* IPython/genutils.py (page): modified to call curses only for
|
|
2137
|
terminals where TERM=='xterm'. After problems under many other
|
|
2152
|
terminals where TERM=='xterm'. After problems under many other
|
|
2138
|
terminals were reported by Keith Beattie <KSBeattie-AT-lbl.gov>.
|
|
2153
|
terminals were reported by Keith Beattie <KSBeattie-AT-lbl.gov>.
|
|
2139
|
|
|
2154
|
|
|
2140
|
* IPython/iplib.py (complete): removed spurious 'print "IE"' which
|
|
2155
|
* IPython/iplib.py (complete): removed spurious 'print "IE"' which
|
|
2141
|
would be triggered when readline was absent. This was just an old
|
|
2156
|
would be triggered when readline was absent. This was just an old
|
|
2142
|
debugging statement I'd forgotten to take out.
|
|
2157
|
debugging statement I'd forgotten to take out.
|
|
2143
|
|
|
2158
|
|
|
2144
|
2003-06-20 Fernando Perez <fperez@colorado.edu>
|
|
2159
|
2003-06-20 Fernando Perez <fperez@colorado.edu>
|
|
2145
|
|
|
2160
|
|
|
2146
|
* IPython/genutils.py (clock): modified to return only user time
|
|
2161
|
* IPython/genutils.py (clock): modified to return only user time
|
|
2147
|
(not counting system time), after a discussion on scipy. While
|
|
2162
|
(not counting system time), after a discussion on scipy. While
|
|
2148
|
system time may be a useful quantity occasionally, it may much
|
|
2163
|
system time may be a useful quantity occasionally, it may much
|
|
2149
|
more easily be skewed by occasional swapping or other similar
|
|
2164
|
more easily be skewed by occasional swapping or other similar
|
|
2150
|
activity.
|
|
2165
|
activity.
|
|
2151
|
|
|
2166
|
|
|
2152
|
2003-06-05 Fernando Perez <fperez@colorado.edu>
|
|
2167
|
2003-06-05 Fernando Perez <fperez@colorado.edu>
|
|
2153
|
|
|
2168
|
|
|
2154
|
* IPython/numutils.py (identity): new function, for building
|
|
2169
|
* IPython/numutils.py (identity): new function, for building
|
|
2155
|
arbitrary rank Kronecker deltas (mostly backwards compatible with
|
|
2170
|
arbitrary rank Kronecker deltas (mostly backwards compatible with
|
|
2156
|
Numeric.identity)
|
|
2171
|
Numeric.identity)
|
|
2157
|
|
|
2172
|
|
|
2158
|
2003-06-03 Fernando Perez <fperez@colorado.edu>
|
|
2173
|
2003-06-03 Fernando Perez <fperez@colorado.edu>
|
|
2159
|
|
|
2174
|
|
|
2160
|
* IPython/iplib.py (InteractiveShell.handle_magic): protect
|
|
2175
|
* IPython/iplib.py (InteractiveShell.handle_magic): protect
|
|
2161
|
arguments passed to magics with spaces, to allow trailing '\' to
|
|
2176
|
arguments passed to magics with spaces, to allow trailing '\' to
|
|
2162
|
work normally (mainly for Windows users).
|
|
2177
|
work normally (mainly for Windows users).
|
|
2163
|
|
|
2178
|
|
|
2164
|
2003-05-29 Fernando Perez <fperez@colorado.edu>
|
|
2179
|
2003-05-29 Fernando Perez <fperez@colorado.edu>
|
|
2165
|
|
|
2180
|
|
|
2166
|
* IPython/ipmaker.py (make_IPython): Load site._Helper() as help
|
|
2181
|
* IPython/ipmaker.py (make_IPython): Load site._Helper() as help
|
|
2167
|
instead of pydoc.help. This fixes a bizarre behavior where
|
|
2182
|
instead of pydoc.help. This fixes a bizarre behavior where
|
|
2168
|
printing '%s' % locals() would trigger the help system. Now
|
|
2183
|
printing '%s' % locals() would trigger the help system. Now
|
|
2169
|
ipython behaves like normal python does.
|
|
2184
|
ipython behaves like normal python does.
|
|
2170
|
|
|
2185
|
|
|
2171
|
Note that if one does 'from pydoc import help', the bizarre
|
|
2186
|
Note that if one does 'from pydoc import help', the bizarre
|
|
2172
|
behavior returns, but this will also happen in normal python, so
|
|
2187
|
behavior returns, but this will also happen in normal python, so
|
|
2173
|
it's not an ipython bug anymore (it has to do with how pydoc.help
|
|
2188
|
it's not an ipython bug anymore (it has to do with how pydoc.help
|
|
2174
|
is implemented).
|
|
2189
|
is implemented).
|
|
2175
|
|
|
2190
|
|
|
2176
|
2003-05-22 Fernando Perez <fperez@colorado.edu>
|
|
2191
|
2003-05-22 Fernando Perez <fperez@colorado.edu>
|
|
2177
|
|
|
2192
|
|
|
2178
|
* IPython/FlexCompleter.py (Completer.attr_matches): fixed to
|
|
2193
|
* IPython/FlexCompleter.py (Completer.attr_matches): fixed to
|
|
2179
|
return [] instead of None when nothing matches, also match to end
|
|
2194
|
return [] instead of None when nothing matches, also match to end
|
|
2180
|
of line. Patch by Gary Bishop.
|
|
2195
|
of line. Patch by Gary Bishop.
|
|
2181
|
|
|
2196
|
|
|
2182
|
* IPython/ipmaker.py (make_IPython): Added same sys.excepthook
|
|
2197
|
* IPython/ipmaker.py (make_IPython): Added same sys.excepthook
|
|
2183
|
protection as before, for files passed on the command line. This
|
|
2198
|
protection as before, for files passed on the command line. This
|
|
2184
|
prevents the CrashHandler from kicking in if user files call into
|
|
2199
|
prevents the CrashHandler from kicking in if user files call into
|
|
2185
|
sys.excepthook (such as PyQt and WxWindows have a nasty habit of
|
|
2200
|
sys.excepthook (such as PyQt and WxWindows have a nasty habit of
|
|
2186
|
doing). After a report by Kasper Souren <Kasper.Souren-AT-ircam.fr>
|
|
2201
|
doing). After a report by Kasper Souren <Kasper.Souren-AT-ircam.fr>
|
|
2187
|
|
|
2202
|
|
|
2188
|
2003-05-20 *** Released version 0.4.0
|
|
2203
|
2003-05-20 *** Released version 0.4.0
|
|
2189
|
|
|
2204
|
|
|
2190
|
2003-05-20 Fernando Perez <fperez@colorado.edu>
|
|
2205
|
2003-05-20 Fernando Perez <fperez@colorado.edu>
|
|
2191
|
|
|
2206
|
|
|
2192
|
* setup.py: added support for manpages. It's a bit hackish b/c of
|
|
2207
|
* setup.py: added support for manpages. It's a bit hackish b/c of
|
|
2193
|
a bug in the way the bdist_rpm distutils target handles gzipped
|
|
2208
|
a bug in the way the bdist_rpm distutils target handles gzipped
|
|
2194
|
manpages, but it works. After a patch by Jack.
|
|
2209
|
manpages, but it works. After a patch by Jack.
|
|
2195
|
|
|
2210
|
|
|
2196
|
2003-05-19 Fernando Perez <fperez@colorado.edu>
|
|
2211
|
2003-05-19 Fernando Perez <fperez@colorado.edu>
|
|
2197
|
|
|
2212
|
|
|
2198
|
* IPython/numutils.py: added a mockup of the kinds module, since
|
|
2213
|
* IPython/numutils.py: added a mockup of the kinds module, since
|
|
2199
|
it was recently removed from Numeric. This way, numutils will
|
|
2214
|
it was recently removed from Numeric. This way, numutils will
|
|
2200
|
work for all users even if they are missing kinds.
|
|
2215
|
work for all users even if they are missing kinds.
|
|
2201
|
|
|
2216
|
|
|
2202
|
* IPython/Magic.py (Magic._ofind): Harden against an inspect
|
|
2217
|
* IPython/Magic.py (Magic._ofind): Harden against an inspect
|
|
2203
|
failure, which can occur with SWIG-wrapped extensions. After a
|
|
2218
|
failure, which can occur with SWIG-wrapped extensions. After a
|
|
2204
|
crash report from Prabhu.
|
|
2219
|
crash report from Prabhu.
|
|
2205
|
|
|
2220
|
|
|
2206
|
2003-05-16 Fernando Perez <fperez@colorado.edu>
|
|
2221
|
2003-05-16 Fernando Perez <fperez@colorado.edu>
|
|
2207
|
|
|
2222
|
|
|
2208
|
* IPython/iplib.py (InteractiveShell.excepthook): New method to
|
|
2223
|
* IPython/iplib.py (InteractiveShell.excepthook): New method to
|
|
2209
|
protect ipython from user code which may call directly
|
|
2224
|
protect ipython from user code which may call directly
|
|
2210
|
sys.excepthook (this looks like an ipython crash to the user, even
|
|
2225
|
sys.excepthook (this looks like an ipython crash to the user, even
|
|
2211
|
when it isn't). After a patch by Gary Bishop <gb-AT-cs.unc.edu>.
|
|
2226
|
when it isn't). After a patch by Gary Bishop <gb-AT-cs.unc.edu>.
|
|
2212
|
This is especially important to help users of WxWindows, but may
|
|
2227
|
This is especially important to help users of WxWindows, but may
|
|
2213
|
also be useful in other cases.
|
|
2228
|
also be useful in other cases.
|
|
2214
|
|
|
2229
|
|
|
2215
|
* IPython/ultraTB.py (AutoFormattedTB.__call__): Changed to allow
|
|
2230
|
* IPython/ultraTB.py (AutoFormattedTB.__call__): Changed to allow
|
|
2216
|
an optional tb_offset to be specified, and to preserve exception
|
|
2231
|
an optional tb_offset to be specified, and to preserve exception
|
|
2217
|
info if given. After a patch by Gary Bishop <gb-AT-cs.unc.edu>.
|
|
2232
|
info if given. After a patch by Gary Bishop <gb-AT-cs.unc.edu>.
|
|
2218
|
|
|
2233
|
|
|
2219
|
* ipython.1 (Default): Thanks to Jack's work, we now have manpages!
|
|
2234
|
* ipython.1 (Default): Thanks to Jack's work, we now have manpages!
|
|
2220
|
|
|
2235
|
|
|
2221
|
2003-05-15 Fernando Perez <fperez@colorado.edu>
|
|
2236
|
2003-05-15 Fernando Perez <fperez@colorado.edu>
|
|
2222
|
|
|
2237
|
|
|
2223
|
* IPython/iplib.py (InteractiveShell.user_setup): Fix crash when
|
|
2238
|
* IPython/iplib.py (InteractiveShell.user_setup): Fix crash when
|
|
2224
|
installing for a new user under Windows.
|
|
2239
|
installing for a new user under Windows.
|
|
2225
|
|
|
2240
|
|
|
2226
|
2003-05-12 Fernando Perez <fperez@colorado.edu>
|
|
2241
|
2003-05-12 Fernando Perez <fperez@colorado.edu>
|
|
2227
|
|
|
2242
|
|
|
2228
|
* IPython/iplib.py (InteractiveShell.handle_emacs): New line
|
|
2243
|
* IPython/iplib.py (InteractiveShell.handle_emacs): New line
|
|
2229
|
handler for Emacs comint-based lines. Currently it doesn't do
|
|
2244
|
handler for Emacs comint-based lines. Currently it doesn't do
|
|
2230
|
much (but importantly, it doesn't update the history cache). In
|
|
2245
|
much (but importantly, it doesn't update the history cache). In
|
|
2231
|
the future it may be expanded if Alex needs more functionality
|
|
2246
|
the future it may be expanded if Alex needs more functionality
|
|
2232
|
there.
|
|
2247
|
there.
|
|
2233
|
|
|
2248
|
|
|
2234
|
* IPython/CrashHandler.py (CrashHandler.__call__): Added platform
|
|
2249
|
* IPython/CrashHandler.py (CrashHandler.__call__): Added platform
|
|
2235
|
info to crash reports.
|
|
2250
|
info to crash reports.
|
|
2236
|
|
|
2251
|
|
|
2237
|
* IPython/iplib.py (InteractiveShell.mainloop): Added -c option,
|
|
2252
|
* IPython/iplib.py (InteractiveShell.mainloop): Added -c option,
|
|
2238
|
just like Python's -c. Also fixed crash with invalid -color
|
|
2253
|
just like Python's -c. Also fixed crash with invalid -color
|
|
2239
|
option value at startup. Thanks to Will French
|
|
2254
|
option value at startup. Thanks to Will French
|
|
2240
|
<wfrench-AT-bestweb.net> for the bug report.
|
|
2255
|
<wfrench-AT-bestweb.net> for the bug report.
|
|
2241
|
|
|
2256
|
|
|
2242
|
2003-05-09 Fernando Perez <fperez@colorado.edu>
|
|
2257
|
2003-05-09 Fernando Perez <fperez@colorado.edu>
|
|
2243
|
|
|
2258
|
|
|
2244
|
* IPython/genutils.py (EvalDict.__getitem__): Renamed EvalString
|
|
2259
|
* IPython/genutils.py (EvalDict.__getitem__): Renamed EvalString
|
|
2245
|
to EvalDict (it's a mapping, after all) and simplified its code
|
|
2260
|
to EvalDict (it's a mapping, after all) and simplified its code
|
|
2246
|
quite a bit, after a nice discussion on c.l.py where Gustavo
|
|
2261
|
quite a bit, after a nice discussion on c.l.py where Gustavo
|
|
2247
|
Córdova <gcordova-AT-sismex.com> suggested the new version.
|
|
2262
|
Córdova <gcordova-AT-sismex.com> suggested the new version.
|
|
2248
|
|
|
2263
|
|
|
2249
|
2003-04-30 Fernando Perez <fperez@colorado.edu>
|
|
2264
|
2003-04-30 Fernando Perez <fperez@colorado.edu>
|
|
2250
|
|
|
2265
|
|
|
2251
|
* IPython/genutils.py (timings_out): modified it to reduce its
|
|
2266
|
* IPython/genutils.py (timings_out): modified it to reduce its
|
|
2252
|
overhead in the common reps==1 case.
|
|
2267
|
overhead in the common reps==1 case.
|
|
2253
|
|
|
2268
|
|
|
2254
|
2003-04-29 Fernando Perez <fperez@colorado.edu>
|
|
2269
|
2003-04-29 Fernando Perez <fperez@colorado.edu>
|
|
2255
|
|
|
2270
|
|
|
2256
|
* IPython/genutils.py (timings_out): Modified to use the resource
|
|
2271
|
* IPython/genutils.py (timings_out): Modified to use the resource
|
|
2257
|
module, which avoids the wraparound problems of time.clock().
|
|
2272
|
module, which avoids the wraparound problems of time.clock().
|
|
2258
|
|
|
2273
|
|
|
2259
|
2003-04-17 *** Released version 0.2.15pre4
|
|
2274
|
2003-04-17 *** Released version 0.2.15pre4
|
|
2260
|
|
|
2275
|
|
|
2261
|
2003-04-17 Fernando Perez <fperez@colorado.edu>
|
|
2276
|
2003-04-17 Fernando Perez <fperez@colorado.edu>
|
|
2262
|
|
|
2277
|
|
|
2263
|
* setup.py (scriptfiles): Split windows-specific stuff over to a
|
|
2278
|
* setup.py (scriptfiles): Split windows-specific stuff over to a
|
|
2264
|
separate file, in an attempt to have a Windows GUI installer.
|
|
2279
|
separate file, in an attempt to have a Windows GUI installer.
|
|
2265
|
That didn't work, but part of the groundwork is done.
|
|
2280
|
That didn't work, but part of the groundwork is done.
|
|
2266
|
|
|
2281
|
|
|
2267
|
* IPython/UserConfig/ipythonrc: Added M-i, M-o and M-I for
|
|
2282
|
* IPython/UserConfig/ipythonrc: Added M-i, M-o and M-I for
|
|
2268
|
indent/unindent with 4 spaces. Particularly useful in combination
|
|
2283
|
indent/unindent with 4 spaces. Particularly useful in combination
|
|
2269
|
with the new auto-indent option.
|
|
2284
|
with the new auto-indent option.
|
|
2270
|
|
|
2285
|
|
|
2271
|
2003-04-16 Fernando Perez <fperez@colorado.edu>
|
|
2286
|
2003-04-16 Fernando Perez <fperez@colorado.edu>
|
|
2272
|
|
|
2287
|
|
|
2273
|
* IPython/Magic.py: various replacements of self.rc for
|
|
2288
|
* IPython/Magic.py: various replacements of self.rc for
|
|
2274
|
self.shell.rc. A lot more remains to be done to fully disentangle
|
|
2289
|
self.shell.rc. A lot more remains to be done to fully disentangle
|
|
2275
|
this class from the main Shell class.
|
|
2290
|
this class from the main Shell class.
|
|
2276
|
|
|
2291
|
|
|
2277
|
* IPython/GnuplotRuntime.py: added checks for mouse support so
|
|
2292
|
* IPython/GnuplotRuntime.py: added checks for mouse support so
|
|
2278
|
that we don't try to enable it if the current gnuplot doesn't
|
|
2293
|
that we don't try to enable it if the current gnuplot doesn't
|
|
2279
|
really support it. Also added checks so that we don't try to
|
|
2294
|
really support it. Also added checks so that we don't try to
|
|
2280
|
enable persist under Windows (where Gnuplot doesn't recognize the
|
|
2295
|
enable persist under Windows (where Gnuplot doesn't recognize the
|
|
2281
|
option).
|
|
2296
|
option).
|
|
2282
|
|
|
2297
|
|
|
2283
|
* IPython/iplib.py (InteractiveShell.interact): Added optional
|
|
2298
|
* IPython/iplib.py (InteractiveShell.interact): Added optional
|
|
2284
|
auto-indenting code, after a patch by King C. Shu
|
|
2299
|
auto-indenting code, after a patch by King C. Shu
|
|
2285
|
<kingshu-AT-myrealbox.com>. It's off by default because it doesn't
|
|
2300
|
<kingshu-AT-myrealbox.com>. It's off by default because it doesn't
|
|
2286
|
get along well with pasting indented code. If I ever figure out
|
|
2301
|
get along well with pasting indented code. If I ever figure out
|
|
2287
|
how to make that part go well, it will become on by default.
|
|
2302
|
how to make that part go well, it will become on by default.
|
|
2288
|
|
|
2303
|
|
|
2289
|
* IPython/Prompts.py (Prompt1.auto_rewrite): Fixed bug which would
|
|
2304
|
* IPython/Prompts.py (Prompt1.auto_rewrite): Fixed bug which would
|
|
2290
|
crash ipython if there was an unmatched '%' in the user's prompt
|
|
2305
|
crash ipython if there was an unmatched '%' in the user's prompt
|
|
2291
|
string. Reported by Thorsten Kampe <thorsten-AT-thorstenkampe.de>.
|
|
2306
|
string. Reported by Thorsten Kampe <thorsten-AT-thorstenkampe.de>.
|
|
2292
|
|
|
2307
|
|
|
2293
|
* IPython/iplib.py (InteractiveShell.interact): removed the
|
|
2308
|
* IPython/iplib.py (InteractiveShell.interact): removed the
|
|
2294
|
ability to ask the user whether he wants to crash or not at the
|
|
2309
|
ability to ask the user whether he wants to crash or not at the
|
|
2295
|
'last line' exception handler. Calling functions at that point
|
|
2310
|
'last line' exception handler. Calling functions at that point
|
|
2296
|
changes the stack, and the error reports would have incorrect
|
|
2311
|
changes the stack, and the error reports would have incorrect
|
|
2297
|
tracebacks.
|
|
2312
|
tracebacks.
|
|
2298
|
|
|
2313
|
|
|
2299
|
* IPython/Magic.py (Magic.magic_page): Added new @page magic, to
|
|
2314
|
* IPython/Magic.py (Magic.magic_page): Added new @page magic, to
|
|
2300
|
pass through a peger a pretty-printed form of any object. After a
|
|
2315
|
pass through a peger a pretty-printed form of any object. After a
|
|
2301
|
contribution by Olivier Aubert <oaubert-AT-bat710.univ-lyon1.fr>
|
|
2316
|
contribution by Olivier Aubert <oaubert-AT-bat710.univ-lyon1.fr>
|
|
2302
|
|
|
2317
|
|
|
2303
|
2003-04-14 Fernando Perez <fperez@colorado.edu>
|
|
2318
|
2003-04-14 Fernando Perez <fperez@colorado.edu>
|
|
2304
|
|
|
2319
|
|
|
2305
|
* IPython/iplib.py (InteractiveShell.user_setup): Fixed bug where
|
|
2320
|
* IPython/iplib.py (InteractiveShell.user_setup): Fixed bug where
|
|
2306
|
all files in ~ would be modified at first install (instead of
|
|
2321
|
all files in ~ would be modified at first install (instead of
|
|
2307
|
~/.ipython). This could be potentially disastrous, as the
|
|
2322
|
~/.ipython). This could be potentially disastrous, as the
|
|
2308
|
modification (make line-endings native) could damage binary files.
|
|
2323
|
modification (make line-endings native) could damage binary files.
|
|
2309
|
|
|
2324
|
|
|
2310
|
2003-04-10 Fernando Perez <fperez@colorado.edu>
|
|
2325
|
2003-04-10 Fernando Perez <fperez@colorado.edu>
|
|
2311
|
|
|
2326
|
|
|
2312
|
* IPython/iplib.py (InteractiveShell.handle_help): Modified to
|
|
2327
|
* IPython/iplib.py (InteractiveShell.handle_help): Modified to
|
|
2313
|
handle only lines which are invalid python. This now means that
|
|
2328
|
handle only lines which are invalid python. This now means that
|
|
2314
|
lines like 'x=1 #?' execute properly. Thanks to Jeffery Collins
|
|
2329
|
lines like 'x=1 #?' execute properly. Thanks to Jeffery Collins
|
|
2315
|
for the bug report.
|
|
2330
|
for the bug report.
|
|
2316
|
|
|
2331
|
|
|
2317
|
2003-04-01 Fernando Perez <fperez@colorado.edu>
|
|
2332
|
2003-04-01 Fernando Perez <fperez@colorado.edu>
|
|
2318
|
|
|
2333
|
|
|
2319
|
* IPython/iplib.py (InteractiveShell.showtraceback): Fixed bug
|
|
2334
|
* IPython/iplib.py (InteractiveShell.showtraceback): Fixed bug
|
|
2320
|
where failing to set sys.last_traceback would crash pdb.pm().
|
|
2335
|
where failing to set sys.last_traceback would crash pdb.pm().
|
|
2321
|
Thanks to Jeffery D. Collins <Jeff.Collins-AT-vexcel.com> for the bug
|
|
2336
|
Thanks to Jeffery D. Collins <Jeff.Collins-AT-vexcel.com> for the bug
|
|
2322
|
report.
|
|
2337
|
report.
|
|
2323
|
|
|
2338
|
|
|
2324
|
2003-03-25 Fernando Perez <fperez@colorado.edu>
|
|
2339
|
2003-03-25 Fernando Perez <fperez@colorado.edu>
|
|
2325
|
|
|
2340
|
|
|
2326
|
* IPython/Magic.py (Magic.magic_prun): rstrip() output of profiler
|
|
2341
|
* IPython/Magic.py (Magic.magic_prun): rstrip() output of profiler
|
|
2327
|
before printing it (it had a lot of spurious blank lines at the
|
|
2342
|
before printing it (it had a lot of spurious blank lines at the
|
|
2328
|
end).
|
|
2343
|
end).
|
|
2329
|
|
|
2344
|
|
|
2330
|
* IPython/Gnuplot2.py (Gnuplot.hardcopy): fixed bug where lpr
|
|
2345
|
* IPython/Gnuplot2.py (Gnuplot.hardcopy): fixed bug where lpr
|
|
2331
|
output would be sent 21 times! Obviously people don't use this
|
|
2346
|
output would be sent 21 times! Obviously people don't use this
|
|
2332
|
too often, or I would have heard about it.
|
|
2347
|
too often, or I would have heard about it.
|
|
2333
|
|
|
2348
|
|
|
2334
|
2003-03-24 Fernando Perez <fperez@colorado.edu>
|
|
2349
|
2003-03-24 Fernando Perez <fperez@colorado.edu>
|
|
2335
|
|
|
2350
|
|
|
2336
|
* setup.py (scriptfiles): renamed the data_files parameter from
|
|
2351
|
* setup.py (scriptfiles): renamed the data_files parameter from
|
|
2337
|
'base' to 'data' to fix rpm build issues. Thanks to Ralf Ahlbrink
|
|
2352
|
'base' to 'data' to fix rpm build issues. Thanks to Ralf Ahlbrink
|
|
2338
|
for the patch.
|
|
2353
|
for the patch.
|
|
2339
|
|
|
2354
|
|
|
2340
|
2003-03-20 Fernando Perez <fperez@colorado.edu>
|
|
2355
|
2003-03-20 Fernando Perez <fperez@colorado.edu>
|
|
2341
|
|
|
2356
|
|
|
2342
|
* IPython/genutils.py (error): added error() and fatal()
|
|
2357
|
* IPython/genutils.py (error): added error() and fatal()
|
|
2343
|
functions.
|
|
2358
|
functions.
|
|
2344
|
|
|
2359
|
|
|
2345
|
2003-03-18 *** Released version 0.2.15pre3
|
|
2360
|
2003-03-18 *** Released version 0.2.15pre3
|
|
2346
|
|
|
2361
|
|
|
2347
|
2003-03-18 Fernando Perez <fperez@colorado.edu>
|
|
2362
|
2003-03-18 Fernando Perez <fperez@colorado.edu>
|
|
2348
|
|
|
2363
|
|
|
2349
|
* setupext/install_data_ext.py
|
|
2364
|
* setupext/install_data_ext.py
|
|
2350
|
(install_data_ext.initialize_options): Class contributed by Jack
|
|
2365
|
(install_data_ext.initialize_options): Class contributed by Jack
|
|
2351
|
Moffit for fixing the old distutils hack. He is sending this to
|
|
2366
|
Moffit for fixing the old distutils hack. He is sending this to
|
|
2352
|
the distutils folks so in the future we may not need it as a
|
|
2367
|
the distutils folks so in the future we may not need it as a
|
|
2353
|
private fix.
|
|
2368
|
private fix.
|
|
2354
|
|
|
2369
|
|
|
2355
|
* MANIFEST.in: Extensive reorganization, based on Jack Moffit's
|
|
2370
|
* MANIFEST.in: Extensive reorganization, based on Jack Moffit's
|
|
2356
|
changes for Debian packaging. See his patch for full details.
|
|
2371
|
changes for Debian packaging. See his patch for full details.
|
|
2357
|
The old distutils hack of making the ipythonrc* files carry a
|
|
2372
|
The old distutils hack of making the ipythonrc* files carry a
|
|
2358
|
bogus .py extension is gone, at last. Examples were moved to a
|
|
2373
|
bogus .py extension is gone, at last. Examples were moved to a
|
|
2359
|
separate subdir under doc/, and the separate executable scripts
|
|
2374
|
separate subdir under doc/, and the separate executable scripts
|
|
2360
|
now live in their own directory. Overall a great cleanup. The
|
|
2375
|
now live in their own directory. Overall a great cleanup. The
|
|
2361
|
manual was updated to use the new files, and setup.py has been
|
|
2376
|
manual was updated to use the new files, and setup.py has been
|
|
2362
|
fixed for this setup.
|
|
2377
|
fixed for this setup.
|
|
2363
|
|
|
2378
|
|
|
2364
|
* IPython/PyColorize.py (Parser.usage): made non-executable and
|
|
2379
|
* IPython/PyColorize.py (Parser.usage): made non-executable and
|
|
2365
|
created a pycolor wrapper around it to be included as a script.
|
|
2380
|
created a pycolor wrapper around it to be included as a script.
|
|
2366
|
|
|
2381
|
|
|
2367
|
2003-03-12 *** Released version 0.2.15pre2
|
|
2382
|
2003-03-12 *** Released version 0.2.15pre2
|
|
2368
|
|
|
2383
|
|
|
2369
|
2003-03-12 Fernando Perez <fperez@colorado.edu>
|
|
2384
|
2003-03-12 Fernando Perez <fperez@colorado.edu>
|
|
2370
|
|
|
2385
|
|
|
2371
|
* IPython/ColorANSI.py (make_color_table): Finally fixed the
|
|
2386
|
* IPython/ColorANSI.py (make_color_table): Finally fixed the
|
|
2372
|
long-standing problem with garbage characters in some terminals.
|
|
2387
|
long-standing problem with garbage characters in some terminals.
|
|
2373
|
The issue was really that the \001 and \002 escapes must _only_ be
|
|
2388
|
The issue was really that the \001 and \002 escapes must _only_ be
|
|
2374
|
passed to input prompts (which call readline), but _never_ to
|
|
2389
|
passed to input prompts (which call readline), but _never_ to
|
|
2375
|
normal text to be printed on screen. I changed ColorANSI to have
|
|
2390
|
normal text to be printed on screen. I changed ColorANSI to have
|
|
2376
|
two classes: TermColors and InputTermColors, each with the
|
|
2391
|
two classes: TermColors and InputTermColors, each with the
|
|
2377
|
appropriate escapes for input prompts or normal text. The code in
|
|
2392
|
appropriate escapes for input prompts or normal text. The code in
|
|
2378
|
Prompts.py got slightly more complicated, but this very old and
|
|
2393
|
Prompts.py got slightly more complicated, but this very old and
|
|
2379
|
annoying bug is finally fixed.
|
|
2394
|
annoying bug is finally fixed.
|
|
2380
|
|
|
2395
|
|
|
2381
|
All the credit for nailing down the real origin of this problem
|
|
2396
|
All the credit for nailing down the real origin of this problem
|
|
2382
|
and the correct solution goes to Jack Moffit <jack-AT-xiph.org>.
|
|
2397
|
and the correct solution goes to Jack Moffit <jack-AT-xiph.org>.
|
|
2383
|
*Many* thanks to him for spending quite a bit of effort on this.
|
|
2398
|
*Many* thanks to him for spending quite a bit of effort on this.
|
|
2384
|
|
|
2399
|
|
|
2385
|
2003-03-05 *** Released version 0.2.15pre1
|
|
2400
|
2003-03-05 *** Released version 0.2.15pre1
|
|
2386
|
|
|
2401
|
|
|
2387
|
2003-03-03 Fernando Perez <fperez@colorado.edu>
|
|
2402
|
2003-03-03 Fernando Perez <fperez@colorado.edu>
|
|
2388
|
|
|
2403
|
|
|
2389
|
* IPython/FakeModule.py: Moved the former _FakeModule to a
|
|
2404
|
* IPython/FakeModule.py: Moved the former _FakeModule to a
|
|
2390
|
separate file, because it's also needed by Magic (to fix a similar
|
|
2405
|
separate file, because it's also needed by Magic (to fix a similar
|
|
2391
|
pickle-related issue in @run).
|
|
2406
|
pickle-related issue in @run).
|
|
2392
|
|
|
2407
|
|
|
2393
|
2003-03-02 Fernando Perez <fperez@colorado.edu>
|
|
2408
|
2003-03-02 Fernando Perez <fperez@colorado.edu>
|
|
2394
|
|
|
2409
|
|
|
2395
|
* IPython/Magic.py (Magic.magic_autocall): new magic to control
|
|
2410
|
* IPython/Magic.py (Magic.magic_autocall): new magic to control
|
|
2396
|
the autocall option at runtime.
|
|
2411
|
the autocall option at runtime.
|
|
2397
|
(Magic.magic_dhist): changed self.user_ns to self.shell.user_ns
|
|
2412
|
(Magic.magic_dhist): changed self.user_ns to self.shell.user_ns
|
|
2398
|
across Magic.py to start separating Magic from InteractiveShell.
|
|
2413
|
across Magic.py to start separating Magic from InteractiveShell.
|
|
2399
|
(Magic._ofind): Fixed to return proper namespace for dotted
|
|
2414
|
(Magic._ofind): Fixed to return proper namespace for dotted
|
|
2400
|
names. Before, a dotted name would always return 'not currently
|
|
2415
|
names. Before, a dotted name would always return 'not currently
|
|
2401
|
defined', because it would find the 'parent'. s.x would be found,
|
|
2416
|
defined', because it would find the 'parent'. s.x would be found,
|
|
2402
|
but since 'x' isn't defined by itself, it would get confused.
|
|
2417
|
but since 'x' isn't defined by itself, it would get confused.
|
|
2403
|
(Magic.magic_run): Fixed pickling problems reported by Ralf
|
|
2418
|
(Magic.magic_run): Fixed pickling problems reported by Ralf
|
|
2404
|
Ahlbrink <RAhlbrink-AT-RosenInspection.net>. The fix was similar to
|
|
2419
|
Ahlbrink <RAhlbrink-AT-RosenInspection.net>. The fix was similar to
|
|
2405
|
that I'd used when Mike Heeter reported similar issues at the
|
|
2420
|
that I'd used when Mike Heeter reported similar issues at the
|
|
2406
|
top-level, but now for @run. It boils down to injecting the
|
|
2421
|
top-level, but now for @run. It boils down to injecting the
|
|
2407
|
namespace where code is being executed with something that looks
|
|
2422
|
namespace where code is being executed with something that looks
|
|
2408
|
enough like a module to fool pickle.dump(). Since a pickle stores
|
|
2423
|
enough like a module to fool pickle.dump(). Since a pickle stores
|
|
2409
|
a named reference to the importing module, we need this for
|
|
2424
|
a named reference to the importing module, we need this for
|
|
2410
|
pickles to save something sensible.
|
|
2425
|
pickles to save something sensible.
|
|
2411
|
|
|
2426
|
|
|
2412
|
* IPython/ipmaker.py (make_IPython): added an autocall option.
|
|
2427
|
* IPython/ipmaker.py (make_IPython): added an autocall option.
|
|
2413
|
|
|
2428
|
|
|
2414
|
* IPython/iplib.py (InteractiveShell._prefilter): reordered all of
|
|
2429
|
* IPython/iplib.py (InteractiveShell._prefilter): reordered all of
|
|
2415
|
the auto-eval code. Now autocalling is an option, and the code is
|
|
2430
|
the auto-eval code. Now autocalling is an option, and the code is
|
|
2416
|
also vastly safer. There is no more eval() involved at all.
|
|
2431
|
also vastly safer. There is no more eval() involved at all.
|
|
2417
|
|
|
2432
|
|
|
2418
|
2003-03-01 Fernando Perez <fperez@colorado.edu>
|
|
2433
|
2003-03-01 Fernando Perez <fperez@colorado.edu>
|
|
2419
|
|
|
2434
|
|
|
2420
|
* IPython/Magic.py (Magic._ofind): Changed interface to return a
|
|
2435
|
* IPython/Magic.py (Magic._ofind): Changed interface to return a
|
|
2421
|
dict with named keys instead of a tuple.
|
|
2436
|
dict with named keys instead of a tuple.
|
|
2422
|
|
|
2437
|
|
|
2423
|
* IPython: Started using CVS for IPython as of 0.2.15pre1.
|
|
2438
|
* IPython: Started using CVS for IPython as of 0.2.15pre1.
|
|
2424
|
|
|
2439
|
|
|
2425
|
* setup.py (make_shortcut): Fixed message about directories
|
|
2440
|
* setup.py (make_shortcut): Fixed message about directories
|
|
2426
|
created during Windows installation (the directories were ok, just
|
|
2441
|
created during Windows installation (the directories were ok, just
|
|
2427
|
the printed message was misleading). Thanks to Chris Liechti
|
|
2442
|
the printed message was misleading). Thanks to Chris Liechti
|
|
2428
|
<cliechti-AT-gmx.net> for the heads up.
|
|
2443
|
<cliechti-AT-gmx.net> for the heads up.
|
|
2429
|
|
|
2444
|
|
|
2430
|
2003-02-21 Fernando Perez <fperez@colorado.edu>
|
|
2445
|
2003-02-21 Fernando Perez <fperez@colorado.edu>
|
|
2431
|
|
|
2446
|
|
|
2432
|
* IPython/iplib.py (InteractiveShell._prefilter): Fixed catching
|
|
2447
|
* IPython/iplib.py (InteractiveShell._prefilter): Fixed catching
|
|
2433
|
of ValueError exception when checking for auto-execution. This
|
|
2448
|
of ValueError exception when checking for auto-execution. This
|
|
2434
|
one is raised by things like Numeric arrays arr.flat when the
|
|
2449
|
one is raised by things like Numeric arrays arr.flat when the
|
|
2435
|
array is non-contiguous.
|
|
2450
|
array is non-contiguous.
|
|
2436
|
|
|
2451
|
|
|
2437
|
2003-01-31 Fernando Perez <fperez@colorado.edu>
|
|
2452
|
2003-01-31 Fernando Perez <fperez@colorado.edu>
|
|
2438
|
|
|
2453
|
|
|
2439
|
* IPython/genutils.py (SystemExec.bq): Fixed bug where bq would
|
|
2454
|
* IPython/genutils.py (SystemExec.bq): Fixed bug where bq would
|
|
2440
|
not return any value at all (even though the command would get
|
|
2455
|
not return any value at all (even though the command would get
|
|
2441
|
executed).
|
|
2456
|
executed).
|
|
2442
|
(xsys): Flush stdout right after printing the command to ensure
|
|
2457
|
(xsys): Flush stdout right after printing the command to ensure
|
|
2443
|
proper ordering of commands and command output in the total
|
|
2458
|
proper ordering of commands and command output in the total
|
|
2444
|
output.
|
|
2459
|
output.
|
|
2445
|
(SystemExec/xsys/bq): Switched the names of xsys/bq and
|
|
2460
|
(SystemExec/xsys/bq): Switched the names of xsys/bq and
|
|
2446
|
system/getoutput as defaults. The old ones are kept for
|
|
2461
|
system/getoutput as defaults. The old ones are kept for
|
|
2447
|
compatibility reasons, so no code which uses this library needs
|
|
2462
|
compatibility reasons, so no code which uses this library needs
|
|
2448
|
changing.
|
|
2463
|
changing.
|
|
2449
|
|
|
2464
|
|
|
2450
|
2003-01-27 *** Released version 0.2.14
|
|
2465
|
2003-01-27 *** Released version 0.2.14
|
|
2451
|
|
|
2466
|
|
|
2452
|
2003-01-25 Fernando Perez <fperez@colorado.edu>
|
|
2467
|
2003-01-25 Fernando Perez <fperez@colorado.edu>
|
|
2453
|
|
|
2468
|
|
|
2454
|
* IPython/Magic.py (Magic.magic_edit): Fixed problem where
|
|
2469
|
* IPython/Magic.py (Magic.magic_edit): Fixed problem where
|
|
2455
|
functions defined in previous edit sessions could not be re-edited
|
|
2470
|
functions defined in previous edit sessions could not be re-edited
|
|
2456
|
(because the temp files were immediately removed). Now temp files
|
|
2471
|
(because the temp files were immediately removed). Now temp files
|
|
2457
|
are removed only at IPython's exit.
|
|
2472
|
are removed only at IPython's exit.
|
|
2458
|
(Magic.magic_run): Improved @run to perform shell-like expansions
|
|
2473
|
(Magic.magic_run): Improved @run to perform shell-like expansions
|
|
2459
|
on its arguments (~users and $VARS). With this, @run becomes more
|
|
2474
|
on its arguments (~users and $VARS). With this, @run becomes more
|
|
2460
|
like a normal command-line.
|
|
2475
|
like a normal command-line.
|
|
2461
|
|
|
2476
|
|
|
2462
|
* IPython/Shell.py (IPShellEmbed.__call__): Fixed a bunch of small
|
|
2477
|
* IPython/Shell.py (IPShellEmbed.__call__): Fixed a bunch of small
|
|
2463
|
bugs related to embedding and cleaned up that code. A fairly
|
|
2478
|
bugs related to embedding and cleaned up that code. A fairly
|
|
2464
|
important one was the impossibility to access the global namespace
|
|
2479
|
important one was the impossibility to access the global namespace
|
|
2465
|
through the embedded IPython (only local variables were visible).
|
|
2480
|
through the embedded IPython (only local variables were visible).
|
|
2466
|
|
|
2481
|
|
|
2467
|
2003-01-14 Fernando Perez <fperez@colorado.edu>
|
|
2482
|
2003-01-14 Fernando Perez <fperez@colorado.edu>
|
|
2468
|
|
|
2483
|
|
|
2469
|
* IPython/iplib.py (InteractiveShell._prefilter): Fixed
|
|
2484
|
* IPython/iplib.py (InteractiveShell._prefilter): Fixed
|
|
2470
|
auto-calling to be a bit more conservative. Now it doesn't get
|
|
2485
|
auto-calling to be a bit more conservative. Now it doesn't get
|
|
2471
|
triggered if any of '!=()<>' are in the rest of the input line, to
|
|
2486
|
triggered if any of '!=()<>' are in the rest of the input line, to
|
|
2472
|
allow comparing callables. Thanks to Alex for the heads up.
|
|
2487
|
allow comparing callables. Thanks to Alex for the heads up.
|
|
2473
|
|
|
2488
|
|
|
2474
|
2003-01-07 Fernando Perez <fperez@colorado.edu>
|
|
2489
|
2003-01-07 Fernando Perez <fperez@colorado.edu>
|
|
2475
|
|
|
2490
|
|
|
2476
|
* IPython/genutils.py (page): fixed estimation of the number of
|
|
2491
|
* IPython/genutils.py (page): fixed estimation of the number of
|
|
2477
|
lines in a string to be paged to simply count newlines. This
|
|
2492
|
lines in a string to be paged to simply count newlines. This
|
|
2478
|
prevents over-guessing due to embedded escape sequences. A better
|
|
2493
|
prevents over-guessing due to embedded escape sequences. A better
|
|
2479
|
long-term solution would involve stripping out the control chars
|
|
2494
|
long-term solution would involve stripping out the control chars
|
|
2480
|
for the count, but it's potentially so expensive I just don't
|
|
2495
|
for the count, but it's potentially so expensive I just don't
|
|
2481
|
think it's worth doing.
|
|
2496
|
think it's worth doing.
|
|
2482
|
|
|
2497
|
|
|
2483
|
2002-12-19 *** Released version 0.2.14pre50
|
|
2498
|
2002-12-19 *** Released version 0.2.14pre50
|
|
2484
|
|
|
2499
|
|
|
2485
|
2002-12-19 Fernando Perez <fperez@colorado.edu>
|
|
2500
|
2002-12-19 Fernando Perez <fperez@colorado.edu>
|
|
2486
|
|
|
2501
|
|
|
2487
|
* tools/release (version): Changed release scripts to inform
|
|
2502
|
* tools/release (version): Changed release scripts to inform
|
|
2488
|
Andrea and build a NEWS file with a list of recent changes.
|
|
2503
|
Andrea and build a NEWS file with a list of recent changes.
|
|
2489
|
|
|
2504
|
|
|
2490
|
* IPython/ColorANSI.py (__all__): changed terminal detection
|
|
2505
|
* IPython/ColorANSI.py (__all__): changed terminal detection
|
|
2491
|
code. Seems to work better for xterms without breaking
|
|
2506
|
code. Seems to work better for xterms without breaking
|
|
2492
|
konsole. Will need more testing to determine if WinXP and Mac OSX
|
|
2507
|
konsole. Will need more testing to determine if WinXP and Mac OSX
|
|
2493
|
also work ok.
|
|
2508
|
also work ok.
|
|
2494
|
|
|
2509
|
|
|
2495
|
2002-12-18 *** Released version 0.2.14pre49
|
|
2510
|
2002-12-18 *** Released version 0.2.14pre49
|
|
2496
|
|
|
2511
|
|
|
2497
|
2002-12-18 Fernando Perez <fperez@colorado.edu>
|
|
2512
|
2002-12-18 Fernando Perez <fperez@colorado.edu>
|
|
2498
|
|
|
2513
|
|
|
2499
|
* Docs: added new info about Mac OSX, from Andrea.
|
|
2514
|
* Docs: added new info about Mac OSX, from Andrea.
|
|
2500
|
|
|
2515
|
|
|
2501
|
* IPython/Gnuplot2.py (String): Added a String PlotItem class to
|
|
2516
|
* IPython/Gnuplot2.py (String): Added a String PlotItem class to
|
|
2502
|
allow direct plotting of python strings whose format is the same
|
|
2517
|
allow direct plotting of python strings whose format is the same
|
|
2503
|
of gnuplot data files.
|
|
2518
|
of gnuplot data files.
|
|
2504
|
|
|
2519
|
|
|
2505
|
2002-12-16 Fernando Perez <fperez@colorado.edu>
|
|
2520
|
2002-12-16 Fernando Perez <fperez@colorado.edu>
|
|
2506
|
|
|
2521
|
|
|
2507
|
* IPython/iplib.py (InteractiveShell.interact): fixed default (y)
|
|
2522
|
* IPython/iplib.py (InteractiveShell.interact): fixed default (y)
|
|
2508
|
value of exit question to be acknowledged.
|
|
2523
|
value of exit question to be acknowledged.
|
|
2509
|
|
|
2524
|
|
|
2510
|
2002-12-03 Fernando Perez <fperez@colorado.edu>
|
|
2525
|
2002-12-03 Fernando Perez <fperez@colorado.edu>
|
|
2511
|
|
|
2526
|
|
|
2512
|
* IPython/ipmaker.py: removed generators, which had been added
|
|
2527
|
* IPython/ipmaker.py: removed generators, which had been added
|
|
2513
|
by mistake in an earlier debugging run. This was causing trouble
|
|
2528
|
by mistake in an earlier debugging run. This was causing trouble
|
|
2514
|
to users of python 2.1.x. Thanks to Abel Daniel <abli-AT-freemail.hu>
|
|
2529
|
to users of python 2.1.x. Thanks to Abel Daniel <abli-AT-freemail.hu>
|
|
2515
|
for pointing this out.
|
|
2530
|
for pointing this out.
|
|
2516
|
|
|
2531
|
|
|
2517
|
2002-11-17 Fernando Perez <fperez@colorado.edu>
|
|
2532
|
2002-11-17 Fernando Perez <fperez@colorado.edu>
|
|
2518
|
|
|
2533
|
|
|
2519
|
* Manual: updated the Gnuplot section.
|
|
2534
|
* Manual: updated the Gnuplot section.
|
|
2520
|
|
|
2535
|
|
|
2521
|
* IPython/GnuplotRuntime.py: refactored a lot all this code, with
|
|
2536
|
* IPython/GnuplotRuntime.py: refactored a lot all this code, with
|
|
2522
|
a much better split of what goes in Runtime and what goes in
|
|
2537
|
a much better split of what goes in Runtime and what goes in
|
|
2523
|
Interactive.
|
|
2538
|
Interactive.
|
|
2524
|
|
|
2539
|
|
|
2525
|
* IPython/ipmaker.py: fixed bug where import_fail_info wasn't
|
|
2540
|
* IPython/ipmaker.py: fixed bug where import_fail_info wasn't
|
|
2526
|
being imported from iplib.
|
|
2541
|
being imported from iplib.
|
|
2527
|
|
|
2542
|
|
|
2528
|
* IPython/GnuplotInteractive.py (magic_gpc): renamed @gp to @gpc
|
|
2543
|
* IPython/GnuplotInteractive.py (magic_gpc): renamed @gp to @gpc
|
|
2529
|
for command-passing. Now the global Gnuplot instance is called
|
|
2544
|
for command-passing. Now the global Gnuplot instance is called
|
|
2530
|
'gp' instead of 'g', which was really a far too fragile and
|
|
2545
|
'gp' instead of 'g', which was really a far too fragile and
|
|
2531
|
common name.
|
|
2546
|
common name.
|
|
2532
|
|
|
2547
|
|
|
2533
|
* IPython/Gnuplot2.py (eps_fix_bbox): added this to fix broken
|
|
2548
|
* IPython/Gnuplot2.py (eps_fix_bbox): added this to fix broken
|
|
2534
|
bounding boxes generated by Gnuplot for square plots.
|
|
2549
|
bounding boxes generated by Gnuplot for square plots.
|
|
2535
|
|
|
2550
|
|
|
2536
|
* IPython/genutils.py (popkey): new function added. I should
|
|
2551
|
* IPython/genutils.py (popkey): new function added. I should
|
|
2537
|
suggest this on c.l.py as a dict method, it seems useful.
|
|
2552
|
suggest this on c.l.py as a dict method, it seems useful.
|
|
2538
|
|
|
2553
|
|
|
2539
|
* IPython/Gnuplot2.py (Gnuplot.plot): Overhauled plot and replot
|
|
2554
|
* IPython/Gnuplot2.py (Gnuplot.plot): Overhauled plot and replot
|
|
2540
|
to transparently handle PostScript generation. MUCH better than
|
|
2555
|
to transparently handle PostScript generation. MUCH better than
|
|
2541
|
the previous plot_eps/replot_eps (which I removed now). The code
|
|
2556
|
the previous plot_eps/replot_eps (which I removed now). The code
|
|
2542
|
is also fairly clean and well documented now (including
|
|
2557
|
is also fairly clean and well documented now (including
|
|
2543
|
docstrings).
|
|
2558
|
docstrings).
|
|
2544
|
|
|
2559
|
|
|
2545
|
2002-11-13 Fernando Perez <fperez@colorado.edu>
|
|
2560
|
2002-11-13 Fernando Perez <fperez@colorado.edu>
|
|
2546
|
|
|
2561
|
|
|
2547
|
* IPython/Magic.py (Magic.magic_edit): fixed docstring
|
|
2562
|
* IPython/Magic.py (Magic.magic_edit): fixed docstring
|
|
2548
|
(inconsistent with options).
|
|
2563
|
(inconsistent with options).
|
|
2549
|
|
|
2564
|
|
|
2550
|
* IPython/Gnuplot2.py (Gnuplot.hardcopy): hardcopy had been
|
|
2565
|
* IPython/Gnuplot2.py (Gnuplot.hardcopy): hardcopy had been
|
|
2551
|
manually disabled, I don't know why. Fixed it.
|
|
2566
|
manually disabled, I don't know why. Fixed it.
|
|
2552
|
(Gnuplot._plot_eps): added new plot_eps/replot_eps to get directly
|
|
2567
|
(Gnuplot._plot_eps): added new plot_eps/replot_eps to get directly
|
|
2553
|
eps output.
|
|
2568
|
eps output.
|
|
2554
|
|
|
2569
|
|
|
2555
|
2002-11-12 Fernando Perez <fperez@colorado.edu>
|
|
2570
|
2002-11-12 Fernando Perez <fperez@colorado.edu>
|
|
2556
|
|
|
2571
|
|
|
2557
|
* IPython/genutils.py (ask_yes_no): trap EOF and ^C so that they
|
|
2572
|
* IPython/genutils.py (ask_yes_no): trap EOF and ^C so that they
|
|
2558
|
don't propagate up to caller. Fixes crash reported by François
|
|
2573
|
don't propagate up to caller. Fixes crash reported by François
|
|
2559
|
Pinard.
|
|
2574
|
Pinard.
|
|
2560
|
|
|
2575
|
|
|
2561
|
2002-11-09 Fernando Perez <fperez@colorado.edu>
|
|
2576
|
2002-11-09 Fernando Perez <fperez@colorado.edu>
|
|
2562
|
|
|
2577
|
|
|
2563
|
* IPython/ipmaker.py (make_IPython): fixed problem with writing
|
|
2578
|
* IPython/ipmaker.py (make_IPython): fixed problem with writing
|
|
2564
|
history file for new users.
|
|
2579
|
history file for new users.
|
|
2565
|
(make_IPython): fixed bug where initial install would leave the
|
|
2580
|
(make_IPython): fixed bug where initial install would leave the
|
|
2566
|
user running in the .ipython dir.
|
|
2581
|
user running in the .ipython dir.
|
|
2567
|
(make_IPython): fixed bug where config dir .ipython would be
|
|
2582
|
(make_IPython): fixed bug where config dir .ipython would be
|
|
2568
|
created regardless of the given -ipythondir option. Thanks to Cory
|
|
2583
|
created regardless of the given -ipythondir option. Thanks to Cory
|
|
2569
|
Dodt <cdodt-AT-fcoe.k12.ca.us> for the bug report.
|
|
2584
|
Dodt <cdodt-AT-fcoe.k12.ca.us> for the bug report.
|
|
2570
|
|
|
2585
|
|
|
2571
|
* IPython/genutils.py (ask_yes_no): new function for asking yes/no
|
|
2586
|
* IPython/genutils.py (ask_yes_no): new function for asking yes/no
|
|
2572
|
type confirmations. Will need to use it in all of IPython's code
|
|
2587
|
type confirmations. Will need to use it in all of IPython's code
|
|
2573
|
consistently.
|
|
2588
|
consistently.
|
|
2574
|
|
|
2589
|
|
|
2575
|
* IPython/CrashHandler.py (CrashHandler.__call__): changed the
|
|
2590
|
* IPython/CrashHandler.py (CrashHandler.__call__): changed the
|
|
2576
|
context to print 31 lines instead of the default 5. This will make
|
|
2591
|
context to print 31 lines instead of the default 5. This will make
|
|
2577
|
the crash reports extremely detailed in case the problem is in
|
|
2592
|
the crash reports extremely detailed in case the problem is in
|
|
2578
|
libraries I don't have access to.
|
|
2593
|
libraries I don't have access to.
|
|
2579
|
|
|
2594
|
|
|
2580
|
* IPython/iplib.py (InteractiveShell.interact): changed the 'last
|
|
2595
|
* IPython/iplib.py (InteractiveShell.interact): changed the 'last
|
|
2581
|
line of defense' code to still crash, but giving users fair
|
|
2596
|
line of defense' code to still crash, but giving users fair
|
|
2582
|
warning. I don't want internal errors to go unreported: if there's
|
|
2597
|
warning. I don't want internal errors to go unreported: if there's
|
|
2583
|
an internal problem, IPython should crash and generate a full
|
|
2598
|
an internal problem, IPython should crash and generate a full
|
|
2584
|
report.
|
|
2599
|
report.
|
|
2585
|
|
|
2600
|
|
|
2586
|
2002-11-08 Fernando Perez <fperez@colorado.edu>
|
|
2601
|
2002-11-08 Fernando Perez <fperez@colorado.edu>
|
|
2587
|
|
|
2602
|
|
|
2588
|
* IPython/iplib.py (InteractiveShell.interact): added code to trap
|
|
2603
|
* IPython/iplib.py (InteractiveShell.interact): added code to trap
|
|
2589
|
otherwise uncaught exceptions which can appear if people set
|
|
2604
|
otherwise uncaught exceptions which can appear if people set
|
|
2590
|
sys.stdout to something badly broken. Thanks to a crash report
|
|
2605
|
sys.stdout to something badly broken. Thanks to a crash report
|
|
2591
|
from henni-AT-mail.brainbot.com.
|
|
2606
|
from henni-AT-mail.brainbot.com.
|
|
2592
|
|
|
2607
|
|
|
2593
|
2002-11-04 Fernando Perez <fperez@colorado.edu>
|
|
2608
|
2002-11-04 Fernando Perez <fperez@colorado.edu>
|
|
2594
|
|
|
2609
|
|
|
2595
|
* IPython/iplib.py (InteractiveShell.interact): added
|
|
2610
|
* IPython/iplib.py (InteractiveShell.interact): added
|
|
2596
|
__IPYTHON__active to the builtins. It's a flag which goes on when
|
|
2611
|
__IPYTHON__active to the builtins. It's a flag which goes on when
|
|
2597
|
the interaction starts and goes off again when it stops. This
|
|
2612
|
the interaction starts and goes off again when it stops. This
|
|
2598
|
allows embedding code to detect being inside IPython. Before this
|
|
2613
|
allows embedding code to detect being inside IPython. Before this
|
|
2599
|
was done via __IPYTHON__, but that only shows that an IPython
|
|
2614
|
was done via __IPYTHON__, but that only shows that an IPython
|
|
2600
|
instance has been created.
|
|
2615
|
instance has been created.
|
|
2601
|
|
|
2616
|
|
|
2602
|
* IPython/Magic.py (Magic.magic_env): I realized that in a
|
|
2617
|
* IPython/Magic.py (Magic.magic_env): I realized that in a
|
|
2603
|
UserDict, instance.data holds the data as a normal dict. So I
|
|
2618
|
UserDict, instance.data holds the data as a normal dict. So I
|
|
2604
|
modified @env to return os.environ.data instead of rebuilding a
|
|
2619
|
modified @env to return os.environ.data instead of rebuilding a
|
|
2605
|
dict by hand.
|
|
2620
|
dict by hand.
|
|
2606
|
|
|
2621
|
|
|
2607
|
2002-11-02 Fernando Perez <fperez@colorado.edu>
|
|
2622
|
2002-11-02 Fernando Perez <fperez@colorado.edu>
|
|
2608
|
|
|
2623
|
|
|
2609
|
* IPython/genutils.py (warn): changed so that level 1 prints no
|
|
2624
|
* IPython/genutils.py (warn): changed so that level 1 prints no
|
|
2610
|
header. Level 2 is now the default (with 'WARNING' header, as
|
|
2625
|
header. Level 2 is now the default (with 'WARNING' header, as
|
|
2611
|
before). I think I tracked all places where changes were needed in
|
|
2626
|
before). I think I tracked all places where changes were needed in
|
|
2612
|
IPython, but outside code using the old level numbering may have
|
|
2627
|
IPython, but outside code using the old level numbering may have
|
|
2613
|
broken.
|
|
2628
|
broken.
|
|
2614
|
|
|
2629
|
|
|
2615
|
* IPython/iplib.py (InteractiveShell.runcode): added this to
|
|
2630
|
* IPython/iplib.py (InteractiveShell.runcode): added this to
|
|
2616
|
handle the tracebacks in SystemExit traps correctly. The previous
|
|
2631
|
handle the tracebacks in SystemExit traps correctly. The previous
|
|
2617
|
code (through interact) was printing more of the stack than
|
|
2632
|
code (through interact) was printing more of the stack than
|
|
2618
|
necessary, showing IPython internal code to the user.
|
|
2633
|
necessary, showing IPython internal code to the user.
|
|
2619
|
|
|
2634
|
|
|
2620
|
* IPython/UserConfig/ipythonrc.py: Made confirm_exit 1 by
|
|
2635
|
* IPython/UserConfig/ipythonrc.py: Made confirm_exit 1 by
|
|
2621
|
default. Now that the default at the confirmation prompt is yes,
|
|
2636
|
default. Now that the default at the confirmation prompt is yes,
|
|
2622
|
it's not so intrusive. François' argument that ipython sessions
|
|
2637
|
it's not so intrusive. François' argument that ipython sessions
|
|
2623
|
tend to be complex enough not to lose them from an accidental C-d,
|
|
2638
|
tend to be complex enough not to lose them from an accidental C-d,
|
|
2624
|
is a valid one.
|
|
2639
|
is a valid one.
|
|
2625
|
|
|
2640
|
|
|
2626
|
* IPython/iplib.py (InteractiveShell.interact): added a
|
|
2641
|
* IPython/iplib.py (InteractiveShell.interact): added a
|
|
2627
|
showtraceback() call to the SystemExit trap, and modified the exit
|
|
2642
|
showtraceback() call to the SystemExit trap, and modified the exit
|
|
2628
|
confirmation to have yes as the default.
|
|
2643
|
confirmation to have yes as the default.
|
|
2629
|
|
|
2644
|
|
|
2630
|
* IPython/UserConfig/ipythonrc.py: removed 'session' option from
|
|
2645
|
* IPython/UserConfig/ipythonrc.py: removed 'session' option from
|
|
2631
|
this file. It's been gone from the code for a long time, this was
|
|
2646
|
this file. It's been gone from the code for a long time, this was
|
|
2632
|
simply leftover junk.
|
|
2647
|
simply leftover junk.
|
|
2633
|
|
|
2648
|
|
|
2634
|
2002-11-01 Fernando Perez <fperez@colorado.edu>
|
|
2649
|
2002-11-01 Fernando Perez <fperez@colorado.edu>
|
|
2635
|
|
|
2650
|
|
|
2636
|
* IPython/UserConfig/ipythonrc.py: new confirm_exit option
|
|
2651
|
* IPython/UserConfig/ipythonrc.py: new confirm_exit option
|
|
2637
|
added. If set, IPython now traps EOF and asks for
|
|
2652
|
added. If set, IPython now traps EOF and asks for
|
|
2638
|
confirmation. After a request by François Pinard.
|
|
2653
|
confirmation. After a request by François Pinard.
|
|
2639
|
|
|
2654
|
|
|
2640
|
* IPython/Magic.py (Magic.magic_Exit): New @Exit and @Quit instead
|
|
2655
|
* IPython/Magic.py (Magic.magic_Exit): New @Exit and @Quit instead
|
|
2641
|
of @abort, and with a new (better) mechanism for handling the
|
|
2656
|
of @abort, and with a new (better) mechanism for handling the
|
|
2642
|
exceptions.
|
|
2657
|
exceptions.
|
|
2643
|
|
|
2658
|
|
|
2644
|
2002-10-27 Fernando Perez <fperez@colorado.edu>
|
|
2659
|
2002-10-27 Fernando Perez <fperez@colorado.edu>
|
|
2645
|
|
|
2660
|
|
|
2646
|
* IPython/usage.py (__doc__): updated the --help information and
|
|
2661
|
* IPython/usage.py (__doc__): updated the --help information and
|
|
2647
|
the ipythonrc file to indicate that -log generates
|
|
2662
|
the ipythonrc file to indicate that -log generates
|
|
2648
|
./ipython.log. Also fixed the corresponding info in @logstart.
|
|
2663
|
./ipython.log. Also fixed the corresponding info in @logstart.
|
|
2649
|
This and several other fixes in the manuals thanks to reports by
|
|
2664
|
This and several other fixes in the manuals thanks to reports by
|
|
2650
|
François Pinard <pinard-AT-iro.umontreal.ca>.
|
|
2665
|
François Pinard <pinard-AT-iro.umontreal.ca>.
|
|
2651
|
|
|
2666
|
|
|
2652
|
* IPython/Logger.py (Logger.switch_log): Fixed error message to
|
|
2667
|
* IPython/Logger.py (Logger.switch_log): Fixed error message to
|
|
2653
|
refer to @logstart (instead of @log, which doesn't exist).
|
|
2668
|
refer to @logstart (instead of @log, which doesn't exist).
|
|
2654
|
|
|
2669
|
|
|
2655
|
* IPython/iplib.py (InteractiveShell._prefilter): fixed
|
|
2670
|
* IPython/iplib.py (InteractiveShell._prefilter): fixed
|
|
2656
|
AttributeError crash. Thanks to Christopher Armstrong
|
|
2671
|
AttributeError crash. Thanks to Christopher Armstrong
|
|
2657
|
<radix-AT-twistedmatrix.com> for the report/fix. This bug had been
|
|
2672
|
<radix-AT-twistedmatrix.com> for the report/fix. This bug had been
|
|
2658
|
introduced recently (in 0.2.14pre37) with the fix to the eval
|
|
2673
|
introduced recently (in 0.2.14pre37) with the fix to the eval
|
|
2659
|
problem mentioned below.
|
|
2674
|
problem mentioned below.
|
|
2660
|
|
|
2675
|
|
|
2661
|
2002-10-17 Fernando Perez <fperez@colorado.edu>
|
|
2676
|
2002-10-17 Fernando Perez <fperez@colorado.edu>
|
|
2662
|
|
|
2677
|
|
|
2663
|
* IPython/ConfigLoader.py (ConfigLoader.load): Fixes for Windows
|
|
2678
|
* IPython/ConfigLoader.py (ConfigLoader.load): Fixes for Windows
|
|
2664
|
installation. Thanks to Leonardo Santagada <retype-AT-terra.com.br>.
|
|
2679
|
installation. Thanks to Leonardo Santagada <retype-AT-terra.com.br>.
|
|
2665
|
|
|
2680
|
|
|
2666
|
* IPython/iplib.py (InteractiveShell._prefilter): Many changes to
|
|
2681
|
* IPython/iplib.py (InteractiveShell._prefilter): Many changes to
|
|
2667
|
this function to fix a problem reported by Alex Schmolck. He saw
|
|
2682
|
this function to fix a problem reported by Alex Schmolck. He saw
|
|
2668
|
it with list comprehensions and generators, which were getting
|
|
2683
|
it with list comprehensions and generators, which were getting
|
|
2669
|
called twice. The real problem was an 'eval' call in testing for
|
|
2684
|
called twice. The real problem was an 'eval' call in testing for
|
|
2670
|
automagic which was evaluating the input line silently.
|
|
2685
|
automagic which was evaluating the input line silently.
|
|
2671
|
|
|
2686
|
|
|
2672
|
This is a potentially very nasty bug, if the input has side
|
|
2687
|
This is a potentially very nasty bug, if the input has side
|
|
2673
|
effects which must not be repeated. The code is much cleaner now,
|
|
2688
|
effects which must not be repeated. The code is much cleaner now,
|
|
2674
|
without any blanket 'except' left and with a regexp test for
|
|
2689
|
without any blanket 'except' left and with a regexp test for
|
|
2675
|
actual function names.
|
|
2690
|
actual function names.
|
|
2676
|
|
|
2691
|
|
|
2677
|
But an eval remains, which I'm not fully comfortable with. I just
|
|
2692
|
But an eval remains, which I'm not fully comfortable with. I just
|
|
2678
|
don't know how to find out if an expression could be a callable in
|
|
2693
|
don't know how to find out if an expression could be a callable in
|
|
2679
|
the user's namespace without doing an eval on the string. However
|
|
2694
|
the user's namespace without doing an eval on the string. However
|
|
2680
|
that string is now much more strictly checked so that no code
|
|
2695
|
that string is now much more strictly checked so that no code
|
|
2681
|
slips by, so the eval should only happen for things that can
|
|
2696
|
slips by, so the eval should only happen for things that can
|
|
2682
|
really be only function/method names.
|
|
2697
|
really be only function/method names.
|
|
2683
|
|
|
2698
|
|
|
2684
|
2002-10-15 Fernando Perez <fperez@colorado.edu>
|
|
2699
|
2002-10-15 Fernando Perez <fperez@colorado.edu>
|
|
2685
|
|
|
2700
|
|
|
2686
|
* Updated LyX to 1.2.1 so I can work on the docs again. Added Mac
|
|
2701
|
* Updated LyX to 1.2.1 so I can work on the docs again. Added Mac
|
|
2687
|
OSX information to main manual, removed README_Mac_OSX file from
|
|
2702
|
OSX information to main manual, removed README_Mac_OSX file from
|
|
2688
|
distribution. Also updated credits for recent additions.
|
|
2703
|
distribution. Also updated credits for recent additions.
|
|
2689
|
|
|
2704
|
|
|
2690
|
2002-10-10 Fernando Perez <fperez@colorado.edu>
|
|
2705
|
2002-10-10 Fernando Perez <fperez@colorado.edu>
|
|
2691
|
|
|
2706
|
|
|
2692
|
* README_Mac_OSX: Added a README for Mac OSX users for fixing
|
|
2707
|
* README_Mac_OSX: Added a README for Mac OSX users for fixing
|
|
2693
|
terminal-related issues. Many thanks to Andrea Riciputi
|
|
2708
|
terminal-related issues. Many thanks to Andrea Riciputi
|
|
2694
|
<andrea.riciputi-AT-libero.it> for writing it.
|
|
2709
|
<andrea.riciputi-AT-libero.it> for writing it.
|
|
2695
|
|
|
2710
|
|
|
2696
|
* IPython/UserConfig/ipythonrc.py: Fixes to various small issues,
|
|
2711
|
* IPython/UserConfig/ipythonrc.py: Fixes to various small issues,
|
|
2697
|
thanks to Thorsten Kampe <thorsten-AT-thorstenkampe.de>.
|
|
2712
|
thanks to Thorsten Kampe <thorsten-AT-thorstenkampe.de>.
|
|
2698
|
|
|
2713
|
|
|
2699
|
* setup.py (make_shortcut): Fixes for Windows installation. Thanks
|
|
2714
|
* setup.py (make_shortcut): Fixes for Windows installation. Thanks
|
|
2700
|
to Fredrik Kant <fredrik.kant-AT-front.com> and Syver Enstad
|
|
2715
|
to Fredrik Kant <fredrik.kant-AT-front.com> and Syver Enstad
|
|
2701
|
<syver-en-AT-online.no> who both submitted patches for this problem.
|
|
2716
|
<syver-en-AT-online.no> who both submitted patches for this problem.
|
|
2702
|
|
|
2717
|
|
|
2703
|
* IPython/iplib.py (InteractiveShell.embed_mainloop): Patch for
|
|
2718
|
* IPython/iplib.py (InteractiveShell.embed_mainloop): Patch for
|
|
2704
|
global embedding to make sure that things don't overwrite user
|
|
2719
|
global embedding to make sure that things don't overwrite user
|
|
2705
|
globals accidentally. Thanks to Richard <rxe-AT-renre-europe.com>
|
|
2720
|
globals accidentally. Thanks to Richard <rxe-AT-renre-europe.com>
|
|
2706
|
|
|
2721
|
|
|
2707
|
* IPython/Gnuplot2.py (gp): Patch for Gnuplot.py 1.6
|
|
2722
|
* IPython/Gnuplot2.py (gp): Patch for Gnuplot.py 1.6
|
|
2708
|
compatibility. Thanks to Hayden Callow
|
|
2723
|
compatibility. Thanks to Hayden Callow
|
|
2709
|
<h.callow-AT-elec.canterbury.ac.nz>
|
|
2724
|
<h.callow-AT-elec.canterbury.ac.nz>
|
|
2710
|
|
|
2725
|
|
|
2711
|
2002-10-04 Fernando Perez <fperez@colorado.edu>
|
|
2726
|
2002-10-04 Fernando Perez <fperez@colorado.edu>
|
|
2712
|
|
|
2727
|
|
|
2713
|
* IPython/Gnuplot2.py (PlotItem): Added 'index' option for
|
|
2728
|
* IPython/Gnuplot2.py (PlotItem): Added 'index' option for
|
|
2714
|
Gnuplot.File objects.
|
|
2729
|
Gnuplot.File objects.
|
|
2715
|
|
|
2730
|
|
|
2716
|
2002-07-23 Fernando Perez <fperez@colorado.edu>
|
|
2731
|
2002-07-23 Fernando Perez <fperez@colorado.edu>
|
|
2717
|
|
|
2732
|
|
|
2718
|
* IPython/genutils.py (timing): Added timings() and timing() for
|
|
2733
|
* IPython/genutils.py (timing): Added timings() and timing() for
|
|
2719
|
quick access to the most commonly needed data, the execution
|
|
2734
|
quick access to the most commonly needed data, the execution
|
|
2720
|
times. Old timing() renamed to timings_out().
|
|
2735
|
times. Old timing() renamed to timings_out().
|
|
2721
|
|
|
2736
|
|
|
2722
|
2002-07-18 Fernando Perez <fperez@colorado.edu>
|
|
2737
|
2002-07-18 Fernando Perez <fperez@colorado.edu>
|
|
2723
|
|
|
2738
|
|
|
2724
|
* IPython/Shell.py (IPShellEmbed.restore_system_completer): fixed
|
|
2739
|
* IPython/Shell.py (IPShellEmbed.restore_system_completer): fixed
|
|
2725
|
bug with nested instances disrupting the parent's tab completion.
|
|
2740
|
bug with nested instances disrupting the parent's tab completion.
|
|
2726
|
|
|
2741
|
|
|
2727
|
* IPython/iplib.py (all_completions): Added Alex Schmolck's
|
|
2742
|
* IPython/iplib.py (all_completions): Added Alex Schmolck's
|
|
2728
|
all_completions code to begin the emacs integration.
|
|
2743
|
all_completions code to begin the emacs integration.
|
|
2729
|
|
|
2744
|
|
|
2730
|
* IPython/Gnuplot2.py (zip_items): Added optional 'titles'
|
|
2745
|
* IPython/Gnuplot2.py (zip_items): Added optional 'titles'
|
|
2731
|
argument to allow titling individual arrays when plotting.
|
|
2746
|
argument to allow titling individual arrays when plotting.
|
|
2732
|
|
|
2747
|
|
|
2733
|
2002-07-15 Fernando Perez <fperez@colorado.edu>
|
|
2748
|
2002-07-15 Fernando Perez <fperez@colorado.edu>
|
|
2734
|
|
|
2749
|
|
|
2735
|
* setup.py (make_shortcut): changed to retrieve the value of
|
|
2750
|
* setup.py (make_shortcut): changed to retrieve the value of
|
|
2736
|
'Program Files' directory from the registry (this value changes in
|
|
2751
|
'Program Files' directory from the registry (this value changes in
|
|
2737
|
non-english versions of Windows). Thanks to Thomas Fanslau
|
|
2752
|
non-english versions of Windows). Thanks to Thomas Fanslau
|
|
2738
|
<tfanslau-AT-gmx.de> for the report.
|
|
2753
|
<tfanslau-AT-gmx.de> for the report.
|
|
2739
|
|
|
2754
|
|
|
2740
|
2002-07-10 Fernando Perez <fperez@colorado.edu>
|
|
2755
|
2002-07-10 Fernando Perez <fperez@colorado.edu>
|
|
2741
|
|
|
2756
|
|
|
2742
|
* IPython/ultraTB.py (VerboseTB.debugger): enabled workaround for
|
|
2757
|
* IPython/ultraTB.py (VerboseTB.debugger): enabled workaround for
|
|
2743
|
a bug in pdb, which crashes if a line with only whitespace is
|
|
2758
|
a bug in pdb, which crashes if a line with only whitespace is
|
|
2744
|
entered. Bug report submitted to sourceforge.
|
|
2759
|
entered. Bug report submitted to sourceforge.
|
|
2745
|
|
|
2760
|
|
|
2746
|
2002-07-09 Fernando Perez <fperez@colorado.edu>
|
|
2761
|
2002-07-09 Fernando Perez <fperez@colorado.edu>
|
|
2747
|
|
|
2762
|
|
|
2748
|
* IPython/ultraTB.py (VerboseTB.nullrepr): fixed rare crash when
|
|
2763
|
* IPython/ultraTB.py (VerboseTB.nullrepr): fixed rare crash when
|
|
2749
|
reporting exceptions (it's a bug in inspect.py, I just set a
|
|
2764
|
reporting exceptions (it's a bug in inspect.py, I just set a
|
|
2750
|
workaround).
|
|
2765
|
workaround).
|
|
2751
|
|
|
2766
|
|
|
2752
|
2002-07-08 Fernando Perez <fperez@colorado.edu>
|
|
2767
|
2002-07-08 Fernando Perez <fperez@colorado.edu>
|
|
2753
|
|
|
2768
|
|
|
2754
|
* IPython/iplib.py (InteractiveShell.__init__): fixed reference to
|
|
2769
|
* IPython/iplib.py (InteractiveShell.__init__): fixed reference to
|
|
2755
|
__IPYTHON__ in __builtins__ to show up in user_ns.
|
|
2770
|
__IPYTHON__ in __builtins__ to show up in user_ns.
|
|
2756
|
|
|
2771
|
|
|
2757
|
2002-07-03 Fernando Perez <fperez@colorado.edu>
|
|
2772
|
2002-07-03 Fernando Perez <fperez@colorado.edu>
|
|
2758
|
|
|
2773
|
|
|
2759
|
* IPython/GnuplotInteractive.py (magic_gp_set_default): changed
|
|
2774
|
* IPython/GnuplotInteractive.py (magic_gp_set_default): changed
|
|
2760
|
name from @gp_set_instance to @gp_set_default.
|
|
2775
|
name from @gp_set_instance to @gp_set_default.
|
|
2761
|
|
|
2776
|
|
|
2762
|
* IPython/ipmaker.py (make_IPython): default editor value set to
|
|
2777
|
* IPython/ipmaker.py (make_IPython): default editor value set to
|
|
2763
|
'0' (a string), to match the rc file. Otherwise will crash when
|
|
2778
|
'0' (a string), to match the rc file. Otherwise will crash when
|
|
2764
|
.strip() is called on it.
|
|
2779
|
.strip() is called on it.
|
|
2765
|
|
|
2780
|
|
|
2766
|
|
|
2781
|
|
|
2767
|
2002-06-28 Fernando Perez <fperez@colorado.edu>
|
|
2782
|
2002-06-28 Fernando Perez <fperez@colorado.edu>
|
|
2768
|
|
|
2783
|
|
|
2769
|
* IPython/iplib.py (InteractiveShell.safe_execfile): fix importing
|
|
2784
|
* IPython/iplib.py (InteractiveShell.safe_execfile): fix importing
|
|
2770
|
of files in current directory when a file is executed via
|
|
2785
|
of files in current directory when a file is executed via
|
|
2771
|
@run. Patch also by RA <ralf_ahlbrink-AT-web.de>.
|
|
2786
|
@run. Patch also by RA <ralf_ahlbrink-AT-web.de>.
|
|
2772
|
|
|
2787
|
|
|
2773
|
* setup.py (manfiles): fix for rpm builds, submitted by RA
|
|
2788
|
* setup.py (manfiles): fix for rpm builds, submitted by RA
|
|
2774
|
<ralf_ahlbrink-AT-web.de>. Now we have RPMs!
|
|
2789
|
<ralf_ahlbrink-AT-web.de>. Now we have RPMs!
|
|
2775
|
|
|
2790
|
|
|
2776
|
* IPython/ipmaker.py (make_IPython): fixed lookup of default
|
|
2791
|
* IPython/ipmaker.py (make_IPython): fixed lookup of default
|
|
2777
|
editor when set to '0'. Problem was, '0' evaluates to True (it's a
|
|
2792
|
editor when set to '0'. Problem was, '0' evaluates to True (it's a
|
|
2778
|
string!). A. Schmolck caught this one.
|
|
2793
|
string!). A. Schmolck caught this one.
|
|
2779
|
|
|
2794
|
|
|
2780
|
2002-06-27 Fernando Perez <fperez@colorado.edu>
|
|
2795
|
2002-06-27 Fernando Perez <fperez@colorado.edu>
|
|
2781
|
|
|
2796
|
|
|
2782
|
* IPython/ipmaker.py (make_IPython): fixed bug when running user
|
|
2797
|
* IPython/ipmaker.py (make_IPython): fixed bug when running user
|
|
2783
|
defined files at the cmd line. __name__ wasn't being set to
|
|
2798
|
defined files at the cmd line. __name__ wasn't being set to
|
|
2784
|
__main__.
|
|
2799
|
__main__.
|
|
2785
|
|
|
2800
|
|
|
2786
|
* IPython/Gnuplot2.py (zip_items): improved it so it can plot also
|
|
2801
|
* IPython/Gnuplot2.py (zip_items): improved it so it can plot also
|
|
2787
|
regular lists and tuples besides Numeric arrays.
|
|
2802
|
regular lists and tuples besides Numeric arrays.
|
|
2788
|
|
|
2803
|
|
|
2789
|
* IPython/Prompts.py (CachedOutput.__call__): Added output
|
|
2804
|
* IPython/Prompts.py (CachedOutput.__call__): Added output
|
|
2790
|
supression for input ending with ';'. Similar to Mathematica and
|
|
2805
|
supression for input ending with ';'. Similar to Mathematica and
|
|
2791
|
Matlab. The _* vars and Out[] list are still updated, just like
|
|
2806
|
Matlab. The _* vars and Out[] list are still updated, just like
|
|
2792
|
Mathematica behaves.
|
|
2807
|
Mathematica behaves.
|
|
2793
|
|
|
2808
|
|
|
2794
|
2002-06-25 Fernando Perez <fperez@colorado.edu>
|
|
2809
|
2002-06-25 Fernando Perez <fperez@colorado.edu>
|
|
2795
|
|
|
2810
|
|
|
2796
|
* IPython/ConfigLoader.py (ConfigLoader.load): fixed checking of
|
|
2811
|
* IPython/ConfigLoader.py (ConfigLoader.load): fixed checking of
|
|
2797
|
.ini extensions for profiels under Windows.
|
|
2812
|
.ini extensions for profiels under Windows.
|
|
2798
|
|
|
2813
|
|
|
2799
|
* IPython/OInspect.py (Inspector.pinfo): improved alignment of
|
|
2814
|
* IPython/OInspect.py (Inspector.pinfo): improved alignment of
|
|
2800
|
string form. Fix contributed by Alexander Schmolck
|
|
2815
|
string form. Fix contributed by Alexander Schmolck
|
|
2801
|
<a.schmolck-AT-gmx.net>
|
|
2816
|
<a.schmolck-AT-gmx.net>
|
|
2802
|
|
|
2817
|
|
|
2803
|
* IPython/GnuplotRuntime.py (gp_new): new function. Returns a
|
|
2818
|
* IPython/GnuplotRuntime.py (gp_new): new function. Returns a
|
|
2804
|
pre-configured Gnuplot instance.
|
|
2819
|
pre-configured Gnuplot instance.
|
|
2805
|
|
|
2820
|
|
|
2806
|
2002-06-21 Fernando Perez <fperez@colorado.edu>
|
|
2821
|
2002-06-21 Fernando Perez <fperez@colorado.edu>
|
|
2807
|
|
|
2822
|
|
|
2808
|
* IPython/numutils.py (exp_safe): new function, works around the
|
|
2823
|
* IPython/numutils.py (exp_safe): new function, works around the
|
|
2809
|
underflow problems in Numeric.
|
|
2824
|
underflow problems in Numeric.
|
|
2810
|
(log2): New fn. Safe log in base 2: returns exact integer answer
|
|
2825
|
(log2): New fn. Safe log in base 2: returns exact integer answer
|
|
2811
|
for exact integer powers of 2.
|
|
2826
|
for exact integer powers of 2.
|
|
2812
|
|
|
2827
|
|
|
2813
|
* IPython/Magic.py (get_py_filename): fixed it not expanding '~'
|
|
2828
|
* IPython/Magic.py (get_py_filename): fixed it not expanding '~'
|
|
2814
|
properly.
|
|
2829
|
properly.
|
|
2815
|
|
|
2830
|
|
|
2816
|
2002-06-20 Fernando Perez <fperez@colorado.edu>
|
|
2831
|
2002-06-20 Fernando Perez <fperez@colorado.edu>
|
|
2817
|
|
|
2832
|
|
|
2818
|
* IPython/genutils.py (timing): new function like
|
|
2833
|
* IPython/genutils.py (timing): new function like
|
|
2819
|
Mathematica's. Similar to time_test, but returns more info.
|
|
2834
|
Mathematica's. Similar to time_test, but returns more info.
|
|
2820
|
|
|
2835
|
|
|
2821
|
2002-06-18 Fernando Perez <fperez@colorado.edu>
|
|
2836
|
2002-06-18 Fernando Perez <fperez@colorado.edu>
|
|
2822
|
|
|
2837
|
|
|
2823
|
* IPython/Magic.py (Magic.magic_save): modified @save and @r
|
|
2838
|
* IPython/Magic.py (Magic.magic_save): modified @save and @r
|
|
2824
|
according to Mike Heeter's suggestions.
|
|
2839
|
according to Mike Heeter's suggestions.
|
|
2825
|
|
|
2840
|
|
|
2826
|
2002-06-16 Fernando Perez <fperez@colorado.edu>
|
|
2841
|
2002-06-16 Fernando Perez <fperez@colorado.edu>
|
|
2827
|
|
|
2842
|
|
|
2828
|
* IPython/GnuplotRuntime.py: Massive overhaul to the Gnuplot
|
|
2843
|
* IPython/GnuplotRuntime.py: Massive overhaul to the Gnuplot
|
|
2829
|
system. GnuplotMagic is gone as a user-directory option. New files
|
|
2844
|
system. GnuplotMagic is gone as a user-directory option. New files
|
|
2830
|
make it easier to use all the gnuplot stuff both from external
|
|
2845
|
make it easier to use all the gnuplot stuff both from external
|
|
2831
|
programs as well as from IPython. Had to rewrite part of
|
|
2846
|
programs as well as from IPython. Had to rewrite part of
|
|
2832
|
hardcopy() b/c of a strange bug: often the ps files simply don't
|
|
2847
|
hardcopy() b/c of a strange bug: often the ps files simply don't
|
|
2833
|
get created, and require a repeat of the command (often several
|
|
2848
|
get created, and require a repeat of the command (often several
|
|
2834
|
times).
|
|
2849
|
times).
|
|
2835
|
|
|
2850
|
|
|
2836
|
* IPython/ultraTB.py (AutoFormattedTB.__call__): changed to
|
|
2851
|
* IPython/ultraTB.py (AutoFormattedTB.__call__): changed to
|
|
2837
|
resolve output channel at call time, so that if sys.stderr has
|
|
2852
|
resolve output channel at call time, so that if sys.stderr has
|
|
2838
|
been redirected by user this gets honored.
|
|
2853
|
been redirected by user this gets honored.
|
|
2839
|
|
|
2854
|
|
|
2840
|
2002-06-13 Fernando Perez <fperez@colorado.edu>
|
|
2855
|
2002-06-13 Fernando Perez <fperez@colorado.edu>
|
|
2841
|
|
|
2856
|
|
|
2842
|
* IPython/Shell.py (IPShell.__init__): Changed IPythonShell to
|
|
2857
|
* IPython/Shell.py (IPShell.__init__): Changed IPythonShell to
|
|
2843
|
IPShell. Kept a copy with the old names to avoid breaking people's
|
|
2858
|
IPShell. Kept a copy with the old names to avoid breaking people's
|
|
2844
|
embedded code.
|
|
2859
|
embedded code.
|
|
2845
|
|
|
2860
|
|
|
2846
|
* IPython/ipython: simplified it to the bare minimum after
|
|
2861
|
* IPython/ipython: simplified it to the bare minimum after
|
|
2847
|
Holger's suggestions. Added info about how to use it in
|
|
2862
|
Holger's suggestions. Added info about how to use it in
|
|
2848
|
PYTHONSTARTUP.
|
|
2863
|
PYTHONSTARTUP.
|
|
2849
|
|
|
2864
|
|
|
2850
|
* IPython/Shell.py (IPythonShell): changed the options passing
|
|
2865
|
* IPython/Shell.py (IPythonShell): changed the options passing
|
|
2851
|
from a string with funky %s replacements to a straight list. Maybe
|
|
2866
|
from a string with funky %s replacements to a straight list. Maybe
|
|
2852
|
a bit more typing, but it follows sys.argv conventions, so there's
|
|
2867
|
a bit more typing, but it follows sys.argv conventions, so there's
|
|
2853
|
less special-casing to remember.
|
|
2868
|
less special-casing to remember.
|
|
2854
|
|
|
2869
|
|
|
2855
|
2002-06-12 Fernando Perez <fperez@colorado.edu>
|
|
2870
|
2002-06-12 Fernando Perez <fperez@colorado.edu>
|
|
2856
|
|
|
2871
|
|
|
2857
|
* IPython/Magic.py (Magic.magic_r): new magic auto-repeat
|
|
2872
|
* IPython/Magic.py (Magic.magic_r): new magic auto-repeat
|
|
2858
|
command. Thanks to a suggestion by Mike Heeter.
|
|
2873
|
command. Thanks to a suggestion by Mike Heeter.
|
|
2859
|
(Magic.magic_pfile): added behavior to look at filenames if given
|
|
2874
|
(Magic.magic_pfile): added behavior to look at filenames if given
|
|
2860
|
arg is not a defined object.
|
|
2875
|
arg is not a defined object.
|
|
2861
|
(Magic.magic_save): New @save function to save code snippets. Also
|
|
2876
|
(Magic.magic_save): New @save function to save code snippets. Also
|
|
2862
|
a Mike Heeter idea.
|
|
2877
|
a Mike Heeter idea.
|
|
2863
|
|
|
2878
|
|
|
2864
|
* IPython/UserConfig/GnuplotMagic.py (plot): Improvements to
|
|
2879
|
* IPython/UserConfig/GnuplotMagic.py (plot): Improvements to
|
|
2865
|
plot() and replot(). Much more convenient now, especially for
|
|
2880
|
plot() and replot(). Much more convenient now, especially for
|
|
2866
|
interactive use.
|
|
2881
|
interactive use.
|
|
2867
|
|
|
2882
|
|
|
2868
|
* IPython/Magic.py (Magic.magic_run): Added .py automatically to
|
|
2883
|
* IPython/Magic.py (Magic.magic_run): Added .py automatically to
|
|
2869
|
filenames.
|
|
2884
|
filenames.
|
|
2870
|
|
|
2885
|
|
|
2871
|
2002-06-02 Fernando Perez <fperez@colorado.edu>
|
|
2886
|
2002-06-02 Fernando Perez <fperez@colorado.edu>
|
|
2872
|
|
|
2887
|
|
|
2873
|
* IPython/Struct.py (Struct.__init__): modified to admit
|
|
2888
|
* IPython/Struct.py (Struct.__init__): modified to admit
|
|
2874
|
initialization via another struct.
|
|
2889
|
initialization via another struct.
|
|
2875
|
|
|
2890
|
|
|
2876
|
* IPython/genutils.py (SystemExec.__init__): New stateful
|
|
2891
|
* IPython/genutils.py (SystemExec.__init__): New stateful
|
|
2877
|
interface to xsys and bq. Useful for writing system scripts.
|
|
2892
|
interface to xsys and bq. Useful for writing system scripts.
|
|
2878
|
|
|
2893
|
|
|
2879
|
2002-05-30 Fernando Perez <fperez@colorado.edu>
|
|
2894
|
2002-05-30 Fernando Perez <fperez@colorado.edu>
|
|
2880
|
|
|
2895
|
|
|
2881
|
* MANIFEST.in: Changed docfile selection to exclude all the lyx
|
|
2896
|
* MANIFEST.in: Changed docfile selection to exclude all the lyx
|
|
2882
|
documents. This will make the user download smaller (it's getting
|
|
2897
|
documents. This will make the user download smaller (it's getting
|
|
2883
|
too big).
|
|
2898
|
too big).
|
|
2884
|
|
|
2899
|
|
|
2885
|
2002-05-29 Fernando Perez <fperez@colorado.edu>
|
|
2900
|
2002-05-29 Fernando Perez <fperez@colorado.edu>
|
|
2886
|
|
|
2901
|
|
|
2887
|
* IPython/iplib.py (_FakeModule.__init__): New class introduced to
|
|
2902
|
* IPython/iplib.py (_FakeModule.__init__): New class introduced to
|
|
2888
|
fix problems with shelve and pickle. Seems to work, but I don't
|
|
2903
|
fix problems with shelve and pickle. Seems to work, but I don't
|
|
2889
|
know if corner cases break it. Thanks to Mike Heeter
|
|
2904
|
know if corner cases break it. Thanks to Mike Heeter
|
|
2890
|
<korora-AT-SDF.LONESTAR.ORG> for the bug reports and test cases.
|
|
2905
|
<korora-AT-SDF.LONESTAR.ORG> for the bug reports and test cases.
|
|
2891
|
|
|
2906
|
|
|
2892
|
2002-05-24 Fernando Perez <fperez@colorado.edu>
|
|
2907
|
2002-05-24 Fernando Perez <fperez@colorado.edu>
|
|
2893
|
|
|
2908
|
|
|
2894
|
* IPython/Magic.py (Macro.__init__): fixed magics embedded in
|
|
2909
|
* IPython/Magic.py (Macro.__init__): fixed magics embedded in
|
|
2895
|
macros having broken.
|
|
2910
|
macros having broken.
|
|
2896
|
|
|
2911
|
|
|
2897
|
2002-05-21 Fernando Perez <fperez@colorado.edu>
|
|
2912
|
2002-05-21 Fernando Perez <fperez@colorado.edu>
|
|
2898
|
|
|
2913
|
|
|
2899
|
* IPython/Magic.py (Magic.magic_logstart): fixed recently
|
|
2914
|
* IPython/Magic.py (Magic.magic_logstart): fixed recently
|
|
2900
|
introduced logging bug: all history before logging started was
|
|
2915
|
introduced logging bug: all history before logging started was
|
|
2901
|
being written one character per line! This came from the redesign
|
|
2916
|
being written one character per line! This came from the redesign
|
|
2902
|
of the input history as a special list which slices to strings,
|
|
2917
|
of the input history as a special list which slices to strings,
|
|
2903
|
not to lists.
|
|
2918
|
not to lists.
|
|
2904
|
|
|
2919
|
|
|
2905
|
2002-05-20 Fernando Perez <fperez@colorado.edu>
|
|
2920
|
2002-05-20 Fernando Perez <fperez@colorado.edu>
|
|
2906
|
|
|
2921
|
|
|
2907
|
* IPython/Prompts.py (CachedOutput.__init__): made the color table
|
|
2922
|
* IPython/Prompts.py (CachedOutput.__init__): made the color table
|
|
2908
|
be an attribute of all classes in this module. The design of these
|
|
2923
|
be an attribute of all classes in this module. The design of these
|
|
2909
|
classes needs some serious overhauling.
|
|
2924
|
classes needs some serious overhauling.
|
|
2910
|
|
|
2925
|
|
|
2911
|
* IPython/DPyGetOpt.py (DPyGetOpt.setPosixCompliance): fixed bug
|
|
2926
|
* IPython/DPyGetOpt.py (DPyGetOpt.setPosixCompliance): fixed bug
|
|
2912
|
which was ignoring '_' in option names.
|
|
2927
|
which was ignoring '_' in option names.
|
|
2913
|
|
|
2928
|
|
|
2914
|
* IPython/ultraTB.py (FormattedTB.__init__): Changed
|
|
2929
|
* IPython/ultraTB.py (FormattedTB.__init__): Changed
|
|
2915
|
'Verbose_novars' to 'Context' and made it the new default. It's a
|
|
2930
|
'Verbose_novars' to 'Context' and made it the new default. It's a
|
|
2916
|
bit more readable and also safer than verbose.
|
|
2931
|
bit more readable and also safer than verbose.
|
|
2917
|
|
|
2932
|
|
|
2918
|
* IPython/PyColorize.py (Parser.__call__): Fixed coloring of
|
|
2933
|
* IPython/PyColorize.py (Parser.__call__): Fixed coloring of
|
|
2919
|
triple-quoted strings.
|
|
2934
|
triple-quoted strings.
|
|
2920
|
|
|
2935
|
|
|
2921
|
* IPython/OInspect.py (__all__): new module exposing the object
|
|
2936
|
* IPython/OInspect.py (__all__): new module exposing the object
|
|
2922
|
introspection facilities. Now the corresponding magics are dummy
|
|
2937
|
introspection facilities. Now the corresponding magics are dummy
|
|
2923
|
wrappers around this. Having this module will make it much easier
|
|
2938
|
wrappers around this. Having this module will make it much easier
|
|
2924
|
to put these functions into our modified pdb.
|
|
2939
|
to put these functions into our modified pdb.
|
|
2925
|
This new object inspector system uses the new colorizing module,
|
|
2940
|
This new object inspector system uses the new colorizing module,
|
|
2926
|
so source code and other things are nicely syntax highlighted.
|
|
2941
|
so source code and other things are nicely syntax highlighted.
|
|
2927
|
|
|
2942
|
|
|
2928
|
2002-05-18 Fernando Perez <fperez@colorado.edu>
|
|
2943
|
2002-05-18 Fernando Perez <fperez@colorado.edu>
|
|
2929
|
|
|
2944
|
|
|
2930
|
* IPython/ColorANSI.py: Split the coloring tools into a separate
|
|
2945
|
* IPython/ColorANSI.py: Split the coloring tools into a separate
|
|
2931
|
module so I can use them in other code easier (they were part of
|
|
2946
|
module so I can use them in other code easier (they were part of
|
|
2932
|
ultraTB).
|
|
2947
|
ultraTB).
|
|
2933
|
|
|
2948
|
|
|
2934
|
2002-05-17 Fernando Perez <fperez@colorado.edu>
|
|
2949
|
2002-05-17 Fernando Perez <fperez@colorado.edu>
|
|
2935
|
|
|
2950
|
|
|
2936
|
* IPython/UserConfig/GnuplotMagic.py (magic_gp_set_instance):
|
|
2951
|
* IPython/UserConfig/GnuplotMagic.py (magic_gp_set_instance):
|
|
2937
|
fixed it to set the global 'g' also to the called instance, as
|
|
2952
|
fixed it to set the global 'g' also to the called instance, as
|
|
2938
|
long as 'g' was still a gnuplot instance (so it doesn't overwrite
|
|
2953
|
long as 'g' was still a gnuplot instance (so it doesn't overwrite
|
|
2939
|
user's 'g' variables).
|
|
2954
|
user's 'g' variables).
|
|
2940
|
|
|
2955
|
|
|
2941
|
* IPython/iplib.py (InteractiveShell.__init__): Added In/Out
|
|
2956
|
* IPython/iplib.py (InteractiveShell.__init__): Added In/Out
|
|
2942
|
global variables (aliases to _ih,_oh) so that users which expect
|
|
2957
|
global variables (aliases to _ih,_oh) so that users which expect
|
|
2943
|
In[5] or Out[7] to work aren't unpleasantly surprised.
|
|
2958
|
In[5] or Out[7] to work aren't unpleasantly surprised.
|
|
2944
|
(InputList.__getslice__): new class to allow executing slices of
|
|
2959
|
(InputList.__getslice__): new class to allow executing slices of
|
|
2945
|
input history directly. Very simple class, complements the use of
|
|
2960
|
input history directly. Very simple class, complements the use of
|
|
2946
|
macros.
|
|
2961
|
macros.
|
|
2947
|
|
|
2962
|
|
|
2948
|
2002-05-16 Fernando Perez <fperez@colorado.edu>
|
|
2963
|
2002-05-16 Fernando Perez <fperez@colorado.edu>
|
|
2949
|
|
|
2964
|
|
|
2950
|
* setup.py (docdirbase): make doc directory be just doc/IPython
|
|
2965
|
* setup.py (docdirbase): make doc directory be just doc/IPython
|
|
2951
|
without version numbers, it will reduce clutter for users.
|
|
2966
|
without version numbers, it will reduce clutter for users.
|
|
2952
|
|
|
2967
|
|
|
2953
|
* IPython/Magic.py (Magic.magic_run): Add explicit local dict to
|
|
2968
|
* IPython/Magic.py (Magic.magic_run): Add explicit local dict to
|
|
2954
|
execfile call to prevent possible memory leak. See for details:
|
|
2969
|
execfile call to prevent possible memory leak. See for details:
|
|
2955
|
http://mail.python.org/pipermail/python-list/2002-February/088476.html
|
|
2970
|
http://mail.python.org/pipermail/python-list/2002-February/088476.html
|
|
2956
|
|
|
2971
|
|
|
2957
|
2002-05-15 Fernando Perez <fperez@colorado.edu>
|
|
2972
|
2002-05-15 Fernando Perez <fperez@colorado.edu>
|
|
2958
|
|
|
2973
|
|
|
2959
|
* IPython/Magic.py (Magic.magic_psource): made the object
|
|
2974
|
* IPython/Magic.py (Magic.magic_psource): made the object
|
|
2960
|
introspection names be more standard: pdoc, pdef, pfile and
|
|
2975
|
introspection names be more standard: pdoc, pdef, pfile and
|
|
2961
|
psource. They all print/page their output, and it makes
|
|
2976
|
psource. They all print/page their output, and it makes
|
|
2962
|
remembering them easier. Kept old names for compatibility as
|
|
2977
|
remembering them easier. Kept old names for compatibility as
|
|
2963
|
aliases.
|
|
2978
|
aliases.
|
|
2964
|
|
|
2979
|
|
|
2965
|
2002-05-14 Fernando Perez <fperez@colorado.edu>
|
|
2980
|
2002-05-14 Fernando Perez <fperez@colorado.edu>
|
|
2966
|
|
|
2981
|
|
|
2967
|
* IPython/UserConfig/GnuplotMagic.py: I think I finally understood
|
|
2982
|
* IPython/UserConfig/GnuplotMagic.py: I think I finally understood
|
|
2968
|
what the mouse problem was. The trick is to use gnuplot with temp
|
|
2983
|
what the mouse problem was. The trick is to use gnuplot with temp
|
|
2969
|
files and NOT with pipes (for data communication), because having
|
|
2984
|
files and NOT with pipes (for data communication), because having
|
|
2970
|
both pipes and the mouse on is bad news.
|
|
2985
|
both pipes and the mouse on is bad news.
|
|
2971
|
|
|
2986
|
|
|
2972
|
2002-05-13 Fernando Perez <fperez@colorado.edu>
|
|
2987
|
2002-05-13 Fernando Perez <fperez@colorado.edu>
|
|
2973
|
|
|
2988
|
|
|
2974
|
* IPython/Magic.py (Magic._ofind): fixed namespace order search
|
|
2989
|
* IPython/Magic.py (Magic._ofind): fixed namespace order search
|
|
2975
|
bug. Information would be reported about builtins even when
|
|
2990
|
bug. Information would be reported about builtins even when
|
|
2976
|
user-defined functions overrode them.
|
|
2991
|
user-defined functions overrode them.
|
|
2977
|
|
|
2992
|
|
|
2978
|
2002-05-11 Fernando Perez <fperez@colorado.edu>
|
|
2993
|
2002-05-11 Fernando Perez <fperez@colorado.edu>
|
|
2979
|
|
|
2994
|
|
|
2980
|
* IPython/__init__.py (__all__): removed FlexCompleter from
|
|
2995
|
* IPython/__init__.py (__all__): removed FlexCompleter from
|
|
2981
|
__all__ so that things don't fail in platforms without readline.
|
|
2996
|
__all__ so that things don't fail in platforms without readline.
|
|
2982
|
|
|
2997
|
|
|
2983
|
2002-05-10 Fernando Perez <fperez@colorado.edu>
|
|
2998
|
2002-05-10 Fernando Perez <fperez@colorado.edu>
|
|
2984
|
|
|
2999
|
|
|
2985
|
* IPython/__init__.py (__all__): removed numutils from __all__ b/c
|
|
3000
|
* IPython/__init__.py (__all__): removed numutils from __all__ b/c
|
|
2986
|
it requires Numeric, effectively making Numeric a dependency for
|
|
3001
|
it requires Numeric, effectively making Numeric a dependency for
|
|
2987
|
IPython.
|
|
3002
|
IPython.
|
|
2988
|
|
|
3003
|
|
|
2989
|
* Released 0.2.13
|
|
3004
|
* Released 0.2.13
|
|
2990
|
|
|
3005
|
|
|
2991
|
* IPython/Magic.py (Magic.magic_prun): big overhaul to the
|
|
3006
|
* IPython/Magic.py (Magic.magic_prun): big overhaul to the
|
|
2992
|
profiler interface. Now all the major options from the profiler
|
|
3007
|
profiler interface. Now all the major options from the profiler
|
|
2993
|
module are directly supported in IPython, both for single
|
|
3008
|
module are directly supported in IPython, both for single
|
|
2994
|
expressions (@prun) and for full programs (@run -p).
|
|
3009
|
expressions (@prun) and for full programs (@run -p).
|
|
2995
|
|
|
3010
|
|
|
2996
|
2002-05-09 Fernando Perez <fperez@colorado.edu>
|
|
3011
|
2002-05-09 Fernando Perez <fperez@colorado.edu>
|
|
2997
|
|
|
3012
|
|
|
2998
|
* IPython/Magic.py (Magic.magic_doc): fixed to show docstrings of
|
|
3013
|
* IPython/Magic.py (Magic.magic_doc): fixed to show docstrings of
|
|
2999
|
magic properly formatted for screen.
|
|
3014
|
magic properly formatted for screen.
|
|
3000
|
|
|
3015
|
|
|
3001
|
* setup.py (make_shortcut): Changed things to put pdf version in
|
|
3016
|
* setup.py (make_shortcut): Changed things to put pdf version in
|
|
3002
|
doc/ instead of doc/manual (had to change lyxport a bit).
|
|
3017
|
doc/ instead of doc/manual (had to change lyxport a bit).
|
|
3003
|
|
|
3018
|
|
|
3004
|
* IPython/Magic.py (Profile.string_stats): made profile runs go
|
|
3019
|
* IPython/Magic.py (Profile.string_stats): made profile runs go
|
|
3005
|
through pager (they are long and a pager allows searching, saving,
|
|
3020
|
through pager (they are long and a pager allows searching, saving,
|
|
3006
|
etc.)
|
|
3021
|
etc.)
|
|
3007
|
|
|
3022
|
|
|
3008
|
2002-05-08 Fernando Perez <fperez@colorado.edu>
|
|
3023
|
2002-05-08 Fernando Perez <fperez@colorado.edu>
|
|
3009
|
|
|
3024
|
|
|
3010
|
* Released 0.2.12
|
|
3025
|
* Released 0.2.12
|
|
3011
|
|
|
3026
|
|
|
3012
|
2002-05-06 Fernando Perez <fperez@colorado.edu>
|
|
3027
|
2002-05-06 Fernando Perez <fperez@colorado.edu>
|
|
3013
|
|
|
3028
|
|
|
3014
|
* IPython/Magic.py (Magic.magic_hist): small bug fixed (recently
|
|
3029
|
* IPython/Magic.py (Magic.magic_hist): small bug fixed (recently
|
|
3015
|
introduced); 'hist n1 n2' was broken.
|
|
3030
|
introduced); 'hist n1 n2' was broken.
|
|
3016
|
(Magic.magic_pdb): added optional on/off arguments to @pdb
|
|
3031
|
(Magic.magic_pdb): added optional on/off arguments to @pdb
|
|
3017
|
(Magic.magic_run): added option -i to @run, which executes code in
|
|
3032
|
(Magic.magic_run): added option -i to @run, which executes code in
|
|
3018
|
the IPython namespace instead of a clean one. Also added @irun as
|
|
3033
|
the IPython namespace instead of a clean one. Also added @irun as
|
|
3019
|
an alias to @run -i.
|
|
3034
|
an alias to @run -i.
|
|
3020
|
|
|
3035
|
|
|
3021
|
* IPython/UserConfig/GnuplotMagic.py (magic_gp_set_instance):
|
|
3036
|
* IPython/UserConfig/GnuplotMagic.py (magic_gp_set_instance):
|
|
3022
|
fixed (it didn't really do anything, the namespaces were wrong).
|
|
3037
|
fixed (it didn't really do anything, the namespaces were wrong).
|
|
3023
|
|
|
3038
|
|
|
3024
|
* IPython/Debugger.py (__init__): Added workaround for python 2.1
|
|
3039
|
* IPython/Debugger.py (__init__): Added workaround for python 2.1
|
|
3025
|
|
|
3040
|
|
|
3026
|
* IPython/__init__.py (__all__): Fixed package namespace, now
|
|
3041
|
* IPython/__init__.py (__all__): Fixed package namespace, now
|
|
3027
|
'import IPython' does give access to IPython.<all> as
|
|
3042
|
'import IPython' does give access to IPython.<all> as
|
|
3028
|
expected. Also renamed __release__ to Release.
|
|
3043
|
expected. Also renamed __release__ to Release.
|
|
3029
|
|
|
3044
|
|
|
3030
|
* IPython/Debugger.py (__license__): created new Pdb class which
|
|
3045
|
* IPython/Debugger.py (__license__): created new Pdb class which
|
|
3031
|
functions like a drop-in for the normal pdb.Pdb but does NOT
|
|
3046
|
functions like a drop-in for the normal pdb.Pdb but does NOT
|
|
3032
|
import readline by default. This way it doesn't muck up IPython's
|
|
3047
|
import readline by default. This way it doesn't muck up IPython's
|
|
3033
|
readline handling, and now tab-completion finally works in the
|
|
3048
|
readline handling, and now tab-completion finally works in the
|
|
3034
|
debugger -- sort of. It completes things globally visible, but the
|
|
3049
|
debugger -- sort of. It completes things globally visible, but the
|
|
3035
|
completer doesn't track the stack as pdb walks it. That's a bit
|
|
3050
|
completer doesn't track the stack as pdb walks it. That's a bit
|
|
3036
|
tricky, and I'll have to implement it later.
|
|
3051
|
tricky, and I'll have to implement it later.
|
|
3037
|
|
|
3052
|
|
|
3038
|
2002-05-05 Fernando Perez <fperez@colorado.edu>
|
|
3053
|
2002-05-05 Fernando Perez <fperez@colorado.edu>
|
|
3039
|
|
|
3054
|
|
|
3040
|
* IPython/Magic.py (Magic.magic_oinfo): fixed formatting bug for
|
|
3055
|
* IPython/Magic.py (Magic.magic_oinfo): fixed formatting bug for
|
|
3041
|
magic docstrings when printed via ? (explicit \'s were being
|
|
3056
|
magic docstrings when printed via ? (explicit \'s were being
|
|
3042
|
printed).
|
|
3057
|
printed).
|
|
3043
|
|
|
3058
|
|
|
3044
|
* IPython/ipmaker.py (make_IPython): fixed namespace
|
|
3059
|
* IPython/ipmaker.py (make_IPython): fixed namespace
|
|
3045
|
identification bug. Now variables loaded via logs or command-line
|
|
3060
|
identification bug. Now variables loaded via logs or command-line
|
|
3046
|
files are recognized in the interactive namespace by @who.
|
|
3061
|
files are recognized in the interactive namespace by @who.
|
|
3047
|
|
|
3062
|
|
|
3048
|
* IPython/iplib.py (InteractiveShell.safe_execfile): Fixed bug in
|
|
3063
|
* IPython/iplib.py (InteractiveShell.safe_execfile): Fixed bug in
|
|
3049
|
log replay system stemming from the string form of Structs.
|
|
3064
|
log replay system stemming from the string form of Structs.
|
|
3050
|
|
|
3065
|
|
|
3051
|
* IPython/Magic.py (Macro.__init__): improved macros to properly
|
|
3066
|
* IPython/Magic.py (Macro.__init__): improved macros to properly
|
|
3052
|
handle magic commands in them.
|
|
3067
|
handle magic commands in them.
|
|
3053
|
(Magic.magic_logstart): usernames are now expanded so 'logstart
|
|
3068
|
(Magic.magic_logstart): usernames are now expanded so 'logstart
|
|
3054
|
~/mylog' now works.
|
|
3069
|
~/mylog' now works.
|
|
3055
|
|
|
3070
|
|
|
3056
|
* IPython/iplib.py (complete): fixed bug where paths starting with
|
|
3071
|
* IPython/iplib.py (complete): fixed bug where paths starting with
|
|
3057
|
'/' would be completed as magic names.
|
|
3072
|
'/' would be completed as magic names.
|
|
3058
|
|
|
3073
|
|
|
3059
|
2002-05-04 Fernando Perez <fperez@colorado.edu>
|
|
3074
|
2002-05-04 Fernando Perez <fperez@colorado.edu>
|
|
3060
|
|
|
3075
|
|
|
3061
|
* IPython/Magic.py (Magic.magic_run): added options -p and -f to
|
|
3076
|
* IPython/Magic.py (Magic.magic_run): added options -p and -f to
|
|
3062
|
allow running full programs under the profiler's control.
|
|
3077
|
allow running full programs under the profiler's control.
|
|
3063
|
|
|
3078
|
|
|
3064
|
* IPython/ultraTB.py (FormattedTB.__init__): Added Verbose_novars
|
|
3079
|
* IPython/ultraTB.py (FormattedTB.__init__): Added Verbose_novars
|
|
3065
|
mode to report exceptions verbosely but without formatting
|
|
3080
|
mode to report exceptions verbosely but without formatting
|
|
3066
|
variables. This addresses the issue of ipython 'freezing' (it's
|
|
3081
|
variables. This addresses the issue of ipython 'freezing' (it's
|
|
3067
|
not frozen, but caught in an expensive formatting loop) when huge
|
|
3082
|
not frozen, but caught in an expensive formatting loop) when huge
|
|
3068
|
variables are in the context of an exception.
|
|
3083
|
variables are in the context of an exception.
|
|
3069
|
(VerboseTB.text): Added '--->' markers at line where exception was
|
|
3084
|
(VerboseTB.text): Added '--->' markers at line where exception was
|
|
3070
|
triggered. Much clearer to read, especially in NoColor modes.
|
|
3085
|
triggered. Much clearer to read, especially in NoColor modes.
|
|
3071
|
|
|
3086
|
|
|
3072
|
* IPython/Magic.py (Magic.magic_run): bugfix: -n option had been
|
|
3087
|
* IPython/Magic.py (Magic.magic_run): bugfix: -n option had been
|
|
3073
|
implemented in reverse when changing to the new parse_options().
|
|
3088
|
implemented in reverse when changing to the new parse_options().
|
|
3074
|
|
|
3089
|
|
|
3075
|
2002-05-03 Fernando Perez <fperez@colorado.edu>
|
|
3090
|
2002-05-03 Fernando Perez <fperez@colorado.edu>
|
|
3076
|
|
|
3091
|
|
|
3077
|
* IPython/Magic.py (Magic.parse_options): new function so that
|
|
3092
|
* IPython/Magic.py (Magic.parse_options): new function so that
|
|
3078
|
magics can parse options easier.
|
|
3093
|
magics can parse options easier.
|
|
3079
|
(Magic.magic_prun): new function similar to profile.run(),
|
|
3094
|
(Magic.magic_prun): new function similar to profile.run(),
|
|
3080
|
suggested by Chris Hart.
|
|
3095
|
suggested by Chris Hart.
|
|
3081
|
(Magic.magic_cd): fixed behavior so that it only changes if
|
|
3096
|
(Magic.magic_cd): fixed behavior so that it only changes if
|
|
3082
|
directory actually is in history.
|
|
3097
|
directory actually is in history.
|
|
3083
|
|
|
3098
|
|
|
3084
|
* IPython/usage.py (__doc__): added information about potential
|
|
3099
|
* IPython/usage.py (__doc__): added information about potential
|
|
3085
|
slowness of Verbose exception mode when there are huge data
|
|
3100
|
slowness of Verbose exception mode when there are huge data
|
|
3086
|
structures to be formatted (thanks to Archie Paulson).
|
|
3101
|
structures to be formatted (thanks to Archie Paulson).
|
|
3087
|
|
|
3102
|
|
|
3088
|
* IPython/ipmaker.py (make_IPython): Changed default logging
|
|
3103
|
* IPython/ipmaker.py (make_IPython): Changed default logging
|
|
3089
|
(when simply called with -log) to use curr_dir/ipython.log in
|
|
3104
|
(when simply called with -log) to use curr_dir/ipython.log in
|
|
3090
|
rotate mode. Fixed crash which was occuring with -log before
|
|
3105
|
rotate mode. Fixed crash which was occuring with -log before
|
|
3091
|
(thanks to Jim Boyle).
|
|
3106
|
(thanks to Jim Boyle).
|
|
3092
|
|
|
3107
|
|
|
3093
|
2002-05-01 Fernando Perez <fperez@colorado.edu>
|
|
3108
|
2002-05-01 Fernando Perez <fperez@colorado.edu>
|
|
3094
|
|
|
3109
|
|
|
3095
|
* Released 0.2.11 for these fixes (mainly the ultraTB one which
|
|
3110
|
* Released 0.2.11 for these fixes (mainly the ultraTB one which
|
|
3096
|
was nasty -- though somewhat of a corner case).
|
|
3111
|
was nasty -- though somewhat of a corner case).
|
|
3097
|
|
|
3112
|
|
|
3098
|
* IPython/ultraTB.py (AutoFormattedTB.text): renamed __text to
|
|
3113
|
* IPython/ultraTB.py (AutoFormattedTB.text): renamed __text to
|
|
3099
|
text (was a bug).
|
|
3114
|
text (was a bug).
|
|
3100
|
|
|
3115
|
|
|
3101
|
2002-04-30 Fernando Perez <fperez@colorado.edu>
|
|
3116
|
2002-04-30 Fernando Perez <fperez@colorado.edu>
|
|
3102
|
|
|
3117
|
|
|
3103
|
* IPython/UserConfig/GnuplotMagic.py (magic_gp): Minor fix to add
|
|
3118
|
* IPython/UserConfig/GnuplotMagic.py (magic_gp): Minor fix to add
|
|
3104
|
a print after ^D or ^C from the user so that the In[] prompt
|
|
3119
|
a print after ^D or ^C from the user so that the In[] prompt
|
|
3105
|
doesn't over-run the gnuplot one.
|
|
3120
|
doesn't over-run the gnuplot one.
|
|
3106
|
|
|
3121
|
|
|
3107
|
2002-04-29 Fernando Perez <fperez@colorado.edu>
|
|
3122
|
2002-04-29 Fernando Perez <fperez@colorado.edu>
|
|
3108
|
|
|
3123
|
|
|
3109
|
* Released 0.2.10
|
|
3124
|
* Released 0.2.10
|
|
3110
|
|
|
3125
|
|
|
3111
|
* IPython/__release__.py (version): get date dynamically.
|
|
3126
|
* IPython/__release__.py (version): get date dynamically.
|
|
3112
|
|
|
3127
|
|
|
3113
|
* Misc. documentation updates thanks to Arnd's comments. Also ran
|
|
3128
|
* Misc. documentation updates thanks to Arnd's comments. Also ran
|
|
3114
|
a full spellcheck on the manual (hadn't been done in a while).
|
|
3129
|
a full spellcheck on the manual (hadn't been done in a while).
|
|
3115
|
|
|
3130
|
|
|
3116
|
2002-04-27 Fernando Perez <fperez@colorado.edu>
|
|
3131
|
2002-04-27 Fernando Perez <fperez@colorado.edu>
|
|
3117
|
|
|
3132
|
|
|
3118
|
* IPython/Magic.py (Magic.magic_logstart): Fixed bug where
|
|
3133
|
* IPython/Magic.py (Magic.magic_logstart): Fixed bug where
|
|
3119
|
starting a log in mid-session would reset the input history list.
|
|
3134
|
starting a log in mid-session would reset the input history list.
|
|
3120
|
|
|
3135
|
|
|
3121
|
2002-04-26 Fernando Perez <fperez@colorado.edu>
|
|
3136
|
2002-04-26 Fernando Perez <fperez@colorado.edu>
|
|
3122
|
|
|
3137
|
|
|
3123
|
* IPython/iplib.py (InteractiveShell.wait): Fixed bug where not
|
|
3138
|
* IPython/iplib.py (InteractiveShell.wait): Fixed bug where not
|
|
3124
|
all files were being included in an update. Now anything in
|
|
3139
|
all files were being included in an update. Now anything in
|
|
3125
|
UserConfig that matches [A-Za-z]*.py will go (this excludes
|
|
3140
|
UserConfig that matches [A-Za-z]*.py will go (this excludes
|
|
3126
|
__init__.py)
|
|
3141
|
__init__.py)
|
|
3127
|
|
|
3142
|
|
|
3128
|
2002-04-25 Fernando Perez <fperez@colorado.edu>
|
|
3143
|
2002-04-25 Fernando Perez <fperez@colorado.edu>
|
|
3129
|
|
|
3144
|
|
|
3130
|
* IPython/iplib.py (InteractiveShell.__init__): Added __IPYTHON__
|
|
3145
|
* IPython/iplib.py (InteractiveShell.__init__): Added __IPYTHON__
|
|
3131
|
to __builtins__ so that any form of embedded or imported code can
|
|
3146
|
to __builtins__ so that any form of embedded or imported code can
|
|
3132
|
test for being inside IPython.
|
|
3147
|
test for being inside IPython.
|
|
3133
|
|
|
3148
|
|
|
3134
|
* IPython/UserConfig/GnuplotMagic.py: (magic_gp_set_instance):
|
|
3149
|
* IPython/UserConfig/GnuplotMagic.py: (magic_gp_set_instance):
|
|
3135
|
changed to GnuplotMagic because it's now an importable module,
|
|
3150
|
changed to GnuplotMagic because it's now an importable module,
|
|
3136
|
this makes the name follow that of the standard Gnuplot module.
|
|
3151
|
this makes the name follow that of the standard Gnuplot module.
|
|
3137
|
GnuplotMagic can now be loaded at any time in mid-session.
|
|
3152
|
GnuplotMagic can now be loaded at any time in mid-session.
|
|
3138
|
|
|
3153
|
|
|
3139
|
2002-04-24 Fernando Perez <fperez@colorado.edu>
|
|
3154
|
2002-04-24 Fernando Perez <fperez@colorado.edu>
|
|
3140
|
|
|
3155
|
|
|
3141
|
* IPython/numutils.py: removed SIUnits. It doesn't properly set
|
|
3156
|
* IPython/numutils.py: removed SIUnits. It doesn't properly set
|
|
3142
|
the globals (IPython has its own namespace) and the
|
|
3157
|
the globals (IPython has its own namespace) and the
|
|
3143
|
PhysicalQuantity stuff is much better anyway.
|
|
3158
|
PhysicalQuantity stuff is much better anyway.
|
|
3144
|
|
|
3159
|
|
|
3145
|
* IPython/UserConfig/example-gnuplot.py (g2): Added gnuplot
|
|
3160
|
* IPython/UserConfig/example-gnuplot.py (g2): Added gnuplot
|
|
3146
|
embedding example to standard user directory for
|
|
3161
|
embedding example to standard user directory for
|
|
3147
|
distribution. Also put it in the manual.
|
|
3162
|
distribution. Also put it in the manual.
|
|
3148
|
|
|
3163
|
|
|
3149
|
* IPython/numutils.py (gnuplot_exec): Changed to take a gnuplot
|
|
3164
|
* IPython/numutils.py (gnuplot_exec): Changed to take a gnuplot
|
|
3150
|
instance as first argument (so it doesn't rely on some obscure
|
|
3165
|
instance as first argument (so it doesn't rely on some obscure
|
|
3151
|
hidden global).
|
|
3166
|
hidden global).
|
|
3152
|
|
|
3167
|
|
|
3153
|
* IPython/UserConfig/ipythonrc.py: put () back in accepted
|
|
3168
|
* IPython/UserConfig/ipythonrc.py: put () back in accepted
|
|
3154
|
delimiters. While it prevents ().TAB from working, it allows
|
|
3169
|
delimiters. While it prevents ().TAB from working, it allows
|
|
3155
|
completions in open (... expressions. This is by far a more common
|
|
3170
|
completions in open (... expressions. This is by far a more common
|
|
3156
|
case.
|
|
3171
|
case.
|
|
3157
|
|
|
3172
|
|
|
3158
|
2002-04-23 Fernando Perez <fperez@colorado.edu>
|
|
3173
|
2002-04-23 Fernando Perez <fperez@colorado.edu>
|
|
3159
|
|
|
3174
|
|
|
3160
|
* IPython/Extensions/InterpreterPasteInput.py: new
|
|
3175
|
* IPython/Extensions/InterpreterPasteInput.py: new
|
|
3161
|
syntax-processing module for pasting lines with >>> or ... at the
|
|
3176
|
syntax-processing module for pasting lines with >>> or ... at the
|
|
3162
|
start.
|
|
3177
|
start.
|
|
3163
|
|
|
3178
|
|
|
3164
|
* IPython/Extensions/PhysicalQ_Interactive.py
|
|
3179
|
* IPython/Extensions/PhysicalQ_Interactive.py
|
|
3165
|
(PhysicalQuantityInteractive.__int__): fixed to work with either
|
|
3180
|
(PhysicalQuantityInteractive.__int__): fixed to work with either
|
|
3166
|
Numeric or math.
|
|
3181
|
Numeric or math.
|
|
3167
|
|
|
3182
|
|
|
3168
|
* IPython/UserConfig/ipythonrc-numeric.py: reorganized the
|
|
3183
|
* IPython/UserConfig/ipythonrc-numeric.py: reorganized the
|
|
3169
|
provided profiles. Now we have:
|
|
3184
|
provided profiles. Now we have:
|
|
3170
|
-math -> math module as * and cmath with its own namespace.
|
|
3185
|
-math -> math module as * and cmath with its own namespace.
|
|
3171
|
-numeric -> Numeric as *, plus gnuplot & grace
|
|
3186
|
-numeric -> Numeric as *, plus gnuplot & grace
|
|
3172
|
-physics -> same as before
|
|
3187
|
-physics -> same as before
|
|
3173
|
|
|
3188
|
|
|
3174
|
* IPython/Magic.py (Magic.magic_magic): Fixed bug where
|
|
3189
|
* IPython/Magic.py (Magic.magic_magic): Fixed bug where
|
|
3175
|
user-defined magics wouldn't be found by @magic if they were
|
|
3190
|
user-defined magics wouldn't be found by @magic if they were
|
|
3176
|
defined as class methods. Also cleaned up the namespace search
|
|
3191
|
defined as class methods. Also cleaned up the namespace search
|
|
3177
|
logic and the string building (to use %s instead of many repeated
|
|
3192
|
logic and the string building (to use %s instead of many repeated
|
|
3178
|
string adds).
|
|
3193
|
string adds).
|
|
3179
|
|
|
3194
|
|
|
3180
|
* IPython/UserConfig/example-magic.py (magic_foo): updated example
|
|
3195
|
* IPython/UserConfig/example-magic.py (magic_foo): updated example
|
|
3181
|
of user-defined magics to operate with class methods (cleaner, in
|
|
3196
|
of user-defined magics to operate with class methods (cleaner, in
|
|
3182
|
line with the gnuplot code).
|
|
3197
|
line with the gnuplot code).
|
|
3183
|
|
|
3198
|
|
|
3184
|
2002-04-22 Fernando Perez <fperez@colorado.edu>
|
|
3199
|
2002-04-22 Fernando Perez <fperez@colorado.edu>
|
|
3185
|
|
|
3200
|
|
|
3186
|
* setup.py: updated dependency list so that manual is updated when
|
|
3201
|
* setup.py: updated dependency list so that manual is updated when
|
|
3187
|
all included files change.
|
|
3202
|
all included files change.
|
|
3188
|
|
|
3203
|
|
|
3189
|
* IPython/ipmaker.py (make_IPython): Fixed bug which was ignoring
|
|
3204
|
* IPython/ipmaker.py (make_IPython): Fixed bug which was ignoring
|
|
3190
|
the delimiter removal option (the fix is ugly right now).
|
|
3205
|
the delimiter removal option (the fix is ugly right now).
|
|
3191
|
|
|
3206
|
|
|
3192
|
* IPython/UserConfig/ipythonrc-physics.py: simplified not to load
|
|
3207
|
* IPython/UserConfig/ipythonrc-physics.py: simplified not to load
|
|
3193
|
all of the math profile (quicker loading, no conflict between
|
|
3208
|
all of the math profile (quicker loading, no conflict between
|
|
3194
|
g-9.8 and g-gnuplot).
|
|
3209
|
g-9.8 and g-gnuplot).
|
|
3195
|
|
|
3210
|
|
|
3196
|
* IPython/CrashHandler.py (CrashHandler.__call__): changed default
|
|
3211
|
* IPython/CrashHandler.py (CrashHandler.__call__): changed default
|
|
3197
|
name of post-mortem files to IPython_crash_report.txt.
|
|
3212
|
name of post-mortem files to IPython_crash_report.txt.
|
|
3198
|
|
|
3213
|
|
|
3199
|
* Cleanup/update of the docs. Added all the new readline info and
|
|
3214
|
* Cleanup/update of the docs. Added all the new readline info and
|
|
3200
|
formatted all lists as 'real lists'.
|
|
3215
|
formatted all lists as 'real lists'.
|
|
3201
|
|
|
3216
|
|
|
3202
|
* IPython/ipmaker.py (make_IPython): removed now-obsolete
|
|
3217
|
* IPython/ipmaker.py (make_IPython): removed now-obsolete
|
|
3203
|
tab-completion options, since the full readline parse_and_bind is
|
|
3218
|
tab-completion options, since the full readline parse_and_bind is
|
|
3204
|
now accessible.
|
|
3219
|
now accessible.
|
|
3205
|
|
|
3220
|
|
|
3206
|
* IPython/iplib.py (InteractiveShell.init_readline): Changed
|
|
3221
|
* IPython/iplib.py (InteractiveShell.init_readline): Changed
|
|
3207
|
handling of readline options. Now users can specify any string to
|
|
3222
|
handling of readline options. Now users can specify any string to
|
|
3208
|
be passed to parse_and_bind(), as well as the delimiters to be
|
|
3223
|
be passed to parse_and_bind(), as well as the delimiters to be
|
|
3209
|
removed.
|
|
3224
|
removed.
|
|
3210
|
(InteractiveShell.__init__): Added __name__ to the global
|
|
3225
|
(InteractiveShell.__init__): Added __name__ to the global
|
|
3211
|
namespace so that things like Itpl which rely on its existence
|
|
3226
|
namespace so that things like Itpl which rely on its existence
|
|
3212
|
don't crash.
|
|
3227
|
don't crash.
|
|
3213
|
(InteractiveShell._prefilter): Defined the default with a _ so
|
|
3228
|
(InteractiveShell._prefilter): Defined the default with a _ so
|
|
3214
|
that prefilter() is easier to override, while the default one
|
|
3229
|
that prefilter() is easier to override, while the default one
|
|
3215
|
remains available.
|
|
3230
|
remains available.
|
|
3216
|
|
|
3231
|
|
|
3217
|
2002-04-18 Fernando Perez <fperez@colorado.edu>
|
|
3232
|
2002-04-18 Fernando Perez <fperez@colorado.edu>
|
|
3218
|
|
|
3233
|
|
|
3219
|
* Added information about pdb in the docs.
|
|
3234
|
* Added information about pdb in the docs.
|
|
3220
|
|
|
3235
|
|
|
3221
|
2002-04-17 Fernando Perez <fperez@colorado.edu>
|
|
3236
|
2002-04-17 Fernando Perez <fperez@colorado.edu>
|
|
3222
|
|
|
3237
|
|
|
3223
|
* IPython/ipmaker.py (make_IPython): added rc_override option to
|
|
3238
|
* IPython/ipmaker.py (make_IPython): added rc_override option to
|
|
3224
|
allow passing config options at creation time which may override
|
|
3239
|
allow passing config options at creation time which may override
|
|
3225
|
anything set in the config files or command line. This is
|
|
3240
|
anything set in the config files or command line. This is
|
|
3226
|
particularly useful for configuring embedded instances.
|
|
3241
|
particularly useful for configuring embedded instances.
|
|
3227
|
|
|
3242
|
|
|
3228
|
2002-04-15 Fernando Perez <fperez@colorado.edu>
|
|
3243
|
2002-04-15 Fernando Perez <fperez@colorado.edu>
|
|
3229
|
|
|
3244
|
|
|
3230
|
* IPython/Logger.py (Logger.log): Fixed a nasty bug which could
|
|
3245
|
* IPython/Logger.py (Logger.log): Fixed a nasty bug which could
|
|
3231
|
crash embedded instances because of the input cache falling out of
|
|
3246
|
crash embedded instances because of the input cache falling out of
|
|
3232
|
sync with the output counter.
|
|
3247
|
sync with the output counter.
|
|
3233
|
|
|
3248
|
|
|
3234
|
* IPython/Shell.py (IPythonShellEmbed.__init__): added a debug
|
|
3249
|
* IPython/Shell.py (IPythonShellEmbed.__init__): added a debug
|
|
3235
|
mode which calls pdb after an uncaught exception in IPython itself.
|
|
3250
|
mode which calls pdb after an uncaught exception in IPython itself.
|
|
3236
|
|
|
3251
|
|
|
3237
|
2002-04-14 Fernando Perez <fperez@colorado.edu>
|
|
3252
|
2002-04-14 Fernando Perez <fperez@colorado.edu>
|
|
3238
|
|
|
3253
|
|
|
3239
|
* IPython/iplib.py (InteractiveShell.showtraceback): pdb mucks up
|
|
3254
|
* IPython/iplib.py (InteractiveShell.showtraceback): pdb mucks up
|
|
3240
|
readline, fix it back after each call.
|
|
3255
|
readline, fix it back after each call.
|
|
3241
|
|
|
3256
|
|
|
3242
|
* IPython/ultraTB.py (AutoFormattedTB.__text): made text a private
|
|
3257
|
* IPython/ultraTB.py (AutoFormattedTB.__text): made text a private
|
|
3243
|
method to force all access via __call__(), which guarantees that
|
|
3258
|
method to force all access via __call__(), which guarantees that
|
|
3244
|
traceback references are properly deleted.
|
|
3259
|
traceback references are properly deleted.
|
|
3245
|
|
|
3260
|
|
|
3246
|
* IPython/Prompts.py (CachedOutput._display): minor fixes to
|
|
3261
|
* IPython/Prompts.py (CachedOutput._display): minor fixes to
|
|
3247
|
improve printing when pprint is in use.
|
|
3262
|
improve printing when pprint is in use.
|
|
3248
|
|
|
3263
|
|
|
3249
|
2002-04-13 Fernando Perez <fperez@colorado.edu>
|
|
3264
|
2002-04-13 Fernando Perez <fperez@colorado.edu>
|
|
3250
|
|
|
3265
|
|
|
3251
|
* IPython/Shell.py (IPythonShellEmbed.__call__): SystemExit
|
|
3266
|
* IPython/Shell.py (IPythonShellEmbed.__call__): SystemExit
|
|
3252
|
exceptions aren't caught anymore. If the user triggers one, he
|
|
3267
|
exceptions aren't caught anymore. If the user triggers one, he
|
|
3253
|
should know why he's doing it and it should go all the way up,
|
|
3268
|
should know why he's doing it and it should go all the way up,
|
|
3254
|
just like any other exception. So now @abort will fully kill the
|
|
3269
|
just like any other exception. So now @abort will fully kill the
|
|
3255
|
embedded interpreter and the embedding code (unless that happens
|
|
3270
|
embedded interpreter and the embedding code (unless that happens
|
|
3256
|
to catch SystemExit).
|
|
3271
|
to catch SystemExit).
|
|
3257
|
|
|
3272
|
|
|
3258
|
* IPython/ultraTB.py (VerboseTB.__init__): added a call_pdb flag
|
|
3273
|
* IPython/ultraTB.py (VerboseTB.__init__): added a call_pdb flag
|
|
3259
|
and a debugger() method to invoke the interactive pdb debugger
|
|
3274
|
and a debugger() method to invoke the interactive pdb debugger
|
|
3260
|
after printing exception information. Also added the corresponding
|
|
3275
|
after printing exception information. Also added the corresponding
|
|
3261
|
-pdb option and @pdb magic to control this feature, and updated
|
|
3276
|
-pdb option and @pdb magic to control this feature, and updated
|
|
3262
|
the docs. After a suggestion from Christopher Hart
|
|
3277
|
the docs. After a suggestion from Christopher Hart
|
|
3263
|
(hart-AT-caltech.edu).
|
|
3278
|
(hart-AT-caltech.edu).
|
|
3264
|
|
|
3279
|
|
|
3265
|
2002-04-12 Fernando Perez <fperez@colorado.edu>
|
|
3280
|
2002-04-12 Fernando Perez <fperez@colorado.edu>
|
|
3266
|
|
|
3281
|
|
|
3267
|
* IPython/Shell.py (IPythonShellEmbed.__init__): modified to use
|
|
3282
|
* IPython/Shell.py (IPythonShellEmbed.__init__): modified to use
|
|
3268
|
the exception handlers defined by the user (not the CrashHandler)
|
|
3283
|
the exception handlers defined by the user (not the CrashHandler)
|
|
3269
|
so that user exceptions don't trigger an ipython bug report.
|
|
3284
|
so that user exceptions don't trigger an ipython bug report.
|
|
3270
|
|
|
3285
|
|
|
3271
|
* IPython/ultraTB.py (ColorTB.__init__): made the color scheme
|
|
3286
|
* IPython/ultraTB.py (ColorTB.__init__): made the color scheme
|
|
3272
|
configurable (it should have always been so).
|
|
3287
|
configurable (it should have always been so).
|
|
3273
|
|
|
3288
|
|
|
3274
|
2002-03-26 Fernando Perez <fperez@colorado.edu>
|
|
3289
|
2002-03-26 Fernando Perez <fperez@colorado.edu>
|
|
3275
|
|
|
3290
|
|
|
3276
|
* IPython/Shell.py (IPythonShellEmbed.__call__): many changes here
|
|
3291
|
* IPython/Shell.py (IPythonShellEmbed.__call__): many changes here
|
|
3277
|
and there to fix embedding namespace issues. This should all be
|
|
3292
|
and there to fix embedding namespace issues. This should all be
|
|
3278
|
done in a more elegant way.
|
|
3293
|
done in a more elegant way.
|
|
3279
|
|
|
3294
|
|
|
3280
|
2002-03-25 Fernando Perez <fperez@colorado.edu>
|
|
3295
|
2002-03-25 Fernando Perez <fperez@colorado.edu>
|
|
3281
|
|
|
3296
|
|
|
3282
|
* IPython/genutils.py (get_home_dir): Try to make it work under
|
|
3297
|
* IPython/genutils.py (get_home_dir): Try to make it work under
|
|
3283
|
win9x also.
|
|
3298
|
win9x also.
|
|
3284
|
|
|
3299
|
|
|
3285
|
2002-03-20 Fernando Perez <fperez@colorado.edu>
|
|
3300
|
2002-03-20 Fernando Perez <fperez@colorado.edu>
|
|
3286
|
|
|
3301
|
|
|
3287
|
* IPython/Shell.py (IPythonShellEmbed.__init__): leave
|
|
3302
|
* IPython/Shell.py (IPythonShellEmbed.__init__): leave
|
|
3288
|
sys.displayhook untouched upon __init__.
|
|
3303
|
sys.displayhook untouched upon __init__.
|
|
3289
|
|
|
3304
|
|
|
3290
|
2002-03-19 Fernando Perez <fperez@colorado.edu>
|
|
3305
|
2002-03-19 Fernando Perez <fperez@colorado.edu>
|
|
3291
|
|
|
3306
|
|
|
3292
|
* Released 0.2.9 (for embedding bug, basically).
|
|
3307
|
* Released 0.2.9 (for embedding bug, basically).
|
|
3293
|
|
|
3308
|
|
|
3294
|
* IPython/Shell.py (IPythonShellEmbed.__call__): Trap SystemExit
|
|
3309
|
* IPython/Shell.py (IPythonShellEmbed.__call__): Trap SystemExit
|
|
3295
|
exceptions so that enclosing shell's state can be restored.
|
|
3310
|
exceptions so that enclosing shell's state can be restored.
|
|
3296
|
|
|
3311
|
|
|
3297
|
* Changed magic_gnuplot.py to magic-gnuplot.py to standardize
|
|
3312
|
* Changed magic_gnuplot.py to magic-gnuplot.py to standardize
|
|
3298
|
naming conventions in the .ipython/ dir.
|
|
3313
|
naming conventions in the .ipython/ dir.
|
|
3299
|
|
|
3314
|
|
|
3300
|
* IPython/iplib.py (InteractiveShell.init_readline): removed '-'
|
|
3315
|
* IPython/iplib.py (InteractiveShell.init_readline): removed '-'
|
|
3301
|
from delimiters list so filenames with - in them get expanded.
|
|
3316
|
from delimiters list so filenames with - in them get expanded.
|
|
3302
|
|
|
3317
|
|
|
3303
|
* IPython/Shell.py (IPythonShellEmbed.__call__): fixed bug with
|
|
3318
|
* IPython/Shell.py (IPythonShellEmbed.__call__): fixed bug with
|
|
3304
|
sys.displayhook not being properly restored after an embedded call.
|
|
3319
|
sys.displayhook not being properly restored after an embedded call.
|
|
3305
|
|
|
3320
|
|
|
3306
|
2002-03-18 Fernando Perez <fperez@colorado.edu>
|
|
3321
|
2002-03-18 Fernando Perez <fperez@colorado.edu>
|
|
3307
|
|
|
3322
|
|
|
3308
|
* Released 0.2.8
|
|
3323
|
* Released 0.2.8
|
|
3309
|
|
|
3324
|
|
|
3310
|
* IPython/iplib.py (InteractiveShell.user_setup): fixed bug where
|
|
3325
|
* IPython/iplib.py (InteractiveShell.user_setup): fixed bug where
|
|
3311
|
some files weren't being included in a -upgrade.
|
|
3326
|
some files weren't being included in a -upgrade.
|
|
3312
|
(InteractiveShell.init_readline): Added 'set show-all-if-ambiguous
|
|
3327
|
(InteractiveShell.init_readline): Added 'set show-all-if-ambiguous
|
|
3313
|
on' so that the first tab completes.
|
|
3328
|
on' so that the first tab completes.
|
|
3314
|
(InteractiveShell.handle_magic): fixed bug with spaces around
|
|
3329
|
(InteractiveShell.handle_magic): fixed bug with spaces around
|
|
3315
|
quotes breaking many magic commands.
|
|
3330
|
quotes breaking many magic commands.
|
|
3316
|
|
|
3331
|
|
|
3317
|
* setup.py: added note about ignoring the syntax error messages at
|
|
3332
|
* setup.py: added note about ignoring the syntax error messages at
|
|
3318
|
installation.
|
|
3333
|
installation.
|
|
3319
|
|
|
3334
|
|
|
3320
|
* IPython/UserConfig/magic_gnuplot.py (magic_gp): finished
|
|
3335
|
* IPython/UserConfig/magic_gnuplot.py (magic_gp): finished
|
|
3321
|
streamlining the gnuplot interface, now there's only one magic @gp.
|
|
3336
|
streamlining the gnuplot interface, now there's only one magic @gp.
|
|
3322
|
|
|
3337
|
|
|
3323
|
2002-03-17 Fernando Perez <fperez@colorado.edu>
|
|
3338
|
2002-03-17 Fernando Perez <fperez@colorado.edu>
|
|
3324
|
|
|
3339
|
|
|
3325
|
* IPython/UserConfig/magic_gnuplot.py: new name for the
|
|
3340
|
* IPython/UserConfig/magic_gnuplot.py: new name for the
|
|
3326
|
example-magic_pm.py file. Much enhanced system, now with a shell
|
|
3341
|
example-magic_pm.py file. Much enhanced system, now with a shell
|
|
3327
|
for communicating directly with gnuplot, one command at a time.
|
|
3342
|
for communicating directly with gnuplot, one command at a time.
|
|
3328
|
|
|
3343
|
|
|
3329
|
* IPython/Magic.py (Magic.magic_run): added option -n to prevent
|
|
3344
|
* IPython/Magic.py (Magic.magic_run): added option -n to prevent
|
|
3330
|
setting __name__=='__main__'.
|
|
3345
|
setting __name__=='__main__'.
|
|
3331
|
|
|
3346
|
|
|
3332
|
* IPython/UserConfig/example-magic_pm.py (magic_pm): Added
|
|
3347
|
* IPython/UserConfig/example-magic_pm.py (magic_pm): Added
|
|
3333
|
mini-shell for accessing gnuplot from inside ipython. Should
|
|
3348
|
mini-shell for accessing gnuplot from inside ipython. Should
|
|
3334
|
extend it later for grace access too. Inspired by Arnd's
|
|
3349
|
extend it later for grace access too. Inspired by Arnd's
|
|
3335
|
suggestion.
|
|
3350
|
suggestion.
|
|
3336
|
|
|
3351
|
|
|
3337
|
* IPython/iplib.py (InteractiveShell.handle_magic): fixed bug when
|
|
3352
|
* IPython/iplib.py (InteractiveShell.handle_magic): fixed bug when
|
|
3338
|
calling magic functions with () in their arguments. Thanks to Arnd
|
|
3353
|
calling magic functions with () in their arguments. Thanks to Arnd
|
|
3339
|
Baecker for pointing this to me.
|
|
3354
|
Baecker for pointing this to me.
|
|
3340
|
|
|
3355
|
|
|
3341
|
* IPython/numutils.py (sum_flat): fixed bug. Would recurse
|
|
3356
|
* IPython/numutils.py (sum_flat): fixed bug. Would recurse
|
|
3342
|
infinitely for integer or complex arrays (only worked with floats).
|
|
3357
|
infinitely for integer or complex arrays (only worked with floats).
|
|
3343
|
|
|
3358
|
|
|
3344
|
2002-03-16 Fernando Perez <fperez@colorado.edu>
|
|
3359
|
2002-03-16 Fernando Perez <fperez@colorado.edu>
|
|
3345
|
|
|
3360
|
|
|
3346
|
* setup.py: Merged setup and setup_windows into a single script
|
|
3361
|
* setup.py: Merged setup and setup_windows into a single script
|
|
3347
|
which properly handles things for windows users.
|
|
3362
|
which properly handles things for windows users.
|
|
3348
|
|
|
3363
|
|
|
3349
|
2002-03-15 Fernando Perez <fperez@colorado.edu>
|
|
3364
|
2002-03-15 Fernando Perez <fperez@colorado.edu>
|
|
3350
|
|
|
3365
|
|
|
3351
|
* Big change to the manual: now the magics are all automatically
|
|
3366
|
* Big change to the manual: now the magics are all automatically
|
|
3352
|
documented. This information is generated from their docstrings
|
|
3367
|
documented. This information is generated from their docstrings
|
|
3353
|
and put in a latex file included by the manual lyx file. This way
|
|
3368
|
and put in a latex file included by the manual lyx file. This way
|
|
3354
|
we get always up to date information for the magics. The manual
|
|
3369
|
we get always up to date information for the magics. The manual
|
|
3355
|
now also has proper version information, also auto-synced.
|
|
3370
|
now also has proper version information, also auto-synced.
|
|
3356
|
|
|
3371
|
|
|
3357
|
For this to work, an undocumented --magic_docstrings option was added.
|
|
3372
|
For this to work, an undocumented --magic_docstrings option was added.
|
|
3358
|
|
|
3373
|
|
|
3359
|
2002-03-13 Fernando Perez <fperez@colorado.edu>
|
|
3374
|
2002-03-13 Fernando Perez <fperez@colorado.edu>
|
|
3360
|
|
|
3375
|
|
|
3361
|
* IPython/ultraTB.py (TermColors): fixed problem with dark colors
|
|
3376
|
* IPython/ultraTB.py (TermColors): fixed problem with dark colors
|
|
3362
|
under CDE terminals. An explicit ;2 color reset is needed in the escapes.
|
|
3377
|
under CDE terminals. An explicit ;2 color reset is needed in the escapes.
|
|
3363
|
|
|
3378
|
|
|
3364
|
2002-03-12 Fernando Perez <fperez@colorado.edu>
|
|
3379
|
2002-03-12 Fernando Perez <fperez@colorado.edu>
|
|
3365
|
|
|
3380
|
|
|
3366
|
* IPython/ultraTB.py (TermColors): changed color escapes again to
|
|
3381
|
* IPython/ultraTB.py (TermColors): changed color escapes again to
|
|
3367
|
fix the (old, reintroduced) line-wrapping bug. Basically, if
|
|
3382
|
fix the (old, reintroduced) line-wrapping bug. Basically, if
|
|
3368
|
\001..\002 aren't given in the color escapes, lines get wrapped
|
|
3383
|
\001..\002 aren't given in the color escapes, lines get wrapped
|
|
3369
|
weirdly. But giving those screws up old xterms and emacs terms. So
|
|
3384
|
weirdly. But giving those screws up old xterms and emacs terms. So
|
|
3370
|
I added some logic for emacs terms to be ok, but I can't identify old
|
|
3385
|
I added some logic for emacs terms to be ok, but I can't identify old
|
|
3371
|
xterms separately ($TERM=='xterm' for many terminals, like konsole).
|
|
3386
|
xterms separately ($TERM=='xterm' for many terminals, like konsole).
|
|
3372
|
|
|
3387
|
|
|
3373
|
2002-03-10 Fernando Perez <fperez@colorado.edu>
|
|
3388
|
2002-03-10 Fernando Perez <fperez@colorado.edu>
|
|
3374
|
|
|
3389
|
|
|
3375
|
* IPython/usage.py (__doc__): Various documentation cleanups and
|
|
3390
|
* IPython/usage.py (__doc__): Various documentation cleanups and
|
|
3376
|
updates, both in usage docstrings and in the manual.
|
|
3391
|
updates, both in usage docstrings and in the manual.
|
|
3377
|
|
|
3392
|
|
|
3378
|
* IPython/Prompts.py (CachedOutput.set_colors): cleanups for
|
|
3393
|
* IPython/Prompts.py (CachedOutput.set_colors): cleanups for
|
|
3379
|
handling of caching. Set minimum acceptabe value for having a
|
|
3394
|
handling of caching. Set minimum acceptabe value for having a
|
|
3380
|
cache at 20 values.
|
|
3395
|
cache at 20 values.
|
|
3381
|
|
|
3396
|
|
|
3382
|
* IPython/iplib.py (InteractiveShell.user_setup): moved the
|
|
3397
|
* IPython/iplib.py (InteractiveShell.user_setup): moved the
|
|
3383
|
install_first_time function to a method, renamed it and added an
|
|
3398
|
install_first_time function to a method, renamed it and added an
|
|
3384
|
'upgrade' mode. Now people can update their config directory with
|
|
3399
|
'upgrade' mode. Now people can update their config directory with
|
|
3385
|
a simple command line switch (-upgrade, also new).
|
|
3400
|
a simple command line switch (-upgrade, also new).
|
|
3386
|
|
|
3401
|
|
|
3387
|
* IPython/Magic.py (Magic.magic_pfile): Made @pfile an alias to
|
|
3402
|
* IPython/Magic.py (Magic.magic_pfile): Made @pfile an alias to
|
|
3388
|
@file (convenient for automagic users under Python >= 2.2).
|
|
3403
|
@file (convenient for automagic users under Python >= 2.2).
|
|
3389
|
Removed @files (it seemed more like a plural than an abbrev. of
|
|
3404
|
Removed @files (it seemed more like a plural than an abbrev. of
|
|
3390
|
'file show').
|
|
3405
|
'file show').
|
|
3391
|
|
|
3406
|
|
|
3392
|
* IPython/iplib.py (install_first_time): Fixed crash if there were
|
|
3407
|
* IPython/iplib.py (install_first_time): Fixed crash if there were
|
|
3393
|
backup files ('~') in .ipython/ install directory.
|
|
3408
|
backup files ('~') in .ipython/ install directory.
|
|
3394
|
|
|
3409
|
|
|
3395
|
* IPython/ipmaker.py (make_IPython): fixes for new prompt
|
|
3410
|
* IPython/ipmaker.py (make_IPython): fixes for new prompt
|
|
3396
|
system. Things look fine, but these changes are fairly
|
|
3411
|
system. Things look fine, but these changes are fairly
|
|
3397
|
intrusive. Test them for a few days.
|
|
3412
|
intrusive. Test them for a few days.
|
|
3398
|
|
|
3413
|
|
|
3399
|
* IPython/Prompts.py (CachedOutput.__init__): Massive rewrite of
|
|
3414
|
* IPython/Prompts.py (CachedOutput.__init__): Massive rewrite of
|
|
3400
|
the prompts system. Now all in/out prompt strings are user
|
|
3415
|
the prompts system. Now all in/out prompt strings are user
|
|
3401
|
controllable. This is particularly useful for embedding, as one
|
|
3416
|
controllable. This is particularly useful for embedding, as one
|
|
3402
|
can tag embedded instances with particular prompts.
|
|
3417
|
can tag embedded instances with particular prompts.
|
|
3403
|
|
|
3418
|
|
|
3404
|
Also removed global use of sys.ps1/2, which now allows nested
|
|
3419
|
Also removed global use of sys.ps1/2, which now allows nested
|
|
3405
|
embeddings without any problems. Added command-line options for
|
|
3420
|
embeddings without any problems. Added command-line options for
|
|
3406
|
the prompt strings.
|
|
3421
|
the prompt strings.
|
|
3407
|
|
|
3422
|
|
|
3408
|
2002-03-08 Fernando Perez <fperez@colorado.edu>
|
|
3423
|
2002-03-08 Fernando Perez <fperez@colorado.edu>
|
|
3409
|
|
|
3424
|
|
|
3410
|
* IPython/UserConfig/example-embed-short.py (ipshell): added
|
|
3425
|
* IPython/UserConfig/example-embed-short.py (ipshell): added
|
|
3411
|
example file with the bare minimum code for embedding.
|
|
3426
|
example file with the bare minimum code for embedding.
|
|
3412
|
|
|
3427
|
|
|
3413
|
* IPython/Shell.py (IPythonShellEmbed.set_dummy_mode): added
|
|
3428
|
* IPython/Shell.py (IPythonShellEmbed.set_dummy_mode): added
|
|
3414
|
functionality for the embeddable shell to be activated/deactivated
|
|
3429
|
functionality for the embeddable shell to be activated/deactivated
|
|
3415
|
either globally or at each call.
|
|
3430
|
either globally or at each call.
|
|
3416
|
|
|
3431
|
|
|
3417
|
* IPython/Prompts.py (Prompt1.auto_rewrite): Fixes the problem of
|
|
3432
|
* IPython/Prompts.py (Prompt1.auto_rewrite): Fixes the problem of
|
|
3418
|
rewriting the prompt with '--->' for auto-inputs with proper
|
|
3433
|
rewriting the prompt with '--->' for auto-inputs with proper
|
|
3419
|
coloring. Now the previous UGLY hack in handle_auto() is gone, and
|
|
3434
|
coloring. Now the previous UGLY hack in handle_auto() is gone, and
|
|
3420
|
this is handled by the prompts class itself, as it should.
|
|
3435
|
this is handled by the prompts class itself, as it should.
|
|
3421
|
|
|
3436
|
|
|
3422
|
2002-03-05 Fernando Perez <fperez@colorado.edu>
|
|
3437
|
2002-03-05 Fernando Perez <fperez@colorado.edu>
|
|
3423
|
|
|
3438
|
|
|
3424
|
* IPython/Magic.py (Magic.magic_logstart): Changed @log to
|
|
3439
|
* IPython/Magic.py (Magic.magic_logstart): Changed @log to
|
|
3425
|
@logstart to avoid name clashes with the math log function.
|
|
3440
|
@logstart to avoid name clashes with the math log function.
|
|
3426
|
|
|
3441
|
|
|
3427
|
* Big updates to X/Emacs section of the manual.
|
|
3442
|
* Big updates to X/Emacs section of the manual.
|
|
3428
|
|
|
3443
|
|
|
3429
|
* Removed ipython_emacs. Milan explained to me how to pass
|
|
3444
|
* Removed ipython_emacs. Milan explained to me how to pass
|
|
3430
|
arguments to ipython through Emacs. Some day I'm going to end up
|
|
3445
|
arguments to ipython through Emacs. Some day I'm going to end up
|
|
3431
|
learning some lisp...
|
|
3446
|
learning some lisp...
|
|
3432
|
|
|
3447
|
|
|
3433
|
2002-03-04 Fernando Perez <fperez@colorado.edu>
|
|
3448
|
2002-03-04 Fernando Perez <fperez@colorado.edu>
|
|
3434
|
|
|
3449
|
|
|
3435
|
* IPython/ipython_emacs: Created script to be used as the
|
|
3450
|
* IPython/ipython_emacs: Created script to be used as the
|
|
3436
|
py-python-command Emacs variable so we can pass IPython
|
|
3451
|
py-python-command Emacs variable so we can pass IPython
|
|
3437
|
parameters. I can't figure out how to tell Emacs directly to pass
|
|
3452
|
parameters. I can't figure out how to tell Emacs directly to pass
|
|
3438
|
parameters to IPython, so a dummy shell script will do it.
|
|
3453
|
parameters to IPython, so a dummy shell script will do it.
|
|
3439
|
|
|
3454
|
|
|
3440
|
Other enhancements made for things to work better under Emacs'
|
|
3455
|
Other enhancements made for things to work better under Emacs'
|
|
3441
|
various types of terminals. Many thanks to Milan Zamazal
|
|
3456
|
various types of terminals. Many thanks to Milan Zamazal
|
|
3442
|
<pdm-AT-zamazal.org> for all the suggestions and pointers.
|
|
3457
|
<pdm-AT-zamazal.org> for all the suggestions and pointers.
|
|
3443
|
|
|
3458
|
|
|
3444
|
2002-03-01 Fernando Perez <fperez@colorado.edu>
|
|
3459
|
2002-03-01 Fernando Perez <fperez@colorado.edu>
|
|
3445
|
|
|
3460
|
|
|
3446
|
* IPython/ipmaker.py (make_IPython): added a --readline! option so
|
|
3461
|
* IPython/ipmaker.py (make_IPython): added a --readline! option so
|
|
3447
|
that loading of readline is now optional. This gives better
|
|
3462
|
that loading of readline is now optional. This gives better
|
|
3448
|
control to emacs users.
|
|
3463
|
control to emacs users.
|
|
3449
|
|
|
3464
|
|
|
3450
|
* IPython/ultraTB.py (__date__): Modified color escape sequences
|
|
3465
|
* IPython/ultraTB.py (__date__): Modified color escape sequences
|
|
3451
|
and now things work fine under xterm and in Emacs' term buffers
|
|
3466
|
and now things work fine under xterm and in Emacs' term buffers
|
|
3452
|
(though not shell ones). Well, in emacs you get colors, but all
|
|
3467
|
(though not shell ones). Well, in emacs you get colors, but all
|
|
3453
|
seem to be 'light' colors (no difference between dark and light
|
|
3468
|
seem to be 'light' colors (no difference between dark and light
|
|
3454
|
ones). But the garbage chars are gone, and also in xterms. It
|
|
3469
|
ones). But the garbage chars are gone, and also in xterms. It
|
|
3455
|
seems that now I'm using 'cleaner' ansi sequences.
|
|
3470
|
seems that now I'm using 'cleaner' ansi sequences.
|
|
3456
|
|
|
3471
|
|
|
3457
|
2002-02-21 Fernando Perez <fperez@colorado.edu>
|
|
3472
|
2002-02-21 Fernando Perez <fperez@colorado.edu>
|
|
3458
|
|
|
3473
|
|
|
3459
|
* Released 0.2.7 (mainly to publish the scoping fix).
|
|
3474
|
* Released 0.2.7 (mainly to publish the scoping fix).
|
|
3460
|
|
|
3475
|
|
|
3461
|
* IPython/Logger.py (Logger.logstate): added. A corresponding
|
|
3476
|
* IPython/Logger.py (Logger.logstate): added. A corresponding
|
|
3462
|
@logstate magic was created.
|
|
3477
|
@logstate magic was created.
|
|
3463
|
|
|
3478
|
|
|
3464
|
* IPython/Magic.py: fixed nested scoping problem under Python
|
|
3479
|
* IPython/Magic.py: fixed nested scoping problem under Python
|
|
3465
|
2.1.x (automagic wasn't working).
|
|
3480
|
2.1.x (automagic wasn't working).
|
|
3466
|
|
|
3481
|
|
|
3467
|
2002-02-20 Fernando Perez <fperez@colorado.edu>
|
|
3482
|
2002-02-20 Fernando Perez <fperez@colorado.edu>
|
|
3468
|
|
|
3483
|
|
|
3469
|
* Released 0.2.6.
|
|
3484
|
* Released 0.2.6.
|
|
3470
|
|
|
3485
|
|
|
3471
|
* IPython/OutputTrap.py (OutputTrap.__init__): added a 'quiet'
|
|
3486
|
* IPython/OutputTrap.py (OutputTrap.__init__): added a 'quiet'
|
|
3472
|
option so that logs can come out without any headers at all.
|
|
3487
|
option so that logs can come out without any headers at all.
|
|
3473
|
|
|
3488
|
|
|
3474
|
* IPython/UserConfig/ipythonrc-scipy.py: created a profile for
|
|
3489
|
* IPython/UserConfig/ipythonrc-scipy.py: created a profile for
|
|
3475
|
SciPy.
|
|
3490
|
SciPy.
|
|
3476
|
|
|
3491
|
|
|
3477
|
* IPython/iplib.py (InteractiveShell.embed_mainloop): Changed so
|
|
3492
|
* IPython/iplib.py (InteractiveShell.embed_mainloop): Changed so
|
|
3478
|
that embedded IPython calls don't require vars() to be explicitly
|
|
3493
|
that embedded IPython calls don't require vars() to be explicitly
|
|
3479
|
passed. Now they are extracted from the caller's frame (code
|
|
3494
|
passed. Now they are extracted from the caller's frame (code
|
|
3480
|
snatched from Eric Jones' weave). Added better documentation to
|
|
3495
|
snatched from Eric Jones' weave). Added better documentation to
|
|
3481
|
the section on embedding and the example file.
|
|
3496
|
the section on embedding and the example file.
|
|
3482
|
|
|
3497
|
|
|
3483
|
* IPython/genutils.py (page): Changed so that under emacs, it just
|
|
3498
|
* IPython/genutils.py (page): Changed so that under emacs, it just
|
|
3484
|
prints the string. You can then page up and down in the emacs
|
|
3499
|
prints the string. You can then page up and down in the emacs
|
|
3485
|
buffer itself. This is how the builtin help() works.
|
|
3500
|
buffer itself. This is how the builtin help() works.
|
|
3486
|
|
|
3501
|
|
|
3487
|
* IPython/Prompts.py (CachedOutput.__call__): Fixed issue with
|
|
3502
|
* IPython/Prompts.py (CachedOutput.__call__): Fixed issue with
|
|
3488
|
macro scoping: macros need to be executed in the user's namespace
|
|
3503
|
macro scoping: macros need to be executed in the user's namespace
|
|
3489
|
to work as if they had been typed by the user.
|
|
3504
|
to work as if they had been typed by the user.
|
|
3490
|
|
|
3505
|
|
|
3491
|
* IPython/Magic.py (Magic.magic_macro): Changed macros so they
|
|
3506
|
* IPython/Magic.py (Magic.magic_macro): Changed macros so they
|
|
3492
|
execute automatically (no need to type 'exec...'). They then
|
|
3507
|
execute automatically (no need to type 'exec...'). They then
|
|
3493
|
behave like 'true macros'. The printing system was also modified
|
|
3508
|
behave like 'true macros'. The printing system was also modified
|
|
3494
|
for this to work.
|
|
3509
|
for this to work.
|
|
3495
|
|
|
3510
|
|
|
3496
|
2002-02-19 Fernando Perez <fperez@colorado.edu>
|
|
3511
|
2002-02-19 Fernando Perez <fperez@colorado.edu>
|
|
3497
|
|
|
3512
|
|
|
3498
|
* IPython/genutils.py (page_file): new function for paging files
|
|
3513
|
* IPython/genutils.py (page_file): new function for paging files
|
|
3499
|
in an OS-independent way. Also necessary for file viewing to work
|
|
3514
|
in an OS-independent way. Also necessary for file viewing to work
|
|
3500
|
well inside Emacs buffers.
|
|
3515
|
well inside Emacs buffers.
|
|
3501
|
(page): Added checks for being in an emacs buffer.
|
|
3516
|
(page): Added checks for being in an emacs buffer.
|
|
3502
|
(page): fixed bug for Windows ($TERM isn't set in Windows). Fixed
|
|
3517
|
(page): fixed bug for Windows ($TERM isn't set in Windows). Fixed
|
|
3503
|
same bug in iplib.
|
|
3518
|
same bug in iplib.
|
|
3504
|
|
|
3519
|
|
|
3505
|
2002-02-18 Fernando Perez <fperez@colorado.edu>
|
|
3520
|
2002-02-18 Fernando Perez <fperez@colorado.edu>
|
|
3506
|
|
|
3521
|
|
|
3507
|
* IPython/iplib.py (InteractiveShell.init_readline): modified use
|
|
3522
|
* IPython/iplib.py (InteractiveShell.init_readline): modified use
|
|
3508
|
of readline so that IPython can work inside an Emacs buffer.
|
|
3523
|
of readline so that IPython can work inside an Emacs buffer.
|
|
3509
|
|
|
3524
|
|
|
3510
|
* IPython/ultraTB.py (AutoFormattedTB.__call__): some fixes to
|
|
3525
|
* IPython/ultraTB.py (AutoFormattedTB.__call__): some fixes to
|
|
3511
|
method signatures (they weren't really bugs, but it looks cleaner
|
|
3526
|
method signatures (they weren't really bugs, but it looks cleaner
|
|
3512
|
and keeps PyChecker happy).
|
|
3527
|
and keeps PyChecker happy).
|
|
3513
|
|
|
3528
|
|
|
3514
|
* IPython/ipmaker.py (make_IPython): added hooks Struct to __IP
|
|
3529
|
* IPython/ipmaker.py (make_IPython): added hooks Struct to __IP
|
|
3515
|
for implementing various user-defined hooks. Currently only
|
|
3530
|
for implementing various user-defined hooks. Currently only
|
|
3516
|
display is done.
|
|
3531
|
display is done.
|
|
3517
|
|
|
3532
|
|
|
3518
|
* IPython/Prompts.py (CachedOutput._display): changed display
|
|
3533
|
* IPython/Prompts.py (CachedOutput._display): changed display
|
|
3519
|
functions so that they can be dynamically changed by users easily.
|
|
3534
|
functions so that they can be dynamically changed by users easily.
|
|
3520
|
|
|
3535
|
|
|
3521
|
* IPython/Extensions/numeric_formats.py (num_display): added an
|
|
3536
|
* IPython/Extensions/numeric_formats.py (num_display): added an
|
|
3522
|
extension for printing NumPy arrays in flexible manners. It
|
|
3537
|
extension for printing NumPy arrays in flexible manners. It
|
|
3523
|
doesn't do anything yet, but all the structure is in
|
|
3538
|
doesn't do anything yet, but all the structure is in
|
|
3524
|
place. Ultimately the plan is to implement output format control
|
|
3539
|
place. Ultimately the plan is to implement output format control
|
|
3525
|
like in Octave.
|
|
3540
|
like in Octave.
|
|
3526
|
|
|
3541
|
|
|
3527
|
* IPython/Magic.py (Magic.lsmagic): changed so that bound magic
|
|
3542
|
* IPython/Magic.py (Magic.lsmagic): changed so that bound magic
|
|
3528
|
methods are found at run-time by all the automatic machinery.
|
|
3543
|
methods are found at run-time by all the automatic machinery.
|
|
3529
|
|
|
3544
|
|
|
3530
|
2002-02-17 Fernando Perez <fperez@colorado.edu>
|
|
3545
|
2002-02-17 Fernando Perez <fperez@colorado.edu>
|
|
3531
|
|
|
3546
|
|
|
3532
|
* setup_Windows.py (make_shortcut): documented. Cleaned up the
|
|
3547
|
* setup_Windows.py (make_shortcut): documented. Cleaned up the
|
|
3533
|
whole file a little.
|
|
3548
|
whole file a little.
|
|
3534
|
|
|
3549
|
|
|
3535
|
* ToDo: closed this document. Now there's a new_design.lyx
|
|
3550
|
* ToDo: closed this document. Now there's a new_design.lyx
|
|
3536
|
document for all new ideas. Added making a pdf of it for the
|
|
3551
|
document for all new ideas. Added making a pdf of it for the
|
|
3537
|
end-user distro.
|
|
3552
|
end-user distro.
|
|
3538
|
|
|
3553
|
|
|
3539
|
* IPython/Logger.py (Logger.switch_log): Created this to replace
|
|
3554
|
* IPython/Logger.py (Logger.switch_log): Created this to replace
|
|
3540
|
logon() and logoff(). It also fixes a nasty crash reported by
|
|
3555
|
logon() and logoff(). It also fixes a nasty crash reported by
|
|
3541
|
Philip Hisley <compsys-AT-starpower.net>. Many thanks to him.
|
|
3556
|
Philip Hisley <compsys-AT-starpower.net>. Many thanks to him.
|
|
3542
|
|
|
3557
|
|
|
3543
|
* IPython/iplib.py (complete): got auto-completion to work with
|
|
3558
|
* IPython/iplib.py (complete): got auto-completion to work with
|
|
3544
|
automagic (I had wanted this for a long time).
|
|
3559
|
automagic (I had wanted this for a long time).
|
|
3545
|
|
|
3560
|
|
|
3546
|
* IPython/Magic.py (Magic.magic_files): Added @files as an alias
|
|
3561
|
* IPython/Magic.py (Magic.magic_files): Added @files as an alias
|
|
3547
|
to @file, since file() is now a builtin and clashes with automagic
|
|
3562
|
to @file, since file() is now a builtin and clashes with automagic
|
|
3548
|
for @file.
|
|
3563
|
for @file.
|
|
3549
|
|
|
3564
|
|
|
3550
|
* Made some new files: Prompts, CrashHandler, Magic, Logger. All
|
|
3565
|
* Made some new files: Prompts, CrashHandler, Magic, Logger. All
|
|
3551
|
of this was previously in iplib, which had grown to more than 2000
|
|
3566
|
of this was previously in iplib, which had grown to more than 2000
|
|
3552
|
lines, way too long. No new functionality, but it makes managing
|
|
3567
|
lines, way too long. No new functionality, but it makes managing
|
|
3553
|
the code a bit easier.
|
|
3568
|
the code a bit easier.
|
|
3554
|
|
|
3569
|
|
|
3555
|
* IPython/iplib.py (IPythonCrashHandler.__call__): Added version
|
|
3570
|
* IPython/iplib.py (IPythonCrashHandler.__call__): Added version
|
|
3556
|
information to crash reports.
|
|
3571
|
information to crash reports.
|
|
3557
|
|
|
3572
|
|
|
3558
|
2002-02-12 Fernando Perez <fperez@colorado.edu>
|
|
3573
|
2002-02-12 Fernando Perez <fperez@colorado.edu>
|
|
3559
|
|
|
3574
|
|
|
3560
|
* Released 0.2.5.
|
|
3575
|
* Released 0.2.5.
|
|
3561
|
|
|
3576
|
|
|
3562
|
2002-02-11 Fernando Perez <fperez@colorado.edu>
|
|
3577
|
2002-02-11 Fernando Perez <fperez@colorado.edu>
|
|
3563
|
|
|
3578
|
|
|
3564
|
* Wrote a relatively complete Windows installer. It puts
|
|
3579
|
* Wrote a relatively complete Windows installer. It puts
|
|
3565
|
everything in place, creates Start Menu entries and fixes the
|
|
3580
|
everything in place, creates Start Menu entries and fixes the
|
|
3566
|
color issues. Nothing fancy, but it works.
|
|
3581
|
color issues. Nothing fancy, but it works.
|
|
3567
|
|
|
3582
|
|
|
3568
|
2002-02-10 Fernando Perez <fperez@colorado.edu>
|
|
3583
|
2002-02-10 Fernando Perez <fperez@colorado.edu>
|
|
3569
|
|
|
3584
|
|
|
3570
|
* IPython/iplib.py (InteractiveShell.safe_execfile): added an
|
|
3585
|
* IPython/iplib.py (InteractiveShell.safe_execfile): added an
|
|
3571
|
os.path.expanduser() call so that we can type @run ~/myfile.py and
|
|
3586
|
os.path.expanduser() call so that we can type @run ~/myfile.py and
|
|
3572
|
have thigs work as expected.
|
|
3587
|
have thigs work as expected.
|
|
3573
|
|
|
3588
|
|
|
3574
|
* IPython/genutils.py (page): fixed exception handling so things
|
|
3589
|
* IPython/genutils.py (page): fixed exception handling so things
|
|
3575
|
work both in Unix and Windows correctly. Quitting a pager triggers
|
|
3590
|
work both in Unix and Windows correctly. Quitting a pager triggers
|
|
3576
|
an IOError/broken pipe in Unix, and in windows not finding a pager
|
|
3591
|
an IOError/broken pipe in Unix, and in windows not finding a pager
|
|
3577
|
is also an IOError, so I had to actually look at the return value
|
|
3592
|
is also an IOError, so I had to actually look at the return value
|
|
3578
|
of the exception, not just the exception itself. Should be ok now.
|
|
3593
|
of the exception, not just the exception itself. Should be ok now.
|
|
3579
|
|
|
3594
|
|
|
3580
|
* IPython/ultraTB.py (ColorSchemeTable.set_active_scheme):
|
|
3595
|
* IPython/ultraTB.py (ColorSchemeTable.set_active_scheme):
|
|
3581
|
modified to allow case-insensitive color scheme changes.
|
|
3596
|
modified to allow case-insensitive color scheme changes.
|
|
3582
|
|
|
3597
|
|
|
3583
|
2002-02-09 Fernando Perez <fperez@colorado.edu>
|
|
3598
|
2002-02-09 Fernando Perez <fperez@colorado.edu>
|
|
3584
|
|
|
3599
|
|
|
3585
|
* IPython/genutils.py (native_line_ends): new function to leave
|
|
3600
|
* IPython/genutils.py (native_line_ends): new function to leave
|
|
3586
|
user config files with os-native line-endings.
|
|
3601
|
user config files with os-native line-endings.
|
|
3587
|
|
|
3602
|
|
|
3588
|
* README and manual updates.
|
|
3603
|
* README and manual updates.
|
|
3589
|
|
|
3604
|
|
|
3590
|
* IPython/genutils.py: fixed unicode bug: use types.StringTypes
|
|
3605
|
* IPython/genutils.py: fixed unicode bug: use types.StringTypes
|
|
3591
|
instead of StringType to catch Unicode strings.
|
|
3606
|
instead of StringType to catch Unicode strings.
|
|
3592
|
|
|
3607
|
|
|
3593
|
* IPython/genutils.py (filefind): fixed bug for paths with
|
|
3608
|
* IPython/genutils.py (filefind): fixed bug for paths with
|
|
3594
|
embedded spaces (very common in Windows).
|
|
3609
|
embedded spaces (very common in Windows).
|
|
3595
|
|
|
3610
|
|
|
3596
|
* IPython/ipmaker.py (make_IPython): added a '.ini' to the rc
|
|
3611
|
* IPython/ipmaker.py (make_IPython): added a '.ini' to the rc
|
|
3597
|
files under Windows, so that they get automatically associated
|
|
3612
|
files under Windows, so that they get automatically associated
|
|
3598
|
with a text editor. Windows makes it a pain to handle
|
|
3613
|
with a text editor. Windows makes it a pain to handle
|
|
3599
|
extension-less files.
|
|
3614
|
extension-less files.
|
|
3600
|
|
|
3615
|
|
|
3601
|
* IPython/iplib.py (InteractiveShell.init_readline): Made the
|
|
3616
|
* IPython/iplib.py (InteractiveShell.init_readline): Made the
|
|
3602
|
warning about readline only occur for Posix. In Windows there's no
|
|
3617
|
warning about readline only occur for Posix. In Windows there's no
|
|
3603
|
way to get readline, so why bother with the warning.
|
|
3618
|
way to get readline, so why bother with the warning.
|
|
3604
|
|
|
3619
|
|
|
3605
|
* IPython/Struct.py (Struct.__str__): fixed to use self.__dict__
|
|
3620
|
* IPython/Struct.py (Struct.__str__): fixed to use self.__dict__
|
|
3606
|
for __str__ instead of dir(self), since dir() changed in 2.2.
|
|
3621
|
for __str__ instead of dir(self), since dir() changed in 2.2.
|
|
3607
|
|
|
3622
|
|
|
3608
|
* Ported to Windows! Tested on XP, I suspect it should work fine
|
|
3623
|
* Ported to Windows! Tested on XP, I suspect it should work fine
|
|
3609
|
on NT/2000, but I don't think it will work on 98 et al. That
|
|
3624
|
on NT/2000, but I don't think it will work on 98 et al. That
|
|
3610
|
series of Windows is such a piece of junk anyway that I won't try
|
|
3625
|
series of Windows is such a piece of junk anyway that I won't try
|
|
3611
|
porting it there. The XP port was straightforward, showed a few
|
|
3626
|
porting it there. The XP port was straightforward, showed a few
|
|
3612
|
bugs here and there (fixed all), in particular some string
|
|
3627
|
bugs here and there (fixed all), in particular some string
|
|
3613
|
handling stuff which required considering Unicode strings (which
|
|
3628
|
handling stuff which required considering Unicode strings (which
|
|
3614
|
Windows uses). This is good, but hasn't been too tested :) No
|
|
3629
|
Windows uses). This is good, but hasn't been too tested :) No
|
|
3615
|
fancy installer yet, I'll put a note in the manual so people at
|
|
3630
|
fancy installer yet, I'll put a note in the manual so people at
|
|
3616
|
least make manually a shortcut.
|
|
3631
|
least make manually a shortcut.
|
|
3617
|
|
|
3632
|
|
|
3618
|
* IPython/iplib.py (Magic.magic_colors): Unified the color options
|
|
3633
|
* IPython/iplib.py (Magic.magic_colors): Unified the color options
|
|
3619
|
into a single one, "colors". This now controls both prompt and
|
|
3634
|
into a single one, "colors". This now controls both prompt and
|
|
3620
|
exception color schemes, and can be changed both at startup
|
|
3635
|
exception color schemes, and can be changed both at startup
|
|
3621
|
(either via command-line switches or via ipythonrc files) and at
|
|
3636
|
(either via command-line switches or via ipythonrc files) and at
|
|
3622
|
runtime, with @colors.
|
|
3637
|
runtime, with @colors.
|
|
3623
|
(Magic.magic_run): renamed @prun to @run and removed the old
|
|
3638
|
(Magic.magic_run): renamed @prun to @run and removed the old
|
|
3624
|
@run. The two were too similar to warrant keeping both.
|
|
3639
|
@run. The two were too similar to warrant keeping both.
|
|
3625
|
|
|
3640
|
|
|
3626
|
2002-02-03 Fernando Perez <fperez@colorado.edu>
|
|
3641
|
2002-02-03 Fernando Perez <fperez@colorado.edu>
|
|
3627
|
|
|
3642
|
|
|
3628
|
* IPython/iplib.py (install_first_time): Added comment on how to
|
|
3643
|
* IPython/iplib.py (install_first_time): Added comment on how to
|
|
3629
|
configure the color options for first-time users. Put a <return>
|
|
3644
|
configure the color options for first-time users. Put a <return>
|
|
3630
|
request at the end so that small-terminal users get a chance to
|
|
3645
|
request at the end so that small-terminal users get a chance to
|
|
3631
|
read the startup info.
|
|
3646
|
read the startup info.
|
|
3632
|
|
|
3647
|
|
|
3633
|
2002-01-23 Fernando Perez <fperez@colorado.edu>
|
|
3648
|
2002-01-23 Fernando Perez <fperez@colorado.edu>
|
|
3634
|
|
|
3649
|
|
|
3635
|
* IPython/iplib.py (CachedOutput.update): Changed output memory
|
|
3650
|
* IPython/iplib.py (CachedOutput.update): Changed output memory
|
|
3636
|
variable names from _o,_oo,_ooo,_o<n> to simply _,__,___,_<n>. For
|
|
3651
|
variable names from _o,_oo,_ooo,_o<n> to simply _,__,___,_<n>. For
|
|
3637
|
input history we still use _i. Did this b/c these variable are
|
|
3652
|
input history we still use _i. Did this b/c these variable are
|
|
3638
|
very commonly used in interactive work, so the less we need to
|
|
3653
|
very commonly used in interactive work, so the less we need to
|
|
3639
|
type the better off we are.
|
|
3654
|
type the better off we are.
|
|
3640
|
(Magic.magic_prun): updated @prun to better handle the namespaces
|
|
3655
|
(Magic.magic_prun): updated @prun to better handle the namespaces
|
|
3641
|
the file will run in, including a fix for __name__ not being set
|
|
3656
|
the file will run in, including a fix for __name__ not being set
|
|
3642
|
before.
|
|
3657
|
before.
|
|
3643
|
|
|
3658
|
|
|
3644
|
2002-01-20 Fernando Perez <fperez@colorado.edu>
|
|
3659
|
2002-01-20 Fernando Perez <fperez@colorado.edu>
|
|
3645
|
|
|
3660
|
|
|
3646
|
* IPython/ultraTB.py (VerboseTB.linereader): Fixed printing of
|
|
3661
|
* IPython/ultraTB.py (VerboseTB.linereader): Fixed printing of
|
|
3647
|
extra garbage for Python 2.2. Need to look more carefully into
|
|
3662
|
extra garbage for Python 2.2. Need to look more carefully into
|
|
3648
|
this later.
|
|
3663
|
this later.
|
|
3649
|
|
|
3664
|
|
|
3650
|
2002-01-19 Fernando Perez <fperez@colorado.edu>
|
|
3665
|
2002-01-19 Fernando Perez <fperez@colorado.edu>
|
|
3651
|
|
|
3666
|
|
|
3652
|
* IPython/iplib.py (InteractiveShell.showtraceback): fixed to
|
|
3667
|
* IPython/iplib.py (InteractiveShell.showtraceback): fixed to
|
|
3653
|
display SyntaxError exceptions properly formatted when they occur
|
|
3668
|
display SyntaxError exceptions properly formatted when they occur
|
|
3654
|
(they can be triggered by imported code).
|
|
3669
|
(they can be triggered by imported code).
|
|
3655
|
|
|
3670
|
|
|
3656
|
2002-01-18 Fernando Perez <fperez@colorado.edu>
|
|
3671
|
2002-01-18 Fernando Perez <fperez@colorado.edu>
|
|
3657
|
|
|
3672
|
|
|
3658
|
* IPython/iplib.py (InteractiveShell.safe_execfile): now
|
|
3673
|
* IPython/iplib.py (InteractiveShell.safe_execfile): now
|
|
3659
|
SyntaxError exceptions are reported nicely formatted, instead of
|
|
3674
|
SyntaxError exceptions are reported nicely formatted, instead of
|
|
3660
|
spitting out only offset information as before.
|
|
3675
|
spitting out only offset information as before.
|
|
3661
|
(Magic.magic_prun): Added the @prun function for executing
|
|
3676
|
(Magic.magic_prun): Added the @prun function for executing
|
|
3662
|
programs with command line args inside IPython.
|
|
3677
|
programs with command line args inside IPython.
|
|
3663
|
|
|
3678
|
|
|
3664
|
2002-01-16 Fernando Perez <fperez@colorado.edu>
|
|
3679
|
2002-01-16 Fernando Perez <fperez@colorado.edu>
|
|
3665
|
|
|
3680
|
|
|
3666
|
* IPython/iplib.py (Magic.magic_hist): Changed @hist and @dhist
|
|
3681
|
* IPython/iplib.py (Magic.magic_hist): Changed @hist and @dhist
|
|
3667
|
to *not* include the last item given in a range. This brings their
|
|
3682
|
to *not* include the last item given in a range. This brings their
|
|
3668
|
behavior in line with Python's slicing:
|
|
3683
|
behavior in line with Python's slicing:
|
|
3669
|
a[n1:n2] -> a[n1]...a[n2-1]
|
|
3684
|
a[n1:n2] -> a[n1]...a[n2-1]
|
|
3670
|
It may be a bit less convenient, but I prefer to stick to Python's
|
|
3685
|
It may be a bit less convenient, but I prefer to stick to Python's
|
|
3671
|
conventions *everywhere*, so users never have to wonder.
|
|
3686
|
conventions *everywhere*, so users never have to wonder.
|
|
3672
|
(Magic.magic_macro): Added @macro function to ease the creation of
|
|
3687
|
(Magic.magic_macro): Added @macro function to ease the creation of
|
|
3673
|
macros.
|
|
3688
|
macros.
|
|
3674
|
|
|
3689
|
|
|
3675
|
2002-01-05 Fernando Perez <fperez@colorado.edu>
|
|
3690
|
2002-01-05 Fernando Perez <fperez@colorado.edu>
|
|
3676
|
|
|
3691
|
|
|
3677
|
* Released 0.2.4.
|
|
3692
|
* Released 0.2.4.
|
|
3678
|
|
|
3693
|
|
|
3679
|
* IPython/iplib.py (Magic.magic_pdef):
|
|
3694
|
* IPython/iplib.py (Magic.magic_pdef):
|
|
3680
|
(InteractiveShell.safe_execfile): report magic lines and error
|
|
3695
|
(InteractiveShell.safe_execfile): report magic lines and error
|
|
3681
|
lines without line numbers so one can easily copy/paste them for
|
|
3696
|
lines without line numbers so one can easily copy/paste them for
|
|
3682
|
re-execution.
|
|
3697
|
re-execution.
|
|
3683
|
|
|
3698
|
|
|
3684
|
* Updated manual with recent changes.
|
|
3699
|
* Updated manual with recent changes.
|
|
3685
|
|
|
3700
|
|
|
3686
|
* IPython/iplib.py (Magic.magic_oinfo): added constructor
|
|
3701
|
* IPython/iplib.py (Magic.magic_oinfo): added constructor
|
|
3687
|
docstring printing when class? is called. Very handy for knowing
|
|
3702
|
docstring printing when class? is called. Very handy for knowing
|
|
3688
|
how to create class instances (as long as __init__ is well
|
|
3703
|
how to create class instances (as long as __init__ is well
|
|
3689
|
documented, of course :)
|
|
3704
|
documented, of course :)
|
|
3690
|
(Magic.magic_doc): print both class and constructor docstrings.
|
|
3705
|
(Magic.magic_doc): print both class and constructor docstrings.
|
|
3691
|
(Magic.magic_pdef): give constructor info if passed a class and
|
|
3706
|
(Magic.magic_pdef): give constructor info if passed a class and
|
|
3692
|
__call__ info for callable object instances.
|
|
3707
|
__call__ info for callable object instances.
|
|
3693
|
|
|
3708
|
|
|
3694
|
2002-01-04 Fernando Perez <fperez@colorado.edu>
|
|
3709
|
2002-01-04 Fernando Perez <fperez@colorado.edu>
|
|
3695
|
|
|
3710
|
|
|
3696
|
* Made deep_reload() off by default. It doesn't always work
|
|
3711
|
* Made deep_reload() off by default. It doesn't always work
|
|
3697
|
exactly as intended, so it's probably safer to have it off. It's
|
|
3712
|
exactly as intended, so it's probably safer to have it off. It's
|
|
3698
|
still available as dreload() anyway, so nothing is lost.
|
|
3713
|
still available as dreload() anyway, so nothing is lost.
|
|
3699
|
|
|
3714
|
|
|
3700
|
2002-01-02 Fernando Perez <fperez@colorado.edu>
|
|
3715
|
2002-01-02 Fernando Perez <fperez@colorado.edu>
|
|
3701
|
|
|
3716
|
|
|
3702
|
* Released 0.2.3 (contacted R.Singh at CU about biopython course,
|
|
3717
|
* Released 0.2.3 (contacted R.Singh at CU about biopython course,
|
|
3703
|
so I wanted an updated release).
|
|
3718
|
so I wanted an updated release).
|
|
3704
|
|
|
3719
|
|
|
3705
|
2001-12-27 Fernando Perez <fperez@colorado.edu>
|
|
3720
|
2001-12-27 Fernando Perez <fperez@colorado.edu>
|
|
3706
|
|
|
3721
|
|
|
3707
|
* IPython/iplib.py (InteractiveShell.interact): Added the original
|
|
3722
|
* IPython/iplib.py (InteractiveShell.interact): Added the original
|
|
3708
|
code from 'code.py' for this module in order to change the
|
|
3723
|
code from 'code.py' for this module in order to change the
|
|
3709
|
handling of a KeyboardInterrupt. This was necessary b/c otherwise
|
|
3724
|
handling of a KeyboardInterrupt. This was necessary b/c otherwise
|
|
3710
|
the history cache would break when the user hit Ctrl-C, and
|
|
3725
|
the history cache would break when the user hit Ctrl-C, and
|
|
3711
|
interact() offers no way to add any hooks to it.
|
|
3726
|
interact() offers no way to add any hooks to it.
|
|
3712
|
|
|
3727
|
|
|
3713
|
2001-12-23 Fernando Perez <fperez@colorado.edu>
|
|
3728
|
2001-12-23 Fernando Perez <fperez@colorado.edu>
|
|
3714
|
|
|
3729
|
|
|
3715
|
* setup.py: added check for 'MANIFEST' before trying to remove
|
|
3730
|
* setup.py: added check for 'MANIFEST' before trying to remove
|
|
3716
|
it. Thanks to Sean Reifschneider.
|
|
3731
|
it. Thanks to Sean Reifschneider.
|
|
3717
|
|
|
3732
|
|
|
3718
|
2001-12-22 Fernando Perez <fperez@colorado.edu>
|
|
3733
|
2001-12-22 Fernando Perez <fperez@colorado.edu>
|
|
3719
|
|
|
3734
|
|
|
3720
|
* Released 0.2.2.
|
|
3735
|
* Released 0.2.2.
|
|
3721
|
|
|
3736
|
|
|
3722
|
* Finished (reasonably) writing the manual. Later will add the
|
|
3737
|
* Finished (reasonably) writing the manual. Later will add the
|
|
3723
|
python-standard navigation stylesheets, but for the time being
|
|
3738
|
python-standard navigation stylesheets, but for the time being
|
|
3724
|
it's fairly complete. Distribution will include html and pdf
|
|
3739
|
it's fairly complete. Distribution will include html and pdf
|
|
3725
|
versions.
|
|
3740
|
versions.
|
|
3726
|
|
|
3741
|
|
|
3727
|
* Bugfix: '.' wasn't being added to sys.path. Thanks to Prabhu
|
|
3742
|
* Bugfix: '.' wasn't being added to sys.path. Thanks to Prabhu
|
|
3728
|
(MayaVi author).
|
|
3743
|
(MayaVi author).
|
|
3729
|
|
|
3744
|
|
|
3730
|
2001-12-21 Fernando Perez <fperez@colorado.edu>
|
|
3745
|
2001-12-21 Fernando Perez <fperez@colorado.edu>
|
|
3731
|
|
|
3746
|
|
|
3732
|
* Released 0.2.1. Barring any nasty bugs, this is it as far as a
|
|
3747
|
* Released 0.2.1. Barring any nasty bugs, this is it as far as a
|
|
3733
|
good public release, I think (with the manual and the distutils
|
|
3748
|
good public release, I think (with the manual and the distutils
|
|
3734
|
installer). The manual can use some work, but that can go
|
|
3749
|
installer). The manual can use some work, but that can go
|
|
3735
|
slowly. Otherwise I think it's quite nice for end users. Next
|
|
3750
|
slowly. Otherwise I think it's quite nice for end users. Next
|
|
3736
|
summer, rewrite the guts of it...
|
|
3751
|
summer, rewrite the guts of it...
|
|
3737
|
|
|
3752
|
|
|
3738
|
* Changed format of ipythonrc files to use whitespace as the
|
|
3753
|
* Changed format of ipythonrc files to use whitespace as the
|
|
3739
|
separator instead of an explicit '='. Cleaner.
|
|
3754
|
separator instead of an explicit '='. Cleaner.
|
|
3740
|
|
|
3755
|
|
|
3741
|
2001-12-20 Fernando Perez <fperez@colorado.edu>
|
|
3756
|
2001-12-20 Fernando Perez <fperez@colorado.edu>
|
|
3742
|
|
|
3757
|
|
|
3743
|
* Started a manual in LyX. For now it's just a quick merge of the
|
|
3758
|
* Started a manual in LyX. For now it's just a quick merge of the
|
|
3744
|
various internal docstrings and READMEs. Later it may grow into a
|
|
3759
|
various internal docstrings and READMEs. Later it may grow into a
|
|
3745
|
nice, full-blown manual.
|
|
3760
|
nice, full-blown manual.
|
|
3746
|
|
|
3761
|
|
|
3747
|
* Set up a distutils based installer. Installation should now be
|
|
3762
|
* Set up a distutils based installer. Installation should now be
|
|
3748
|
trivially simple for end-users.
|
|
3763
|
trivially simple for end-users.
|
|
3749
|
|
|
3764
|
|
|
3750
|
2001-12-11 Fernando Perez <fperez@colorado.edu>
|
|
3765
|
2001-12-11 Fernando Perez <fperez@colorado.edu>
|
|
3751
|
|
|
3766
|
|
|
3752
|
* Released 0.2.0. First public release, announced it at
|
|
3767
|
* Released 0.2.0. First public release, announced it at
|
|
3753
|
comp.lang.python. From now on, just bugfixes...
|
|
3768
|
comp.lang.python. From now on, just bugfixes...
|
|
3754
|
|
|
3769
|
|
|
3755
|
* Went through all the files, set copyright/license notices and
|
|
3770
|
* Went through all the files, set copyright/license notices and
|
|
3756
|
cleaned up things. Ready for release.
|
|
3771
|
cleaned up things. Ready for release.
|
|
3757
|
|
|
3772
|
|
|
3758
|
2001-12-10 Fernando Perez <fperez@colorado.edu>
|
|
3773
|
2001-12-10 Fernando Perez <fperez@colorado.edu>
|
|
3759
|
|
|
3774
|
|
|
3760
|
* Changed the first-time installer not to use tarfiles. It's more
|
|
3775
|
* Changed the first-time installer not to use tarfiles. It's more
|
|
3761
|
robust now and less unix-dependent. Also makes it easier for
|
|
3776
|
robust now and less unix-dependent. Also makes it easier for
|
|
3762
|
people to later upgrade versions.
|
|
3777
|
people to later upgrade versions.
|
|
3763
|
|
|
3778
|
|
|
3764
|
* Changed @exit to @abort to reflect the fact that it's pretty
|
|
3779
|
* Changed @exit to @abort to reflect the fact that it's pretty
|
|
3765
|
brutal (a sys.exit()). The difference between @abort and Ctrl-D
|
|
3780
|
brutal (a sys.exit()). The difference between @abort and Ctrl-D
|
|
3766
|
becomes significant only when IPyhton is embedded: in that case,
|
|
3781
|
becomes significant only when IPyhton is embedded: in that case,
|
|
3767
|
C-D closes IPython only, but @abort kills the enclosing program
|
|
3782
|
C-D closes IPython only, but @abort kills the enclosing program
|
|
3768
|
too (unless it had called IPython inside a try catching
|
|
3783
|
too (unless it had called IPython inside a try catching
|
|
3769
|
SystemExit).
|
|
3784
|
SystemExit).
|
|
3770
|
|
|
3785
|
|
|
3771
|
* Created Shell module which exposes the actuall IPython Shell
|
|
3786
|
* Created Shell module which exposes the actuall IPython Shell
|
|
3772
|
classes, currently the normal and the embeddable one. This at
|
|
3787
|
classes, currently the normal and the embeddable one. This at
|
|
3773
|
least offers a stable interface we won't need to change when
|
|
3788
|
least offers a stable interface we won't need to change when
|
|
3774
|
(later) the internals are rewritten. That rewrite will be confined
|
|
3789
|
(later) the internals are rewritten. That rewrite will be confined
|
|
3775
|
to iplib and ipmaker, but the Shell interface should remain as is.
|
|
3790
|
to iplib and ipmaker, but the Shell interface should remain as is.
|
|
3776
|
|
|
3791
|
|
|
3777
|
* Added embed module which offers an embeddable IPShell object,
|
|
3792
|
* Added embed module which offers an embeddable IPShell object,
|
|
3778
|
useful to fire up IPython *inside* a running program. Great for
|
|
3793
|
useful to fire up IPython *inside* a running program. Great for
|
|
3779
|
debugging or dynamical data analysis.
|
|
3794
|
debugging or dynamical data analysis.
|
|
3780
|
|
|
3795
|
|
|
3781
|
2001-12-08 Fernando Perez <fperez@colorado.edu>
|
|
3796
|
2001-12-08 Fernando Perez <fperez@colorado.edu>
|
|
3782
|
|
|
3797
|
|
|
3783
|
* Fixed small bug preventing seeing info from methods of defined
|
|
3798
|
* Fixed small bug preventing seeing info from methods of defined
|
|
3784
|
objects (incorrect namespace in _ofind()).
|
|
3799
|
objects (incorrect namespace in _ofind()).
|
|
3785
|
|
|
3800
|
|
|
3786
|
* Documentation cleanup. Moved the main usage docstrings to a
|
|
3801
|
* Documentation cleanup. Moved the main usage docstrings to a
|
|
3787
|
separate file, usage.py (cleaner to maintain, and hopefully in the
|
|
3802
|
separate file, usage.py (cleaner to maintain, and hopefully in the
|
|
3788
|
future some perlpod-like way of producing interactive, man and
|
|
3803
|
future some perlpod-like way of producing interactive, man and
|
|
3789
|
html docs out of it will be found).
|
|
3804
|
html docs out of it will be found).
|
|
3790
|
|
|
3805
|
|
|
3791
|
* Added @profile to see your profile at any time.
|
|
3806
|
* Added @profile to see your profile at any time.
|
|
3792
|
|
|
3807
|
|
|
3793
|
* Added @p as an alias for 'print'. It's especially convenient if
|
|
3808
|
* Added @p as an alias for 'print'. It's especially convenient if
|
|
3794
|
using automagic ('p x' prints x).
|
|
3809
|
using automagic ('p x' prints x).
|
|
3795
|
|
|
3810
|
|
|
3796
|
* Small cleanups and fixes after a pychecker run.
|
|
3811
|
* Small cleanups and fixes after a pychecker run.
|
|
3797
|
|
|
3812
|
|
|
3798
|
* Changed the @cd command to handle @cd - and @cd -<n> for
|
|
3813
|
* Changed the @cd command to handle @cd - and @cd -<n> for
|
|
3799
|
visiting any directory in _dh.
|
|
3814
|
visiting any directory in _dh.
|
|
3800
|
|
|
3815
|
|
|
3801
|
* Introduced _dh, a history of visited directories. @dhist prints
|
|
3816
|
* Introduced _dh, a history of visited directories. @dhist prints
|
|
3802
|
it out with numbers.
|
|
3817
|
it out with numbers.
|
|
3803
|
|
|
3818
|
|
|
3804
|
2001-12-07 Fernando Perez <fperez@colorado.edu>
|
|
3819
|
2001-12-07 Fernando Perez <fperez@colorado.edu>
|
|
3805
|
|
|
3820
|
|
|
3806
|
* Released 0.1.22
|
|
3821
|
* Released 0.1.22
|
|
3807
|
|
|
3822
|
|
|
3808
|
* Made initialization a bit more robust against invalid color
|
|
3823
|
* Made initialization a bit more robust against invalid color
|
|
3809
|
options in user input (exit, not traceback-crash).
|
|
3824
|
options in user input (exit, not traceback-crash).
|
|
3810
|
|
|
3825
|
|
|
3811
|
* Changed the bug crash reporter to write the report only in the
|
|
3826
|
* Changed the bug crash reporter to write the report only in the
|
|
3812
|
user's .ipython directory. That way IPython won't litter people's
|
|
3827
|
user's .ipython directory. That way IPython won't litter people's
|
|
3813
|
hard disks with crash files all over the place. Also print on
|
|
3828
|
hard disks with crash files all over the place. Also print on
|
|
3814
|
screen the necessary mail command.
|
|
3829
|
screen the necessary mail command.
|
|
3815
|
|
|
3830
|
|
|
3816
|
* With the new ultraTB, implemented LightBG color scheme for light
|
|
3831
|
* With the new ultraTB, implemented LightBG color scheme for light
|
|
3817
|
background terminals. A lot of people like white backgrounds, so I
|
|
3832
|
background terminals. A lot of people like white backgrounds, so I
|
|
3818
|
guess we should at least give them something readable.
|
|
3833
|
guess we should at least give them something readable.
|
|
3819
|
|
|
3834
|
|
|
3820
|
2001-12-06 Fernando Perez <fperez@colorado.edu>
|
|
3835
|
2001-12-06 Fernando Perez <fperez@colorado.edu>
|
|
3821
|
|
|
3836
|
|
|
3822
|
* Modified the structure of ultraTB. Now there's a proper class
|
|
3837
|
* Modified the structure of ultraTB. Now there's a proper class
|
|
3823
|
for tables of color schemes which allow adding schemes easily and
|
|
3838
|
for tables of color schemes which allow adding schemes easily and
|
|
3824
|
switching the active scheme without creating a new instance every
|
|
3839
|
switching the active scheme without creating a new instance every
|
|
3825
|
time (which was ridiculous). The syntax for creating new schemes
|
|
3840
|
time (which was ridiculous). The syntax for creating new schemes
|
|
3826
|
is also cleaner. I think ultraTB is finally done, with a clean
|
|
3841
|
is also cleaner. I think ultraTB is finally done, with a clean
|
|
3827
|
class structure. Names are also much cleaner (now there's proper
|
|
3842
|
class structure. Names are also much cleaner (now there's proper
|
|
3828
|
color tables, no need for every variable to also have 'color' in
|
|
3843
|
color tables, no need for every variable to also have 'color' in
|
|
3829
|
its name).
|
|
3844
|
its name).
|
|
3830
|
|
|
3845
|
|
|
3831
|
* Broke down genutils into separate files. Now genutils only
|
|
3846
|
* Broke down genutils into separate files. Now genutils only
|
|
3832
|
contains utility functions, and classes have been moved to their
|
|
3847
|
contains utility functions, and classes have been moved to their
|
|
3833
|
own files (they had enough independent functionality to warrant
|
|
3848
|
own files (they had enough independent functionality to warrant
|
|
3834
|
it): ConfigLoader, OutputTrap, Struct.
|
|
3849
|
it): ConfigLoader, OutputTrap, Struct.
|
|
3835
|
|
|
3850
|
|
|
3836
|
2001-12-05 Fernando Perez <fperez@colorado.edu>
|
|
3851
|
2001-12-05 Fernando Perez <fperez@colorado.edu>
|
|
3837
|
|
|
3852
|
|
|
3838
|
* IPython turns 21! Released version 0.1.21, as a candidate for
|
|
3853
|
* IPython turns 21! Released version 0.1.21, as a candidate for
|
|
3839
|
public consumption. If all goes well, release in a few days.
|
|
3854
|
public consumption. If all goes well, release in a few days.
|
|
3840
|
|
|
3855
|
|
|
3841
|
* Fixed path bug (files in Extensions/ directory wouldn't be found
|
|
3856
|
* Fixed path bug (files in Extensions/ directory wouldn't be found
|
|
3842
|
unless IPython/ was explicitly in sys.path).
|
|
3857
|
unless IPython/ was explicitly in sys.path).
|
|
3843
|
|
|
3858
|
|
|
3844
|
* Extended the FlexCompleter class as MagicCompleter to allow
|
|
3859
|
* Extended the FlexCompleter class as MagicCompleter to allow
|
|
3845
|
completion of @-starting lines.
|
|
3860
|
completion of @-starting lines.
|
|
3846
|
|
|
3861
|
|
|
3847
|
* Created __release__.py file as a central repository for release
|
|
3862
|
* Created __release__.py file as a central repository for release
|
|
3848
|
info that other files can read from.
|
|
3863
|
info that other files can read from.
|
|
3849
|
|
|
3864
|
|
|
3850
|
* Fixed small bug in logging: when logging was turned on in
|
|
3865
|
* Fixed small bug in logging: when logging was turned on in
|
|
3851
|
mid-session, old lines with special meanings (!@?) were being
|
|
3866
|
mid-session, old lines with special meanings (!@?) were being
|
|
3852
|
logged without the prepended comment, which is necessary since
|
|
3867
|
logged without the prepended comment, which is necessary since
|
|
3853
|
they are not truly valid python syntax. This should make session
|
|
3868
|
they are not truly valid python syntax. This should make session
|
|
3854
|
restores produce less errors.
|
|
3869
|
restores produce less errors.
|
|
3855
|
|
|
3870
|
|
|
3856
|
* The namespace cleanup forced me to make a FlexCompleter class
|
|
3871
|
* The namespace cleanup forced me to make a FlexCompleter class
|
|
3857
|
which is nothing but a ripoff of rlcompleter, but with selectable
|
|
3872
|
which is nothing but a ripoff of rlcompleter, but with selectable
|
|
3858
|
namespace (rlcompleter only works in __main__.__dict__). I'll try
|
|
3873
|
namespace (rlcompleter only works in __main__.__dict__). I'll try
|
|
3859
|
to submit a note to the authors to see if this change can be
|
|
3874
|
to submit a note to the authors to see if this change can be
|
|
3860
|
incorporated in future rlcompleter releases (Dec.6: done)
|
|
3875
|
incorporated in future rlcompleter releases (Dec.6: done)
|
|
3861
|
|
|
3876
|
|
|
3862
|
* More fixes to namespace handling. It was a mess! Now all
|
|
3877
|
* More fixes to namespace handling. It was a mess! Now all
|
|
3863
|
explicit references to __main__.__dict__ are gone (except when
|
|
3878
|
explicit references to __main__.__dict__ are gone (except when
|
|
3864
|
really needed) and everything is handled through the namespace
|
|
3879
|
really needed) and everything is handled through the namespace
|
|
3865
|
dicts in the IPython instance. We seem to be getting somewhere
|
|
3880
|
dicts in the IPython instance. We seem to be getting somewhere
|
|
3866
|
with this, finally...
|
|
3881
|
with this, finally...
|
|
3867
|
|
|
3882
|
|
|
3868
|
* Small documentation updates.
|
|
3883
|
* Small documentation updates.
|
|
3869
|
|
|
3884
|
|
|
3870
|
* Created the Extensions directory under IPython (with an
|
|
3885
|
* Created the Extensions directory under IPython (with an
|
|
3871
|
__init__.py). Put the PhysicalQ stuff there. This directory should
|
|
3886
|
__init__.py). Put the PhysicalQ stuff there. This directory should
|
|
3872
|
be used for all special-purpose extensions.
|
|
3887
|
be used for all special-purpose extensions.
|
|
3873
|
|
|
3888
|
|
|
3874
|
* File renaming:
|
|
3889
|
* File renaming:
|
|
3875
|
ipythonlib --> ipmaker
|
|
3890
|
ipythonlib --> ipmaker
|
|
3876
|
ipplib --> iplib
|
|
3891
|
ipplib --> iplib
|
|
3877
|
This makes a bit more sense in terms of what these files actually do.
|
|
3892
|
This makes a bit more sense in terms of what these files actually do.
|
|
3878
|
|
|
3893
|
|
|
3879
|
* Moved all the classes and functions in ipythonlib to ipplib, so
|
|
3894
|
* Moved all the classes and functions in ipythonlib to ipplib, so
|
|
3880
|
now ipythonlib only has make_IPython(). This will ease up its
|
|
3895
|
now ipythonlib only has make_IPython(). This will ease up its
|
|
3881
|
splitting in smaller functional chunks later.
|
|
3896
|
splitting in smaller functional chunks later.
|
|
3882
|
|
|
3897
|
|
|
3883
|
* Cleaned up (done, I think) output of @whos. Better column
|
|
3898
|
* Cleaned up (done, I think) output of @whos. Better column
|
|
3884
|
formatting, and now shows str(var) for as much as it can, which is
|
|
3899
|
formatting, and now shows str(var) for as much as it can, which is
|
|
3885
|
typically what one gets with a 'print var'.
|
|
3900
|
typically what one gets with a 'print var'.
|
|
3886
|
|
|
3901
|
|
|
3887
|
2001-12-04 Fernando Perez <fperez@colorado.edu>
|
|
3902
|
2001-12-04 Fernando Perez <fperez@colorado.edu>
|
|
3888
|
|
|
3903
|
|
|
3889
|
* Fixed namespace problems. Now builtin/IPyhton/user names get
|
|
3904
|
* Fixed namespace problems. Now builtin/IPyhton/user names get
|
|
3890
|
properly reported in their namespace. Internal namespace handling
|
|
3905
|
properly reported in their namespace. Internal namespace handling
|
|
3891
|
is finally getting decent (not perfect yet, but much better than
|
|
3906
|
is finally getting decent (not perfect yet, but much better than
|
|
3892
|
the ad-hoc mess we had).
|
|
3907
|
the ad-hoc mess we had).
|
|
3893
|
|
|
3908
|
|
|
3894
|
* Removed -exit option. If people just want to run a python
|
|
3909
|
* Removed -exit option. If people just want to run a python
|
|
3895
|
script, that's what the normal interpreter is for. Less
|
|
3910
|
script, that's what the normal interpreter is for. Less
|
|
3896
|
unnecessary options, less chances for bugs.
|
|
3911
|
unnecessary options, less chances for bugs.
|
|
3897
|
|
|
3912
|
|
|
3898
|
* Added a crash handler which generates a complete post-mortem if
|
|
3913
|
* Added a crash handler which generates a complete post-mortem if
|
|
3899
|
IPython crashes. This will help a lot in tracking bugs down the
|
|
3914
|
IPython crashes. This will help a lot in tracking bugs down the
|
|
3900
|
road.
|
|
3915
|
road.
|
|
3901
|
|
|
3916
|
|
|
3902
|
* Fixed nasty bug in auto-evaluation part of prefilter(). Names
|
|
3917
|
* Fixed nasty bug in auto-evaluation part of prefilter(). Names
|
|
3903
|
which were boud to functions being reassigned would bypass the
|
|
3918
|
which were boud to functions being reassigned would bypass the
|
|
3904
|
logger, breaking the sync of _il with the prompt counter. This
|
|
3919
|
logger, breaking the sync of _il with the prompt counter. This
|
|
3905
|
would then crash IPython later when a new line was logged.
|
|
3920
|
would then crash IPython later when a new line was logged.
|
|
3906
|
|
|
3921
|
|
|
3907
|
2001-12-02 Fernando Perez <fperez@colorado.edu>
|
|
3922
|
2001-12-02 Fernando Perez <fperez@colorado.edu>
|
|
3908
|
|
|
3923
|
|
|
3909
|
* Made IPython a package. This means people don't have to clutter
|
|
3924
|
* Made IPython a package. This means people don't have to clutter
|
|
3910
|
their sys.path with yet another directory. Changed the INSTALL
|
|
3925
|
their sys.path with yet another directory. Changed the INSTALL
|
|
3911
|
file accordingly.
|
|
3926
|
file accordingly.
|
|
3912
|
|
|
3927
|
|
|
3913
|
* Cleaned up the output of @who_ls, @who and @whos. @who_ls now
|
|
3928
|
* Cleaned up the output of @who_ls, @who and @whos. @who_ls now
|
|
3914
|
sorts its output (so @who shows it sorted) and @whos formats the
|
|
3929
|
sorts its output (so @who shows it sorted) and @whos formats the
|
|
3915
|
table according to the width of the first column. Nicer, easier to
|
|
3930
|
table according to the width of the first column. Nicer, easier to
|
|
3916
|
read. Todo: write a generic table_format() which takes a list of
|
|
3931
|
read. Todo: write a generic table_format() which takes a list of
|
|
3917
|
lists and prints it nicely formatted, with optional row/column
|
|
3932
|
lists and prints it nicely formatted, with optional row/column
|
|
3918
|
separators and proper padding and justification.
|
|
3933
|
separators and proper padding and justification.
|
|
3919
|
|
|
3934
|
|
|
3920
|
* Released 0.1.20
|
|
3935
|
* Released 0.1.20
|
|
3921
|
|
|
3936
|
|
|
3922
|
* Fixed bug in @log which would reverse the inputcache list (a
|
|
3937
|
* Fixed bug in @log which would reverse the inputcache list (a
|
|
3923
|
copy operation was missing).
|
|
3938
|
copy operation was missing).
|
|
3924
|
|
|
3939
|
|
|
3925
|
* Code cleanup. @config was changed to use page(). Better, since
|
|
3940
|
* Code cleanup. @config was changed to use page(). Better, since
|
|
3926
|
its output is always quite long.
|
|
3941
|
its output is always quite long.
|
|
3927
|
|
|
3942
|
|
|
3928
|
* Itpl is back as a dependency. I was having too many problems
|
|
3943
|
* Itpl is back as a dependency. I was having too many problems
|
|
3929
|
getting the parametric aliases to work reliably, and it's just
|
|
3944
|
getting the parametric aliases to work reliably, and it's just
|
|
3930
|
easier to code weird string operations with it than playing %()s
|
|
3945
|
easier to code weird string operations with it than playing %()s
|
|
3931
|
games. It's only ~6k, so I don't think it's too big a deal.
|
|
3946
|
games. It's only ~6k, so I don't think it's too big a deal.
|
|
3932
|
|
|
3947
|
|
|
3933
|
* Found (and fixed) a very nasty bug with history. !lines weren't
|
|
3948
|
* Found (and fixed) a very nasty bug with history. !lines weren't
|
|
3934
|
getting cached, and the out of sync caches would crash
|
|
3949
|
getting cached, and the out of sync caches would crash
|
|
3935
|
IPython. Fixed it by reorganizing the prefilter/handlers/logger
|
|
3950
|
IPython. Fixed it by reorganizing the prefilter/handlers/logger
|
|
3936
|
division of labor a bit better. Bug fixed, cleaner structure.
|
|
3951
|
division of labor a bit better. Bug fixed, cleaner structure.
|
|
3937
|
|
|
3952
|
|
|
3938
|
2001-12-01 Fernando Perez <fperez@colorado.edu>
|
|
3953
|
2001-12-01 Fernando Perez <fperez@colorado.edu>
|
|
3939
|
|
|
3954
|
|
|
3940
|
* Released 0.1.19
|
|
3955
|
* Released 0.1.19
|
|
3941
|
|
|
3956
|
|
|
3942
|
* Added option -n to @hist to prevent line number printing. Much
|
|
3957
|
* Added option -n to @hist to prevent line number printing. Much
|
|
3943
|
easier to copy/paste code this way.
|
|
3958
|
easier to copy/paste code this way.
|
|
3944
|
|
|
3959
|
|
|
3945
|
* Created global _il to hold the input list. Allows easy
|
|
3960
|
* Created global _il to hold the input list. Allows easy
|
|
3946
|
re-execution of blocks of code by slicing it (inspired by Janko's
|
|
3961
|
re-execution of blocks of code by slicing it (inspired by Janko's
|
|
3947
|
comment on 'macros').
|
|
3962
|
comment on 'macros').
|
|
3948
|
|
|
3963
|
|
|
3949
|
* Small fixes and doc updates.
|
|
3964
|
* Small fixes and doc updates.
|
|
3950
|
|
|
3965
|
|
|
3951
|
* Rewrote @history function (was @h). Renamed it to @hist, @h is
|
|
3966
|
* Rewrote @history function (was @h). Renamed it to @hist, @h is
|
|
3952
|
much too fragile with automagic. Handles properly multi-line
|
|
3967
|
much too fragile with automagic. Handles properly multi-line
|
|
3953
|
statements and takes parameters.
|
|
3968
|
statements and takes parameters.
|
|
3954
|
|
|
3969
|
|
|
3955
|
2001-11-30 Fernando Perez <fperez@colorado.edu>
|
|
3970
|
2001-11-30 Fernando Perez <fperez@colorado.edu>
|
|
3956
|
|
|
3971
|
|
|
3957
|
* Version 0.1.18 released.
|
|
3972
|
* Version 0.1.18 released.
|
|
3958
|
|
|
3973
|
|
|
3959
|
* Fixed nasty namespace bug in initial module imports.
|
|
3974
|
* Fixed nasty namespace bug in initial module imports.
|
|
3960
|
|
|
3975
|
|
|
3961
|
* Added copyright/license notes to all code files (except
|
|
3976
|
* Added copyright/license notes to all code files (except
|
|
3962
|
DPyGetOpt). For the time being, LGPL. That could change.
|
|
3977
|
DPyGetOpt). For the time being, LGPL. That could change.
|
|
3963
|
|
|
3978
|
|
|
3964
|
* Rewrote a much nicer README, updated INSTALL, cleaned up
|
|
3979
|
* Rewrote a much nicer README, updated INSTALL, cleaned up
|
|
3965
|
ipythonrc-* samples.
|
|
3980
|
ipythonrc-* samples.
|
|
3966
|
|
|
3981
|
|
|
3967
|
* Overall code/documentation cleanup. Basically ready for
|
|
3982
|
* Overall code/documentation cleanup. Basically ready for
|
|
3968
|
release. Only remaining thing: licence decision (LGPL?).
|
|
3983
|
release. Only remaining thing: licence decision (LGPL?).
|
|
3969
|
|
|
3984
|
|
|
3970
|
* Converted load_config to a class, ConfigLoader. Now recursion
|
|
3985
|
* Converted load_config to a class, ConfigLoader. Now recursion
|
|
3971
|
control is better organized. Doesn't include the same file twice.
|
|
3986
|
control is better organized. Doesn't include the same file twice.
|
|
3972
|
|
|
3987
|
|
|
3973
|
2001-11-29 Fernando Perez <fperez@colorado.edu>
|
|
3988
|
2001-11-29 Fernando Perez <fperez@colorado.edu>
|
|
3974
|
|
|
3989
|
|
|
3975
|
* Got input history working. Changed output history variables from
|
|
3990
|
* Got input history working. Changed output history variables from
|
|
3976
|
_p to _o so that _i is for input and _o for output. Just cleaner
|
|
3991
|
_p to _o so that _i is for input and _o for output. Just cleaner
|
|
3977
|
convention.
|
|
3992
|
convention.
|
|
3978
|
|
|
3993
|
|
|
3979
|
* Implemented parametric aliases. This pretty much allows the
|
|
3994
|
* Implemented parametric aliases. This pretty much allows the
|
|
3980
|
alias system to offer full-blown shell convenience, I think.
|
|
3995
|
alias system to offer full-blown shell convenience, I think.
|
|
3981
|
|
|
3996
|
|
|
3982
|
* Version 0.1.17 released, 0.1.18 opened.
|
|
3997
|
* Version 0.1.17 released, 0.1.18 opened.
|
|
3983
|
|
|
3998
|
|
|
3984
|
* dot_ipython/ipythonrc (alias): added documentation.
|
|
3999
|
* dot_ipython/ipythonrc (alias): added documentation.
|
|
3985
|
(xcolor): Fixed small bug (xcolors -> xcolor)
|
|
4000
|
(xcolor): Fixed small bug (xcolors -> xcolor)
|
|
3986
|
|
|
4001
|
|
|
3987
|
* Changed the alias system. Now alias is a magic command to define
|
|
4002
|
* Changed the alias system. Now alias is a magic command to define
|
|
3988
|
aliases just like the shell. Rationale: the builtin magics should
|
|
4003
|
aliases just like the shell. Rationale: the builtin magics should
|
|
3989
|
be there for things deeply connected to IPython's
|
|
4004
|
be there for things deeply connected to IPython's
|
|
3990
|
architecture. And this is a much lighter system for what I think
|
|
4005
|
architecture. And this is a much lighter system for what I think
|
|
3991
|
is the really important feature: allowing users to define quickly
|
|
4006
|
is the really important feature: allowing users to define quickly
|
|
3992
|
magics that will do shell things for them, so they can customize
|
|
4007
|
magics that will do shell things for them, so they can customize
|
|
3993
|
IPython easily to match their work habits. If someone is really
|
|
4008
|
IPython easily to match their work habits. If someone is really
|
|
3994
|
desperate to have another name for a builtin alias, they can
|
|
4009
|
desperate to have another name for a builtin alias, they can
|
|
3995
|
always use __IP.magic_newname = __IP.magic_oldname. Hackish but
|
|
4010
|
always use __IP.magic_newname = __IP.magic_oldname. Hackish but
|
|
3996
|
works.
|
|
4011
|
works.
|
|
3997
|
|
|
4012
|
|
|
3998
|
2001-11-28 Fernando Perez <fperez@colorado.edu>
|
|
4013
|
2001-11-28 Fernando Perez <fperez@colorado.edu>
|
|
3999
|
|
|
4014
|
|
|
4000
|
* Changed @file so that it opens the source file at the proper
|
|
4015
|
* Changed @file so that it opens the source file at the proper
|
|
4001
|
line. Since it uses less, if your EDITOR environment is
|
|
4016
|
line. Since it uses less, if your EDITOR environment is
|
|
4002
|
configured, typing v will immediately open your editor of choice
|
|
4017
|
configured, typing v will immediately open your editor of choice
|
|
4003
|
right at the line where the object is defined. Not as quick as
|
|
4018
|
right at the line where the object is defined. Not as quick as
|
|
4004
|
having a direct @edit command, but for all intents and purposes it
|
|
4019
|
having a direct @edit command, but for all intents and purposes it
|
|
4005
|
works. And I don't have to worry about writing @edit to deal with
|
|
4020
|
works. And I don't have to worry about writing @edit to deal with
|
|
4006
|
all the editors, less does that.
|
|
4021
|
all the editors, less does that.
|
|
4007
|
|
|
4022
|
|
|
4008
|
* Version 0.1.16 released, 0.1.17 opened.
|
|
4023
|
* Version 0.1.16 released, 0.1.17 opened.
|
|
4009
|
|
|
4024
|
|
|
4010
|
* Fixed some nasty bugs in the page/page_dumb combo that could
|
|
4025
|
* Fixed some nasty bugs in the page/page_dumb combo that could
|
|
4011
|
crash IPython.
|
|
4026
|
crash IPython.
|
|
4012
|
|
|
4027
|
|
|
4013
|
2001-11-27 Fernando Perez <fperez@colorado.edu>
|
|
4028
|
2001-11-27 Fernando Perez <fperez@colorado.edu>
|
|
4014
|
|
|
4029
|
|
|
4015
|
* Version 0.1.15 released, 0.1.16 opened.
|
|
4030
|
* Version 0.1.15 released, 0.1.16 opened.
|
|
4016
|
|
|
4031
|
|
|
4017
|
* Finally got ? and ?? to work for undefined things: now it's
|
|
4032
|
* Finally got ? and ?? to work for undefined things: now it's
|
|
4018
|
possible to type {}.get? and get information about the get method
|
|
4033
|
possible to type {}.get? and get information about the get method
|
|
4019
|
of dicts, or os.path? even if only os is defined (so technically
|
|
4034
|
of dicts, or os.path? even if only os is defined (so technically
|
|
4020
|
os.path isn't). Works at any level. For example, after import os,
|
|
4035
|
os.path isn't). Works at any level. For example, after import os,
|
|
4021
|
os?, os.path?, os.path.abspath? all work. This is great, took some
|
|
4036
|
os?, os.path?, os.path.abspath? all work. This is great, took some
|
|
4022
|
work in _ofind.
|
|
4037
|
work in _ofind.
|
|
4023
|
|
|
4038
|
|
|
4024
|
* Fixed more bugs with logging. The sanest way to do it was to add
|
|
4039
|
* Fixed more bugs with logging. The sanest way to do it was to add
|
|
4025
|
to @log a 'mode' parameter. Killed two in one shot (this mode
|
|
4040
|
to @log a 'mode' parameter. Killed two in one shot (this mode
|
|
4026
|
option was a request of Janko's). I think it's finally clean
|
|
4041
|
option was a request of Janko's). I think it's finally clean
|
|
4027
|
(famous last words).
|
|
4042
|
(famous last words).
|
|
4028
|
|
|
4043
|
|
|
4029
|
* Added a page_dumb() pager which does a decent job of paging on
|
|
4044
|
* Added a page_dumb() pager which does a decent job of paging on
|
|
4030
|
screen, if better things (like less) aren't available. One less
|
|
4045
|
screen, if better things (like less) aren't available. One less
|
|
4031
|
unix dependency (someday maybe somebody will port this to
|
|
4046
|
unix dependency (someday maybe somebody will port this to
|
|
4032
|
windows).
|
|
4047
|
windows).
|
|
4033
|
|
|
4048
|
|
|
4034
|
* Fixed problem in magic_log: would lock of logging out if log
|
|
4049
|
* Fixed problem in magic_log: would lock of logging out if log
|
|
4035
|
creation failed (because it would still think it had succeeded).
|
|
4050
|
creation failed (because it would still think it had succeeded).
|
|
4036
|
|
|
4051
|
|
|
4037
|
* Improved the page() function using curses to auto-detect screen
|
|
4052
|
* Improved the page() function using curses to auto-detect screen
|
|
4038
|
size. Now it can make a much better decision on whether to print
|
|
4053
|
size. Now it can make a much better decision on whether to print
|
|
4039
|
or page a string. Option screen_length was modified: a value 0
|
|
4054
|
or page a string. Option screen_length was modified: a value 0
|
|
4040
|
means auto-detect, and that's the default now.
|
|
4055
|
means auto-detect, and that's the default now.
|
|
4041
|
|
|
4056
|
|
|
4042
|
* Version 0.1.14 released, 0.1.15 opened. I think this is ready to
|
|
4057
|
* Version 0.1.14 released, 0.1.15 opened. I think this is ready to
|
|
4043
|
go out. I'll test it for a few days, then talk to Janko about
|
|
4058
|
go out. I'll test it for a few days, then talk to Janko about
|
|
4044
|
licences and announce it.
|
|
4059
|
licences and announce it.
|
|
4045
|
|
|
4060
|
|
|
4046
|
* Fixed the length of the auto-generated ---> prompt which appears
|
|
4061
|
* Fixed the length of the auto-generated ---> prompt which appears
|
|
4047
|
for auto-parens and auto-quotes. Getting this right isn't trivial,
|
|
4062
|
for auto-parens and auto-quotes. Getting this right isn't trivial,
|
|
4048
|
with all the color escapes, different prompt types and optional
|
|
4063
|
with all the color escapes, different prompt types and optional
|
|
4049
|
separators. But it seems to be working in all the combinations.
|
|
4064
|
separators. But it seems to be working in all the combinations.
|
|
4050
|
|
|
4065
|
|
|
4051
|
2001-11-26 Fernando Perez <fperez@colorado.edu>
|
|
4066
|
2001-11-26 Fernando Perez <fperez@colorado.edu>
|
|
4052
|
|
|
4067
|
|
|
4053
|
* Wrote a regexp filter to get option types from the option names
|
|
4068
|
* Wrote a regexp filter to get option types from the option names
|
|
4054
|
string. This eliminates the need to manually keep two duplicate
|
|
4069
|
string. This eliminates the need to manually keep two duplicate
|
|
4055
|
lists.
|
|
4070
|
lists.
|
|
4056
|
|
|
4071
|
|
|
4057
|
* Removed the unneeded check_option_names. Now options are handled
|
|
4072
|
* Removed the unneeded check_option_names. Now options are handled
|
|
4058
|
in a much saner manner and it's easy to visually check that things
|
|
4073
|
in a much saner manner and it's easy to visually check that things
|
|
4059
|
are ok.
|
|
4074
|
are ok.
|
|
4060
|
|
|
4075
|
|
|
4061
|
* Updated version numbers on all files I modified to carry a
|
|
4076
|
* Updated version numbers on all files I modified to carry a
|
|
4062
|
notice so Janko and Nathan have clear version markers.
|
|
4077
|
notice so Janko and Nathan have clear version markers.
|
|
4063
|
|
|
4078
|
|
|
4064
|
* Updated docstring for ultraTB with my changes. I should send
|
|
4079
|
* Updated docstring for ultraTB with my changes. I should send
|
|
4065
|
this to Nathan.
|
|
4080
|
this to Nathan.
|
|
4066
|
|
|
4081
|
|
|
4067
|
* Lots of small fixes. Ran everything through pychecker again.
|
|
4082
|
* Lots of small fixes. Ran everything through pychecker again.
|
|
4068
|
|
|
4083
|
|
|
4069
|
* Made loading of deep_reload an cmd line option. If it's not too
|
|
4084
|
* Made loading of deep_reload an cmd line option. If it's not too
|
|
4070
|
kosher, now people can just disable it. With -nodeep_reload it's
|
|
4085
|
kosher, now people can just disable it. With -nodeep_reload it's
|
|
4071
|
still available as dreload(), it just won't overwrite reload().
|
|
4086
|
still available as dreload(), it just won't overwrite reload().
|
|
4072
|
|
|
4087
|
|
|
4073
|
* Moved many options to the no| form (-opt and -noopt
|
|
4088
|
* Moved many options to the no| form (-opt and -noopt
|
|
4074
|
accepted). Cleaner.
|
|
4089
|
accepted). Cleaner.
|
|
4075
|
|
|
4090
|
|
|
4076
|
* Changed magic_log so that if called with no parameters, it uses
|
|
4091
|
* Changed magic_log so that if called with no parameters, it uses
|
|
4077
|
'rotate' mode. That way auto-generated logs aren't automatically
|
|
4092
|
'rotate' mode. That way auto-generated logs aren't automatically
|
|
4078
|
over-written. For normal logs, now a backup is made if it exists
|
|
4093
|
over-written. For normal logs, now a backup is made if it exists
|
|
4079
|
(only 1 level of backups). A new 'backup' mode was added to the
|
|
4094
|
(only 1 level of backups). A new 'backup' mode was added to the
|
|
4080
|
Logger class to support this. This was a request by Janko.
|
|
4095
|
Logger class to support this. This was a request by Janko.
|
|
4081
|
|
|
4096
|
|
|
4082
|
* Added @logoff/@logon to stop/restart an active log.
|
|
4097
|
* Added @logoff/@logon to stop/restart an active log.
|
|
4083
|
|
|
4098
|
|
|
4084
|
* Fixed a lot of bugs in log saving/replay. It was pretty
|
|
4099
|
* Fixed a lot of bugs in log saving/replay. It was pretty
|
|
4085
|
broken. Now special lines (!@,/) appear properly in the command
|
|
4100
|
broken. Now special lines (!@,/) appear properly in the command
|
|
4086
|
history after a log replay.
|
|
4101
|
history after a log replay.
|
|
4087
|
|
|
4102
|
|
|
4088
|
* Tried and failed to implement full session saving via pickle. My
|
|
4103
|
* Tried and failed to implement full session saving via pickle. My
|
|
4089
|
idea was to pickle __main__.__dict__, but modules can't be
|
|
4104
|
idea was to pickle __main__.__dict__, but modules can't be
|
|
4090
|
pickled. This would be a better alternative to replaying logs, but
|
|
4105
|
pickled. This would be a better alternative to replaying logs, but
|
|
4091
|
seems quite tricky to get to work. Changed -session to be called
|
|
4106
|
seems quite tricky to get to work. Changed -session to be called
|
|
4092
|
-logplay, which more accurately reflects what it does. And if we
|
|
4107
|
-logplay, which more accurately reflects what it does. And if we
|
|
4093
|
ever get real session saving working, -session is now available.
|
|
4108
|
ever get real session saving working, -session is now available.
|
|
4094
|
|
|
4109
|
|
|
4095
|
* Implemented color schemes for prompts also. As for tracebacks,
|
|
4110
|
* Implemented color schemes for prompts also. As for tracebacks,
|
|
4096
|
currently only NoColor and Linux are supported. But now the
|
|
4111
|
currently only NoColor and Linux are supported. But now the
|
|
4097
|
infrastructure is in place, based on a generic ColorScheme
|
|
4112
|
infrastructure is in place, based on a generic ColorScheme
|
|
4098
|
class. So writing and activating new schemes both for the prompts
|
|
4113
|
class. So writing and activating new schemes both for the prompts
|
|
4099
|
and the tracebacks should be straightforward.
|
|
4114
|
and the tracebacks should be straightforward.
|
|
4100
|
|
|
4115
|
|
|
4101
|
* Version 0.1.13 released, 0.1.14 opened.
|
|
4116
|
* Version 0.1.13 released, 0.1.14 opened.
|
|
4102
|
|
|
4117
|
|
|
4103
|
* Changed handling of options for output cache. Now counter is
|
|
4118
|
* Changed handling of options for output cache. Now counter is
|
|
4104
|
hardwired starting at 1 and one specifies the maximum number of
|
|
4119
|
hardwired starting at 1 and one specifies the maximum number of
|
|
4105
|
entries *in the outcache* (not the max prompt counter). This is
|
|
4120
|
entries *in the outcache* (not the max prompt counter). This is
|
|
4106
|
much better, since many statements won't increase the cache
|
|
4121
|
much better, since many statements won't increase the cache
|
|
4107
|
count. It also eliminated some confusing options, now there's only
|
|
4122
|
count. It also eliminated some confusing options, now there's only
|
|
4108
|
one: cache_size.
|
|
4123
|
one: cache_size.
|
|
4109
|
|
|
4124
|
|
|
4110
|
* Added 'alias' magic function and magic_alias option in the
|
|
4125
|
* Added 'alias' magic function and magic_alias option in the
|
|
4111
|
ipythonrc file. Now the user can easily define whatever names he
|
|
4126
|
ipythonrc file. Now the user can easily define whatever names he
|
|
4112
|
wants for the magic functions without having to play weird
|
|
4127
|
wants for the magic functions without having to play weird
|
|
4113
|
namespace games. This gives IPython a real shell-like feel.
|
|
4128
|
namespace games. This gives IPython a real shell-like feel.
|
|
4114
|
|
|
4129
|
|
|
4115
|
* Fixed doc/?/?? for magics. Now all work, in all forms (explicit
|
|
4130
|
* Fixed doc/?/?? for magics. Now all work, in all forms (explicit
|
|
4116
|
@ or not).
|
|
4131
|
@ or not).
|
|
4117
|
|
|
4132
|
|
|
4118
|
This was one of the last remaining 'visible' bugs (that I know
|
|
4133
|
This was one of the last remaining 'visible' bugs (that I know
|
|
4119
|
of). I think if I can clean up the session loading so it works
|
|
4134
|
of). I think if I can clean up the session loading so it works
|
|
4120
|
100% I'll release a 0.2.0 version on c.p.l (talk to Janko first
|
|
4135
|
100% I'll release a 0.2.0 version on c.p.l (talk to Janko first
|
|
4121
|
about licensing).
|
|
4136
|
about licensing).
|
|
4122
|
|
|
4137
|
|
|
4123
|
2001-11-25 Fernando Perez <fperez@colorado.edu>
|
|
4138
|
2001-11-25 Fernando Perez <fperez@colorado.edu>
|
|
4124
|
|
|
4139
|
|
|
4125
|
* Rewrote somewhat oinfo (?/??). Nicer, now uses page() and
|
|
4140
|
* Rewrote somewhat oinfo (?/??). Nicer, now uses page() and
|
|
4126
|
there's a cleaner distinction between what ? and ?? show.
|
|
4141
|
there's a cleaner distinction between what ? and ?? show.
|
|
4127
|
|
|
4142
|
|
|
4128
|
* Added screen_length option. Now the user can define his own
|
|
4143
|
* Added screen_length option. Now the user can define his own
|
|
4129
|
screen size for page() operations.
|
|
4144
|
screen size for page() operations.
|
|
4130
|
|
|
4145
|
|
|
4131
|
* Implemented magic shell-like functions with automatic code
|
|
4146
|
* Implemented magic shell-like functions with automatic code
|
|
4132
|
generation. Now adding another function is just a matter of adding
|
|
4147
|
generation. Now adding another function is just a matter of adding
|
|
4133
|
an entry to a dict, and the function is dynamically generated at
|
|
4148
|
an entry to a dict, and the function is dynamically generated at
|
|
4134
|
run-time. Python has some really cool features!
|
|
4149
|
run-time. Python has some really cool features!
|
|
4135
|
|
|
4150
|
|
|
4136
|
* Renamed many options to cleanup conventions a little. Now all
|
|
4151
|
* Renamed many options to cleanup conventions a little. Now all
|
|
4137
|
are lowercase, and only underscores where needed. Also in the code
|
|
4152
|
are lowercase, and only underscores where needed. Also in the code
|
|
4138
|
option name tables are clearer.
|
|
4153
|
option name tables are clearer.
|
|
4139
|
|
|
4154
|
|
|
4140
|
* Changed prompts a little. Now input is 'In [n]:' instead of
|
|
4155
|
* Changed prompts a little. Now input is 'In [n]:' instead of
|
|
4141
|
'In[n]:='. This allows it the numbers to be aligned with the
|
|
4156
|
'In[n]:='. This allows it the numbers to be aligned with the
|
|
4142
|
Out[n] numbers, and removes usage of ':=' which doesn't exist in
|
|
4157
|
Out[n] numbers, and removes usage of ':=' which doesn't exist in
|
|
4143
|
Python (it was a Mathematica thing). The '...' continuation prompt
|
|
4158
|
Python (it was a Mathematica thing). The '...' continuation prompt
|
|
4144
|
was also changed a little to align better.
|
|
4159
|
was also changed a little to align better.
|
|
4145
|
|
|
4160
|
|
|
4146
|
* Fixed bug when flushing output cache. Not all _p<n> variables
|
|
4161
|
* Fixed bug when flushing output cache. Not all _p<n> variables
|
|
4147
|
exist, so their deletion needs to be wrapped in a try:
|
|
4162
|
exist, so their deletion needs to be wrapped in a try:
|
|
4148
|
|
|
4163
|
|
|
4149
|
* Figured out how to properly use inspect.formatargspec() (it
|
|
4164
|
* Figured out how to properly use inspect.formatargspec() (it
|
|
4150
|
requires the args preceded by *). So I removed all the code from
|
|
4165
|
requires the args preceded by *). So I removed all the code from
|
|
4151
|
_get_pdef in Magic, which was just replicating that.
|
|
4166
|
_get_pdef in Magic, which was just replicating that.
|
|
4152
|
|
|
4167
|
|
|
4153
|
* Added test to prefilter to allow redefining magic function names
|
|
4168
|
* Added test to prefilter to allow redefining magic function names
|
|
4154
|
as variables. This is ok, since the @ form is always available,
|
|
4169
|
as variables. This is ok, since the @ form is always available,
|
|
4155
|
but whe should allow the user to define a variable called 'ls' if
|
|
4170
|
but whe should allow the user to define a variable called 'ls' if
|
|
4156
|
he needs it.
|
|
4171
|
he needs it.
|
|
4157
|
|
|
4172
|
|
|
4158
|
* Moved the ToDo information from README into a separate ToDo.
|
|
4173
|
* Moved the ToDo information from README into a separate ToDo.
|
|
4159
|
|
|
4174
|
|
|
4160
|
* General code cleanup and small bugfixes. I think it's close to a
|
|
4175
|
* General code cleanup and small bugfixes. I think it's close to a
|
|
4161
|
state where it can be released, obviously with a big 'beta'
|
|
4176
|
state where it can be released, obviously with a big 'beta'
|
|
4162
|
warning on it.
|
|
4177
|
warning on it.
|
|
4163
|
|
|
4178
|
|
|
4164
|
* Got the magic function split to work. Now all magics are defined
|
|
4179
|
* Got the magic function split to work. Now all magics are defined
|
|
4165
|
in a separate class. It just organizes things a bit, and now
|
|
4180
|
in a separate class. It just organizes things a bit, and now
|
|
4166
|
Xemacs behaves nicer (it was choking on InteractiveShell b/c it
|
|
4181
|
Xemacs behaves nicer (it was choking on InteractiveShell b/c it
|
|
4167
|
was too long).
|
|
4182
|
was too long).
|
|
4168
|
|
|
4183
|
|
|
4169
|
* Changed @clear to @reset to avoid potential confusions with
|
|
4184
|
* Changed @clear to @reset to avoid potential confusions with
|
|
4170
|
the shell command clear. Also renamed @cl to @clear, which does
|
|
4185
|
the shell command clear. Also renamed @cl to @clear, which does
|
|
4171
|
exactly what people expect it to from their shell experience.
|
|
4186
|
exactly what people expect it to from their shell experience.
|
|
4172
|
|
|
4187
|
|
|
4173
|
Added a check to the @reset command (since it's so
|
|
4188
|
Added a check to the @reset command (since it's so
|
|
4174
|
destructive, it's probably a good idea to ask for confirmation).
|
|
4189
|
destructive, it's probably a good idea to ask for confirmation).
|
|
4175
|
But now reset only works for full namespace resetting. Since the
|
|
4190
|
But now reset only works for full namespace resetting. Since the
|
|
4176
|
del keyword is already there for deleting a few specific
|
|
4191
|
del keyword is already there for deleting a few specific
|
|
4177
|
variables, I don't see the point of having a redundant magic
|
|
4192
|
variables, I don't see the point of having a redundant magic
|
|
4178
|
function for the same task.
|
|
4193
|
function for the same task.
|
|
4179
|
|
|
4194
|
|
|
4180
|
2001-11-24 Fernando Perez <fperez@colorado.edu>
|
|
4195
|
2001-11-24 Fernando Perez <fperez@colorado.edu>
|
|
4181
|
|
|
4196
|
|
|
4182
|
* Updated the builtin docs (esp. the ? ones).
|
|
4197
|
* Updated the builtin docs (esp. the ? ones).
|
|
4183
|
|
|
4198
|
|
|
4184
|
* Ran all the code through pychecker. Not terribly impressed with
|
|
4199
|
* Ran all the code through pychecker. Not terribly impressed with
|
|
4185
|
it: lots of spurious warnings and didn't really find anything of
|
|
4200
|
it: lots of spurious warnings and didn't really find anything of
|
|
4186
|
substance (just a few modules being imported and not used).
|
|
4201
|
substance (just a few modules being imported and not used).
|
|
4187
|
|
|
4202
|
|
|
4188
|
* Implemented the new ultraTB functionality into IPython. New
|
|
4203
|
* Implemented the new ultraTB functionality into IPython. New
|
|
4189
|
option: xcolors. This chooses color scheme. xmode now only selects
|
|
4204
|
option: xcolors. This chooses color scheme. xmode now only selects
|
|
4190
|
between Plain and Verbose. Better orthogonality.
|
|
4205
|
between Plain and Verbose. Better orthogonality.
|
|
4191
|
|
|
4206
|
|
|
4192
|
* Large rewrite of ultraTB. Much cleaner now, with a separation of
|
|
4207
|
* Large rewrite of ultraTB. Much cleaner now, with a separation of
|
|
4193
|
mode and color scheme for the exception handlers. Now it's
|
|
4208
|
mode and color scheme for the exception handlers. Now it's
|
|
4194
|
possible to have the verbose traceback with no coloring.
|
|
4209
|
possible to have the verbose traceback with no coloring.
|
|
4195
|
|
|
4210
|
|
|
4196
|
2001-11-23 Fernando Perez <fperez@colorado.edu>
|
|
4211
|
2001-11-23 Fernando Perez <fperez@colorado.edu>
|
|
4197
|
|
|
4212
|
|
|
4198
|
* Version 0.1.12 released, 0.1.13 opened.
|
|
4213
|
* Version 0.1.12 released, 0.1.13 opened.
|
|
4199
|
|
|
4214
|
|
|
4200
|
* Removed option to set auto-quote and auto-paren escapes by
|
|
4215
|
* Removed option to set auto-quote and auto-paren escapes by
|
|
4201
|
user. The chances of breaking valid syntax are just too high. If
|
|
4216
|
user. The chances of breaking valid syntax are just too high. If
|
|
4202
|
someone *really* wants, they can always dig into the code.
|
|
4217
|
someone *really* wants, they can always dig into the code.
|
|
4203
|
|
|
4218
|
|
|
4204
|
* Made prompt separators configurable.
|
|
4219
|
* Made prompt separators configurable.
|
|
4205
|
|
|
4220
|
|
|
4206
|
2001-11-22 Fernando Perez <fperez@colorado.edu>
|
|
4221
|
2001-11-22 Fernando Perez <fperez@colorado.edu>
|
|
4207
|
|
|
4222
|
|
|
4208
|
* Small bugfixes in many places.
|
|
4223
|
* Small bugfixes in many places.
|
|
4209
|
|
|
4224
|
|
|
4210
|
* Removed the MyCompleter class from ipplib. It seemed redundant
|
|
4225
|
* Removed the MyCompleter class from ipplib. It seemed redundant
|
|
4211
|
with the C-p,C-n history search functionality. Less code to
|
|
4226
|
with the C-p,C-n history search functionality. Less code to
|
|
4212
|
maintain.
|
|
4227
|
maintain.
|
|
4213
|
|
|
4228
|
|
|
4214
|
* Moved all the original ipython.py code into ipythonlib.py. Right
|
|
4229
|
* Moved all the original ipython.py code into ipythonlib.py. Right
|
|
4215
|
now it's just one big dump into a function called make_IPython, so
|
|
4230
|
now it's just one big dump into a function called make_IPython, so
|
|
4216
|
no real modularity has been gained. But at least it makes the
|
|
4231
|
no real modularity has been gained. But at least it makes the
|
|
4217
|
wrapper script tiny, and since ipythonlib is a module, it gets
|
|
4232
|
wrapper script tiny, and since ipythonlib is a module, it gets
|
|
4218
|
compiled and startup is much faster.
|
|
4233
|
compiled and startup is much faster.
|
|
4219
|
|
|
4234
|
|
|
4220
|
This is a reasobably 'deep' change, so we should test it for a
|
|
4235
|
This is a reasobably 'deep' change, so we should test it for a
|
|
4221
|
while without messing too much more with the code.
|
|
4236
|
while without messing too much more with the code.
|
|
4222
|
|
|
4237
|
|
|
4223
|
2001-11-21 Fernando Perez <fperez@colorado.edu>
|
|
4238
|
2001-11-21 Fernando Perez <fperez@colorado.edu>
|
|
4224
|
|
|
4239
|
|
|
4225
|
* Version 0.1.11 released, 0.1.12 opened for further work.
|
|
4240
|
* Version 0.1.11 released, 0.1.12 opened for further work.
|
|
4226
|
|
|
4241
|
|
|
4227
|
* Removed dependency on Itpl. It was only needed in one place. It
|
|
4242
|
* Removed dependency on Itpl. It was only needed in one place. It
|
|
4228
|
would be nice if this became part of python, though. It makes life
|
|
4243
|
would be nice if this became part of python, though. It makes life
|
|
4229
|
*a lot* easier in some cases.
|
|
4244
|
*a lot* easier in some cases.
|
|
4230
|
|
|
4245
|
|
|
4231
|
* Simplified the prefilter code a bit. Now all handlers are
|
|
4246
|
* Simplified the prefilter code a bit. Now all handlers are
|
|
4232
|
expected to explicitly return a value (at least a blank string).
|
|
4247
|
expected to explicitly return a value (at least a blank string).
|
|
4233
|
|
|
4248
|
|
|
4234
|
* Heavy edits in ipplib. Removed the help system altogether. Now
|
|
4249
|
* Heavy edits in ipplib. Removed the help system altogether. Now
|
|
4235
|
obj?/?? is used for inspecting objects, a magic @doc prints
|
|
4250
|
obj?/?? is used for inspecting objects, a magic @doc prints
|
|
4236
|
docstrings, and full-blown Python help is accessed via the 'help'
|
|
4251
|
docstrings, and full-blown Python help is accessed via the 'help'
|
|
4237
|
keyword. This cleans up a lot of code (less to maintain) and does
|
|
4252
|
keyword. This cleans up a lot of code (less to maintain) and does
|
|
4238
|
the job. Since 'help' is now a standard Python component, might as
|
|
4253
|
the job. Since 'help' is now a standard Python component, might as
|
|
4239
|
well use it and remove duplicate functionality.
|
|
4254
|
well use it and remove duplicate functionality.
|
|
4240
|
|
|
4255
|
|
|
4241
|
Also removed the option to use ipplib as a standalone program. By
|
|
4256
|
Also removed the option to use ipplib as a standalone program. By
|
|
4242
|
now it's too dependent on other parts of IPython to function alone.
|
|
4257
|
now it's too dependent on other parts of IPython to function alone.
|
|
4243
|
|
|
4258
|
|
|
4244
|
* Fixed bug in genutils.pager. It would crash if the pager was
|
|
4259
|
* Fixed bug in genutils.pager. It would crash if the pager was
|
|
4245
|
exited immediately after opening (broken pipe).
|
|
4260
|
exited immediately after opening (broken pipe).
|
|
4246
|
|
|
4261
|
|
|
4247
|
* Trimmed down the VerboseTB reporting a little. The header is
|
|
4262
|
* Trimmed down the VerboseTB reporting a little. The header is
|
|
4248
|
much shorter now and the repeated exception arguments at the end
|
|
4263
|
much shorter now and the repeated exception arguments at the end
|
|
4249
|
have been removed. For interactive use the old header seemed a bit
|
|
4264
|
have been removed. For interactive use the old header seemed a bit
|
|
4250
|
excessive.
|
|
4265
|
excessive.
|
|
4251
|
|
|
4266
|
|
|
4252
|
* Fixed small bug in output of @whos for variables with multi-word
|
|
4267
|
* Fixed small bug in output of @whos for variables with multi-word
|
|
4253
|
types (only first word was displayed).
|
|
4268
|
types (only first word was displayed).
|
|
4254
|
|
|
4269
|
|
|
4255
|
2001-11-17 Fernando Perez <fperez@colorado.edu>
|
|
4270
|
2001-11-17 Fernando Perez <fperez@colorado.edu>
|
|
4256
|
|
|
4271
|
|
|
4257
|
* Version 0.1.10 released, 0.1.11 opened for further work.
|
|
4272
|
* Version 0.1.10 released, 0.1.11 opened for further work.
|
|
4258
|
|
|
4273
|
|
|
4259
|
* Modified dirs and friends. dirs now *returns* the stack (not
|
|
4274
|
* Modified dirs and friends. dirs now *returns* the stack (not
|
|
4260
|
prints), so one can manipulate it as a variable. Convenient to
|
|
4275
|
prints), so one can manipulate it as a variable. Convenient to
|
|
4261
|
travel along many directories.
|
|
4276
|
travel along many directories.
|
|
4262
|
|
|
4277
|
|
|
4263
|
* Fixed bug in magic_pdef: would only work with functions with
|
|
4278
|
* Fixed bug in magic_pdef: would only work with functions with
|
|
4264
|
arguments with default values.
|
|
4279
|
arguments with default values.
|
|
4265
|
|
|
4280
|
|
|
4266
|
2001-11-14 Fernando Perez <fperez@colorado.edu>
|
|
4281
|
2001-11-14 Fernando Perez <fperez@colorado.edu>
|
|
4267
|
|
|
4282
|
|
|
4268
|
* Added the PhysicsInput stuff to dot_ipython so it ships as an
|
|
4283
|
* Added the PhysicsInput stuff to dot_ipython so it ships as an
|
|
4269
|
example with IPython. Various other minor fixes and cleanups.
|
|
4284
|
example with IPython. Various other minor fixes and cleanups.
|
|
4270
|
|
|
4285
|
|
|
4271
|
* Version 0.1.9 released, 0.1.10 opened for further work.
|
|
4286
|
* Version 0.1.9 released, 0.1.10 opened for further work.
|
|
4272
|
|
|
4287
|
|
|
4273
|
* Added sys.path to the list of directories searched in the
|
|
4288
|
* Added sys.path to the list of directories searched in the
|
|
4274
|
execfile= option. It used to be the current directory and the
|
|
4289
|
execfile= option. It used to be the current directory and the
|
|
4275
|
user's IPYTHONDIR only.
|
|
4290
|
user's IPYTHONDIR only.
|
|
4276
|
|
|
4291
|
|
|
4277
|
2001-11-13 Fernando Perez <fperez@colorado.edu>
|
|
4292
|
2001-11-13 Fernando Perez <fperez@colorado.edu>
|
|
4278
|
|
|
4293
|
|
|
4279
|
* Reinstated the raw_input/prefilter separation that Janko had
|
|
4294
|
* Reinstated the raw_input/prefilter separation that Janko had
|
|
4280
|
initially. This gives a more convenient setup for extending the
|
|
4295
|
initially. This gives a more convenient setup for extending the
|
|
4281
|
pre-processor from the outside: raw_input always gets a string,
|
|
4296
|
pre-processor from the outside: raw_input always gets a string,
|
|
4282
|
and prefilter has to process it. We can then redefine prefilter
|
|
4297
|
and prefilter has to process it. We can then redefine prefilter
|
|
4283
|
from the outside and implement extensions for special
|
|
4298
|
from the outside and implement extensions for special
|
|
4284
|
purposes.
|
|
4299
|
purposes.
|
|
4285
|
|
|
4300
|
|
|
4286
|
Today I got one for inputting PhysicalQuantity objects
|
|
4301
|
Today I got one for inputting PhysicalQuantity objects
|
|
4287
|
(from Scientific) without needing any function calls at
|
|
4302
|
(from Scientific) without needing any function calls at
|
|
4288
|
all. Extremely convenient, and it's all done as a user-level
|
|
4303
|
all. Extremely convenient, and it's all done as a user-level
|
|
4289
|
extension (no IPython code was touched). Now instead of:
|
|
4304
|
extension (no IPython code was touched). Now instead of:
|
|
4290
|
a = PhysicalQuantity(4.2,'m/s**2')
|
|
4305
|
a = PhysicalQuantity(4.2,'m/s**2')
|
|
4291
|
one can simply say
|
|
4306
|
one can simply say
|
|
4292
|
a = 4.2 m/s**2
|
|
4307
|
a = 4.2 m/s**2
|
|
4293
|
or even
|
|
4308
|
or even
|
|
4294
|
a = 4.2 m/s^2
|
|
4309
|
a = 4.2 m/s^2
|
|
4295
|
|
|
4310
|
|
|
4296
|
I use this, but it's also a proof of concept: IPython really is
|
|
4311
|
I use this, but it's also a proof of concept: IPython really is
|
|
4297
|
fully user-extensible, even at the level of the parsing of the
|
|
4312
|
fully user-extensible, even at the level of the parsing of the
|
|
4298
|
command line. It's not trivial, but it's perfectly doable.
|
|
4313
|
command line. It's not trivial, but it's perfectly doable.
|
|
4299
|
|
|
4314
|
|
|
4300
|
* Added 'add_flip' method to inclusion conflict resolver. Fixes
|
|
4315
|
* Added 'add_flip' method to inclusion conflict resolver. Fixes
|
|
4301
|
the problem of modules being loaded in the inverse order in which
|
|
4316
|
the problem of modules being loaded in the inverse order in which
|
|
4302
|
they were defined in
|
|
4317
|
they were defined in
|
|
4303
|
|
|
4318
|
|
|
4304
|
* Version 0.1.8 released, 0.1.9 opened for further work.
|
|
4319
|
* Version 0.1.8 released, 0.1.9 opened for further work.
|
|
4305
|
|
|
4320
|
|
|
4306
|
* Added magics pdef, source and file. They respectively show the
|
|
4321
|
* Added magics pdef, source and file. They respectively show the
|
|
4307
|
definition line ('prototype' in C), source code and full python
|
|
4322
|
definition line ('prototype' in C), source code and full python
|
|
4308
|
file for any callable object. The object inspector oinfo uses
|
|
4323
|
file for any callable object. The object inspector oinfo uses
|
|
4309
|
these to show the same information.
|
|
4324
|
these to show the same information.
|
|
4310
|
|
|
4325
|
|
|
4311
|
* Version 0.1.7 released, 0.1.8 opened for further work.
|
|
4326
|
* Version 0.1.7 released, 0.1.8 opened for further work.
|
|
4312
|
|
|
4327
|
|
|
4313
|
* Separated all the magic functions into a class called Magic. The
|
|
4328
|
* Separated all the magic functions into a class called Magic. The
|
|
4314
|
InteractiveShell class was becoming too big for Xemacs to handle
|
|
4329
|
InteractiveShell class was becoming too big for Xemacs to handle
|
|
4315
|
(de-indenting a line would lock it up for 10 seconds while it
|
|
4330
|
(de-indenting a line would lock it up for 10 seconds while it
|
|
4316
|
backtracked on the whole class!)
|
|
4331
|
backtracked on the whole class!)
|
|
4317
|
|
|
4332
|
|
|
4318
|
FIXME: didn't work. It can be done, but right now namespaces are
|
|
4333
|
FIXME: didn't work. It can be done, but right now namespaces are
|
|
4319
|
all messed up. Do it later (reverted it for now, so at least
|
|
4334
|
all messed up. Do it later (reverted it for now, so at least
|
|
4320
|
everything works as before).
|
|
4335
|
everything works as before).
|
|
4321
|
|
|
4336
|
|
|
4322
|
* Got the object introspection system (magic_oinfo) working! I
|
|
4337
|
* Got the object introspection system (magic_oinfo) working! I
|
|
4323
|
think this is pretty much ready for release to Janko, so he can
|
|
4338
|
think this is pretty much ready for release to Janko, so he can
|
|
4324
|
test it for a while and then announce it. Pretty much 100% of what
|
|
4339
|
test it for a while and then announce it. Pretty much 100% of what
|
|
4325
|
I wanted for the 'phase 1' release is ready. Happy, tired.
|
|
4340
|
I wanted for the 'phase 1' release is ready. Happy, tired.
|
|
4326
|
|
|
4341
|
|
|
4327
|
2001-11-12 Fernando Perez <fperez@colorado.edu>
|
|
4342
|
2001-11-12 Fernando Perez <fperez@colorado.edu>
|
|
4328
|
|
|
4343
|
|
|
4329
|
* Version 0.1.6 released, 0.1.7 opened for further work.
|
|
4344
|
* Version 0.1.6 released, 0.1.7 opened for further work.
|
|
4330
|
|
|
4345
|
|
|
4331
|
* Fixed bug in printing: it used to test for truth before
|
|
4346
|
* Fixed bug in printing: it used to test for truth before
|
|
4332
|
printing, so 0 wouldn't print. Now checks for None.
|
|
4347
|
printing, so 0 wouldn't print. Now checks for None.
|
|
4333
|
|
|
4348
|
|
|
4334
|
* Fixed bug where auto-execs increase the prompt counter by 2 (b/c
|
|
4349
|
* Fixed bug where auto-execs increase the prompt counter by 2 (b/c
|
|
4335
|
they have to call len(str(sys.ps1)) ). But the fix is ugly, it
|
|
4350
|
they have to call len(str(sys.ps1)) ). But the fix is ugly, it
|
|
4336
|
reaches by hand into the outputcache. Think of a better way to do
|
|
4351
|
reaches by hand into the outputcache. Think of a better way to do
|
|
4337
|
this later.
|
|
4352
|
this later.
|
|
4338
|
|
|
4353
|
|
|
4339
|
* Various small fixes thanks to Nathan's comments.
|
|
4354
|
* Various small fixes thanks to Nathan's comments.
|
|
4340
|
|
|
4355
|
|
|
4341
|
* Changed magic_pprint to magic_Pprint. This way it doesn't
|
|
4356
|
* Changed magic_pprint to magic_Pprint. This way it doesn't
|
|
4342
|
collide with pprint() and the name is consistent with the command
|
|
4357
|
collide with pprint() and the name is consistent with the command
|
|
4343
|
line option.
|
|
4358
|
line option.
|
|
4344
|
|
|
4359
|
|
|
4345
|
* Changed prompt counter behavior to be fully like
|
|
4360
|
* Changed prompt counter behavior to be fully like
|
|
4346
|
Mathematica's. That is, even input that doesn't return a result
|
|
4361
|
Mathematica's. That is, even input that doesn't return a result
|
|
4347
|
raises the prompt counter. The old behavior was kind of confusing
|
|
4362
|
raises the prompt counter. The old behavior was kind of confusing
|
|
4348
|
(getting the same prompt number several times if the operation
|
|
4363
|
(getting the same prompt number several times if the operation
|
|
4349
|
didn't return a result).
|
|
4364
|
didn't return a result).
|
|
4350
|
|
|
4365
|
|
|
4351
|
* Fixed Nathan's last name in a couple of places (Gray, not Graham).
|
|
4366
|
* Fixed Nathan's last name in a couple of places (Gray, not Graham).
|
|
4352
|
|
|
4367
|
|
|
4353
|
* Fixed -Classic mode (wasn't working anymore).
|
|
4368
|
* Fixed -Classic mode (wasn't working anymore).
|
|
4354
|
|
|
4369
|
|
|
4355
|
* Added colored prompts using Nathan's new code. Colors are
|
|
4370
|
* Added colored prompts using Nathan's new code. Colors are
|
|
4356
|
currently hardwired, they can be user-configurable. For
|
|
4371
|
currently hardwired, they can be user-configurable. For
|
|
4357
|
developers, they can be chosen in file ipythonlib.py, at the
|
|
4372
|
developers, they can be chosen in file ipythonlib.py, at the
|
|
4358
|
beginning of the CachedOutput class def.
|
|
4373
|
beginning of the CachedOutput class def.
|
|
4359
|
|
|
4374
|
|
|
4360
|
2001-11-11 Fernando Perez <fperez@colorado.edu>
|
|
4375
|
2001-11-11 Fernando Perez <fperez@colorado.edu>
|
|
4361
|
|
|
4376
|
|
|
4362
|
* Version 0.1.5 released, 0.1.6 opened for further work.
|
|
4377
|
* Version 0.1.5 released, 0.1.6 opened for further work.
|
|
4363
|
|
|
4378
|
|
|
4364
|
* Changed magic_env to *return* the environment as a dict (not to
|
|
4379
|
* Changed magic_env to *return* the environment as a dict (not to
|
|
4365
|
print it). This way it prints, but it can also be processed.
|
|
4380
|
print it). This way it prints, but it can also be processed.
|
|
4366
|
|
|
4381
|
|
|
4367
|
* Added Verbose exception reporting to interactive
|
|
4382
|
* Added Verbose exception reporting to interactive
|
|
4368
|
exceptions. Very nice, now even 1/0 at the prompt gives a verbose
|
|
4383
|
exceptions. Very nice, now even 1/0 at the prompt gives a verbose
|
|
4369
|
traceback. Had to make some changes to the ultraTB file. This is
|
|
4384
|
traceback. Had to make some changes to the ultraTB file. This is
|
|
4370
|
probably the last 'big' thing in my mental todo list. This ties
|
|
4385
|
probably the last 'big' thing in my mental todo list. This ties
|
|
4371
|
in with the next entry:
|
|
4386
|
in with the next entry:
|
|
4372
|
|
|
4387
|
|
|
4373
|
* Changed -Xi and -Xf to a single -xmode option. Now all the user
|
|
4388
|
* Changed -Xi and -Xf to a single -xmode option. Now all the user
|
|
4374
|
has to specify is Plain, Color or Verbose for all exception
|
|
4389
|
has to specify is Plain, Color or Verbose for all exception
|
|
4375
|
handling.
|
|
4390
|
handling.
|
|
4376
|
|
|
4391
|
|
|
4377
|
* Removed ShellServices option. All this can really be done via
|
|
4392
|
* Removed ShellServices option. All this can really be done via
|
|
4378
|
the magic system. It's easier to extend, cleaner and has automatic
|
|
4393
|
the magic system. It's easier to extend, cleaner and has automatic
|
|
4379
|
namespace protection and documentation.
|
|
4394
|
namespace protection and documentation.
|
|
4380
|
|
|
4395
|
|
|
4381
|
2001-11-09 Fernando Perez <fperez@colorado.edu>
|
|
4396
|
2001-11-09 Fernando Perez <fperez@colorado.edu>
|
|
4382
|
|
|
4397
|
|
|
4383
|
* Fixed bug in output cache flushing (missing parameter to
|
|
4398
|
* Fixed bug in output cache flushing (missing parameter to
|
|
4384
|
__init__). Other small bugs fixed (found using pychecker).
|
|
4399
|
__init__). Other small bugs fixed (found using pychecker).
|
|
4385
|
|
|
4400
|
|
|
4386
|
* Version 0.1.4 opened for bugfixing.
|
|
4401
|
* Version 0.1.4 opened for bugfixing.
|
|
4387
|
|
|
4402
|
|
|
4388
|
2001-11-07 Fernando Perez <fperez@colorado.edu>
|
|
4403
|
2001-11-07 Fernando Perez <fperez@colorado.edu>
|
|
4389
|
|
|
4404
|
|
|
4390
|
* Version 0.1.3 released, mainly because of the raw_input bug.
|
|
4405
|
* Version 0.1.3 released, mainly because of the raw_input bug.
|
|
4391
|
|
|
4406
|
|
|
4392
|
* Fixed NASTY bug in raw_input: input line wasn't properly parsed
|
|
4407
|
* Fixed NASTY bug in raw_input: input line wasn't properly parsed
|
|
4393
|
and when testing for whether things were callable, a call could
|
|
4408
|
and when testing for whether things were callable, a call could
|
|
4394
|
actually be made to certain functions. They would get called again
|
|
4409
|
actually be made to certain functions. They would get called again
|
|
4395
|
once 'really' executed, with a resulting double call. A disaster
|
|
4410
|
once 'really' executed, with a resulting double call. A disaster
|
|
4396
|
in many cases (list.reverse() would never work!).
|
|
4411
|
in many cases (list.reverse() would never work!).
|
|
4397
|
|
|
4412
|
|
|
4398
|
* Removed prefilter() function, moved its code to raw_input (which
|
|
4413
|
* Removed prefilter() function, moved its code to raw_input (which
|
|
4399
|
after all was just a near-empty caller for prefilter). This saves
|
|
4414
|
after all was just a near-empty caller for prefilter). This saves
|
|
4400
|
a function call on every prompt, and simplifies the class a tiny bit.
|
|
4415
|
a function call on every prompt, and simplifies the class a tiny bit.
|
|
4401
|
|
|
4416
|
|
|
4402
|
* Fix _ip to __ip name in magic example file.
|
|
4417
|
* Fix _ip to __ip name in magic example file.
|
|
4403
|
|
|
4418
|
|
|
4404
|
* Changed 'tar -x -f' to 'tar xvf' in auto-installer. This should
|
|
4419
|
* Changed 'tar -x -f' to 'tar xvf' in auto-installer. This should
|
|
4405
|
work with non-gnu versions of tar.
|
|
4420
|
work with non-gnu versions of tar.
|
|
4406
|
|
|
4421
|
|
|
4407
|
2001-11-06 Fernando Perez <fperez@colorado.edu>
|
|
4422
|
2001-11-06 Fernando Perez <fperez@colorado.edu>
|
|
4408
|
|
|
4423
|
|
|
4409
|
* Version 0.1.2. Just to keep track of the recent changes.
|
|
4424
|
* Version 0.1.2. Just to keep track of the recent changes.
|
|
4410
|
|
|
4425
|
|
|
4411
|
* Fixed nasty bug in output prompt routine. It used to check 'if
|
|
4426
|
* Fixed nasty bug in output prompt routine. It used to check 'if
|
|
4412
|
arg != None...'. Problem is, this fails if arg implements a
|
|
4427
|
arg != None...'. Problem is, this fails if arg implements a
|
|
4413
|
special comparison (__cmp__) which disallows comparing to
|
|
4428
|
special comparison (__cmp__) which disallows comparing to
|
|
4414
|
None. Found it when trying to use the PhysicalQuantity module from
|
|
4429
|
None. Found it when trying to use the PhysicalQuantity module from
|
|
4415
|
ScientificPython.
|
|
4430
|
ScientificPython.
|
|
4416
|
|
|
4431
|
|
|
4417
|
2001-11-05 Fernando Perez <fperez@colorado.edu>
|
|
4432
|
2001-11-05 Fernando Perez <fperez@colorado.edu>
|
|
4418
|
|
|
4433
|
|
|
4419
|
* Also added dirs. Now the pushd/popd/dirs family functions
|
|
4434
|
* Also added dirs. Now the pushd/popd/dirs family functions
|
|
4420
|
basically like the shell, with the added convenience of going home
|
|
4435
|
basically like the shell, with the added convenience of going home
|
|
4421
|
when called with no args.
|
|
4436
|
when called with no args.
|
|
4422
|
|
|
4437
|
|
|
4423
|
* pushd/popd slightly modified to mimic shell behavior more
|
|
4438
|
* pushd/popd slightly modified to mimic shell behavior more
|
|
4424
|
closely.
|
|
4439
|
closely.
|
|
4425
|
|
|
4440
|
|
|
4426
|
* Added env,pushd,popd from ShellServices as magic functions. I
|
|
4441
|
* Added env,pushd,popd from ShellServices as magic functions. I
|
|
4427
|
think the cleanest will be to port all desired functions from
|
|
4442
|
think the cleanest will be to port all desired functions from
|
|
4428
|
ShellServices as magics and remove ShellServices altogether. This
|
|
4443
|
ShellServices as magics and remove ShellServices altogether. This
|
|
4429
|
will provide a single, clean way of adding functionality
|
|
4444
|
will provide a single, clean way of adding functionality
|
|
4430
|
(shell-type or otherwise) to IP.
|
|
4445
|
(shell-type or otherwise) to IP.
|
|
4431
|
|
|
4446
|
|
|
4432
|
2001-11-04 Fernando Perez <fperez@colorado.edu>
|
|
4447
|
2001-11-04 Fernando Perez <fperez@colorado.edu>
|
|
4433
|
|
|
4448
|
|
|
4434
|
* Added .ipython/ directory to sys.path. This way users can keep
|
|
4449
|
* Added .ipython/ directory to sys.path. This way users can keep
|
|
4435
|
customizations there and access them via import.
|
|
4450
|
customizations there and access them via import.
|
|
4436
|
|
|
4451
|
|
|
4437
|
2001-11-03 Fernando Perez <fperez@colorado.edu>
|
|
4452
|
2001-11-03 Fernando Perez <fperez@colorado.edu>
|
|
4438
|
|
|
4453
|
|
|
4439
|
* Opened version 0.1.1 for new changes.
|
|
4454
|
* Opened version 0.1.1 for new changes.
|
|
4440
|
|
|
4455
|
|
|
4441
|
* Changed version number to 0.1.0: first 'public' release, sent to
|
|
4456
|
* Changed version number to 0.1.0: first 'public' release, sent to
|
|
4442
|
Nathan and Janko.
|
|
4457
|
Nathan and Janko.
|
|
4443
|
|
|
4458
|
|
|
4444
|
* Lots of small fixes and tweaks.
|
|
4459
|
* Lots of small fixes and tweaks.
|
|
4445
|
|
|
4460
|
|
|
4446
|
* Minor changes to whos format. Now strings are shown, snipped if
|
|
4461
|
* Minor changes to whos format. Now strings are shown, snipped if
|
|
4447
|
too long.
|
|
4462
|
too long.
|
|
4448
|
|
|
4463
|
|
|
4449
|
* Changed ShellServices to work on __main__ so they show up in @who
|
|
4464
|
* Changed ShellServices to work on __main__ so they show up in @who
|
|
4450
|
|
|
4465
|
|
|
4451
|
* Help also works with ? at the end of a line:
|
|
4466
|
* Help also works with ? at the end of a line:
|
|
4452
|
?sin and sin?
|
|
4467
|
?sin and sin?
|
|
4453
|
both produce the same effect. This is nice, as often I use the
|
|
4468
|
both produce the same effect. This is nice, as often I use the
|
|
4454
|
tab-complete to find the name of a method, but I used to then have
|
|
4469
|
tab-complete to find the name of a method, but I used to then have
|
|
4455
|
to go to the beginning of the line to put a ? if I wanted more
|
|
4470
|
to go to the beginning of the line to put a ? if I wanted more
|
|
4456
|
info. Now I can just add the ? and hit return. Convenient.
|
|
4471
|
info. Now I can just add the ? and hit return. Convenient.
|
|
4457
|
|
|
4472
|
|
|
4458
|
2001-11-02 Fernando Perez <fperez@colorado.edu>
|
|
4473
|
2001-11-02 Fernando Perez <fperez@colorado.edu>
|
|
4459
|
|
|
4474
|
|
|
4460
|
* Python version check (>=2.1) added.
|
|
4475
|
* Python version check (>=2.1) added.
|
|
4461
|
|
|
4476
|
|
|
4462
|
* Added LazyPython documentation. At this point the docs are quite
|
|
4477
|
* Added LazyPython documentation. At this point the docs are quite
|
|
4463
|
a mess. A cleanup is in order.
|
|
4478
|
a mess. A cleanup is in order.
|
|
4464
|
|
|
4479
|
|
|
4465
|
* Auto-installer created. For some bizarre reason, the zipfiles
|
|
4480
|
* Auto-installer created. For some bizarre reason, the zipfiles
|
|
4466
|
module isn't working on my system. So I made a tar version
|
|
4481
|
module isn't working on my system. So I made a tar version
|
|
4467
|
(hopefully the command line options in various systems won't kill
|
|
4482
|
(hopefully the command line options in various systems won't kill
|
|
4468
|
me).
|
|
4483
|
me).
|
|
4469
|
|
|
4484
|
|
|
4470
|
* Fixes to Struct in genutils. Now all dictionary-like methods are
|
|
4485
|
* Fixes to Struct in genutils. Now all dictionary-like methods are
|
|
4471
|
protected (reasonably).
|
|
4486
|
protected (reasonably).
|
|
4472
|
|
|
4487
|
|
|
4473
|
* Added pager function to genutils and changed ? to print usage
|
|
4488
|
* Added pager function to genutils and changed ? to print usage
|
|
4474
|
note through it (it was too long).
|
|
4489
|
note through it (it was too long).
|
|
4475
|
|
|
4490
|
|
|
4476
|
* Added the LazyPython functionality. Works great! I changed the
|
|
4491
|
* Added the LazyPython functionality. Works great! I changed the
|
|
4477
|
auto-quote escape to ';', it's on home row and next to '. But
|
|
4492
|
auto-quote escape to ';', it's on home row and next to '. But
|
|
4478
|
both auto-quote and auto-paren (still /) escapes are command-line
|
|
4493
|
both auto-quote and auto-paren (still /) escapes are command-line
|
|
4479
|
parameters.
|
|
4494
|
parameters.
|
|
4480
|
|
|
4495
|
|
|
4481
|
|
|
4496
|
|
|
4482
|
2001-11-01 Fernando Perez <fperez@colorado.edu>
|
|
4497
|
2001-11-01 Fernando Perez <fperez@colorado.edu>
|
|
4483
|
|
|
4498
|
|
|
4484
|
* Version changed to 0.0.7. Fairly large change: configuration now
|
|
4499
|
* Version changed to 0.0.7. Fairly large change: configuration now
|
|
4485
|
is all stored in a directory, by default .ipython. There, all
|
|
4500
|
is all stored in a directory, by default .ipython. There, all
|
|
4486
|
config files have normal looking names (not .names)
|
|
4501
|
config files have normal looking names (not .names)
|
|
4487
|
|
|
4502
|
|
|
4488
|
* Version 0.0.6 Released first to Lucas and Archie as a test
|
|
4503
|
* Version 0.0.6 Released first to Lucas and Archie as a test
|
|
4489
|
run. Since it's the first 'semi-public' release, change version to
|
|
4504
|
run. Since it's the first 'semi-public' release, change version to
|
|
4490
|
> 0.0.6 for any changes now.
|
|
4505
|
> 0.0.6 for any changes now.
|
|
4491
|
|
|
4506
|
|
|
4492
|
* Stuff I had put in the ipplib.py changelog:
|
|
4507
|
* Stuff I had put in the ipplib.py changelog:
|
|
4493
|
|
|
4508
|
|
|
4494
|
Changes to InteractiveShell:
|
|
4509
|
Changes to InteractiveShell:
|
|
4495
|
|
|
4510
|
|
|
4496
|
- Made the usage message a parameter.
|
|
4511
|
- Made the usage message a parameter.
|
|
4497
|
|
|
4512
|
|
|
4498
|
- Require the name of the shell variable to be given. It's a bit
|
|
4513
|
- Require the name of the shell variable to be given. It's a bit
|
|
4499
|
of a hack, but allows the name 'shell' not to be hardwire in the
|
|
4514
|
of a hack, but allows the name 'shell' not to be hardwire in the
|
|
4500
|
magic (@) handler, which is problematic b/c it requires
|
|
4515
|
magic (@) handler, which is problematic b/c it requires
|
|
4501
|
polluting the global namespace with 'shell'. This in turn is
|
|
4516
|
polluting the global namespace with 'shell'. This in turn is
|
|
4502
|
fragile: if a user redefines a variable called shell, things
|
|
4517
|
fragile: if a user redefines a variable called shell, things
|
|
4503
|
break.
|
|
4518
|
break.
|
|
4504
|
|
|
4519
|
|
|
4505
|
- magic @: all functions available through @ need to be defined
|
|
4520
|
- magic @: all functions available through @ need to be defined
|
|
4506
|
as magic_<name>, even though they can be called simply as
|
|
4521
|
as magic_<name>, even though they can be called simply as
|
|
4507
|
@<name>. This allows the special command @magic to gather
|
|
4522
|
@<name>. This allows the special command @magic to gather
|
|
4508
|
information automatically about all existing magic functions,
|
|
4523
|
information automatically about all existing magic functions,
|
|
4509
|
even if they are run-time user extensions, by parsing the shell
|
|
4524
|
even if they are run-time user extensions, by parsing the shell
|
|
4510
|
instance __dict__ looking for special magic_ names.
|
|
4525
|
instance __dict__ looking for special magic_ names.
|
|
4511
|
|
|
4526
|
|
|
4512
|
- mainloop: added *two* local namespace parameters. This allows
|
|
4527
|
- mainloop: added *two* local namespace parameters. This allows
|
|
4513
|
the class to differentiate between parameters which were there
|
|
4528
|
the class to differentiate between parameters which were there
|
|
4514
|
before and after command line initialization was processed. This
|
|
4529
|
before and after command line initialization was processed. This
|
|
4515
|
way, later @who can show things loaded at startup by the
|
|
4530
|
way, later @who can show things loaded at startup by the
|
|
4516
|
user. This trick was necessary to make session saving/reloading
|
|
4531
|
user. This trick was necessary to make session saving/reloading
|
|
4517
|
really work: ideally after saving/exiting/reloading a session,
|
|
4532
|
really work: ideally after saving/exiting/reloading a session,
|
|
4518
|
*everythin* should look the same, including the output of @who. I
|
|
4533
|
*everythin* should look the same, including the output of @who. I
|
|
4519
|
was only able to make this work with this double namespace
|
|
4534
|
was only able to make this work with this double namespace
|
|
4520
|
trick.
|
|
4535
|
trick.
|
|
4521
|
|
|
4536
|
|
|
4522
|
- added a header to the logfile which allows (almost) full
|
|
4537
|
- added a header to the logfile which allows (almost) full
|
|
4523
|
session restoring.
|
|
4538
|
session restoring.
|
|
4524
|
|
|
4539
|
|
|
4525
|
- prepend lines beginning with @ or !, with a and log
|
|
4540
|
- prepend lines beginning with @ or !, with a and log
|
|
4526
|
them. Why? !lines: may be useful to know what you did @lines:
|
|
4541
|
them. Why? !lines: may be useful to know what you did @lines:
|
|
4527
|
they may affect session state. So when restoring a session, at
|
|
4542
|
they may affect session state. So when restoring a session, at
|
|
4528
|
least inform the user of their presence. I couldn't quite get
|
|
4543
|
least inform the user of their presence. I couldn't quite get
|
|
4529
|
them to properly re-execute, but at least the user is warned.
|
|
4544
|
them to properly re-execute, but at least the user is warned.
|
|
4530
|
|
|
4545
|
|
|
4531
|
* Started ChangeLog.
|
|
4546
|
* Started ChangeLog.
|