-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
whatsnew082.html
304 lines (265 loc) · 11.8 KB
/
whatsnew082.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>WhatsNew082 — IPython</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/agogo.css" />
<link rel="stylesheet" href="_static/ipython.css" type="text/css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="New features in 0.8.3" href="whatsnew083.html" />
<link rel="prev" title="IPython User Survey 2013" href="usersurvey2013.html" />
</head><body>
<div class="header-wrapper">
<div class="header">
<div class="logo"><a href="index.html">
<img class="logo" src="_static/IPy_header.png" alt="Logo"/>
</a></div>
<div class="rel">
<a href="https://jupyter.readthedocs.io/en/latest/install.html" target="_blank">Install</a> ·
<a href="documentation.html">Documentation</a> ·
<a href="project.html">Project</a> ·
<a href="https://jupyter.org/" target="_blank">Jupyter</a> ·
<a href="news.html">News</a> ·
<a href="citing.html">Cite</a> ·
<a href="donate.html">Donate</a> ·
<a href="books.html">Books</a>
</div>
</div>
</div>
<div class="content-wrapper">
<div class="content">
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<div class="sidebarblock">
<div id="cse-search-form" style="width: 100%;">Loading</div>
<script src="https://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'en'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl(
'017950022472296044740:wfr9nyfshwo');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
var options = new google.search.DrawOptions();
options.enableSearchboxOnly("searchresults.html");
customSearchControl.draw('cse-search-form', options);
}, true);
</script>
<link rel="stylesheet" href="https://www.google.com/cse/style/look/default.css" type="text/css" /> <style type="text/css">
input.gsc-input {
border-color: #BCCDF0;
}
input.gsc-search-button {
border-color: #666666;
background-color: #CECECE;
padding: 0;
}
div.sphinxsidebar input[type="text"] {
width: 100%;
}
div.sphinxsidebar input[type="submit"] {
width: 100%;
}
</style>
</div>
<div class="sidebarblock">
<h3>JupyterCon</h3>
<a href="http://jupytercon.com">
<img src="_static/jupytercon-logo.svg" width="180px" alt="JupyterCon 2017">
</a>
</div>
<div class="sidebarblock">
<h3>Notebook Viewer</h3>
Share your notebooks
<div class="nbviewer-thm-random">
<script src="_static/nbviewer_thm.js"></script>
<script type="text/javascript">
nbviewer_random_thumbnail();
</script>
</div>
</div>
<div class="sidebarblock">
<h3>Community</h3>
<ul class="simple">
<li><a class="reference external" href="http://stackoverflow.com/questions/tagged/ipython">
Stack Overflow</a></li>
<li><a class="reference external" href="https://mail.python.org/mailman/listinfo/ipython-dev">
Mailing list</a></li>
<li><a class="reference external" href="https://github.com/ipython/ipython/issues">
File a bug</a></li>
<li><a class="reference external" href="http://www.reddit.com/r/IPython">
Reddit</a></li>
</ul>
</div>
<div class="sidebarblock">
<h3>For developers</h3>
<ul class="simple">
<li><a class="reference external" href="https://mail.python.org/mailman/listinfo/ipython-dev">Mailing list</a></li>
<li><a class="reference external" href="https://gitter.im/ipython/ipython">
Development Chat Room</a></li>
<li><a class="reference external"
href="https://github.com/ipython/ipython/wiki/Dev:-Index">Development information</a></li>
<li><a class="reference external" href="http://travis-ci.org/#!/ipython/ipython">
Travis CI</a></li>
<li><a class="reference external" href="https://github.com/ipython/ipython/wiki">Wiki</a></li>
</ul>
</div>
<div class="sidebarblock">
<h3>Book</h3>
<a href="books.html"><img
title="Packt Publishing donates a portion of the proceeds from this book to
support IPython's development." width="160" height="200" id="sidebar-book-cover"
style="margin-bottom: 10px;"></a>
<script language="javascript">
// most recent at the end
var urls = [
"_static/ipython-book.jpg",
"_static/learning-jupyter-book.png",
"_static/mastering-ipython-book.png",
"_static/jupyter-notebook-for-all-I.jpg",
"_static/jupyter-notebook-for-all-II.jpg",
"_static/jupyter-in-depth.png",
"_static/jupyter-for-ds.png",
"_static/ipython-cookbook-2nd.png",
]
function pick(){
var len = urls.length;
var num = Math.floor(Math.sqrt(Math.random()*len*len));
return urls[num];
}
function repick(){
$("#sidebar-book-cover").attr("src", pick());
}
window.onload = repick ;
var seconds = 1000;
setInterval(repick, 60*seconds)
</script>
</div>
<div class="sidebarblock">
<div class="tile" id="donate">
<h4>Support IPython</h4>
<!--This relies on some CSS & JS which is added in the _templates folder-->
<a style="background: #34677c;
border-radius:0px 0px 0px 0px;
font-weight:normal;
font-family:Arial, Helvetica, sans-serif;
border:none;
box-shadow:none;
left: 50%;
margin-left:-72.5px; margin-top: 1em; margin-bottom: 1em;
clear: both; display: block;
width:145px; height:45px;
line-height:2.8;
position:relative;
font-size:16px;
text-align:center;
cursor:pointer;
color:#fff;
text-decoration: none;
z-index:1"
href="https://numfocus.salsalabs.org/donate-to-ipython/index.html">Donate Now</a>
<a href="donate.html">Find out more...</a>
</div>
</div>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="whatsnew082">
<h1>WhatsNew082<a class="headerlink" href="#whatsnew082" title="Permalink to this headline">¶</a></h1>
<section id="new-features-in-0-8-2">
<h2>New features in 0.8.2<a class="headerlink" href="#new-features-in-0-8-2" title="Permalink to this headline">¶</a></h2>
<p>This does not list bugfixes, enhanced internals or api additions.</p>
<blockquote>
<div><ul class="simple">
<li><p>“Shadow history” remembers everything you’ve entered, forever. Remember that
arcane command line you entered three weeks ago? Just grep the shadow
history with “%hist -g”! <a class="reference external" href="http://ipython.scipy.org/moin/Cookbook/ShadowHistory">See cookbook</a> for details.</p></li>
<li><p>%rep is a new magic function that allows you to fetch command lines from
history for editing. Do “%rep?” for details.</p></li>
<li><p>System command aliases (created by %rehashx) are lower case in win32.</p></li>
<li><p>Macros can now take arguments. <a class="reference external" href="http://ipython.scipy.org/moin/Cookbook/MacroArguments">See cookbook</a>.</p></li>
<li><p>%macro without arguments lists available macros.</p></li>
<li><p>Directory history (the easiest way to see it is by doing ‘cd -<TAB>’) is now
persistent across sessions.</p></li>
<li><p>ipython -i -c <cmd>: -i (interact) prevents IPython session from exiting
after executing <cmd>. <cmd> can now contain IPython syntax (!foo, %magic
etc).</p></li>
<li><p>new profiles: doctest, zope. scipy is now in ipy_profile_scipy.py instead of
ipythonrc-scipy.</p></li>
<li><p>new extensions:</p>
<ul>
<li><p>ipy_traits_completer.py: complete Traits attributes</p></li>
<li><p>ipy_legacy.py: enable deprecated features</p></li>
<li><p>mglob.py: enhanced globbing - <code class="docutils literal notranslate"><span class="pre">%mglob</span> <span class="pre">!.svn/</span> <span class="pre">rec:*.py</span></code></p></li>
<li><p>ipy_exportdb.py: create a portable .py file from your %store’d macros,
aliases, strings and bookmarks for distribution. <a class="reference external" href="http://ipython.scipy.org/moin/Cookbook/IpyExportDb">See cookbook</a> .</p></li>
<li><p>ipy_render.py: win32: render templates using Itpl format to clipboard
(e.g. render ‘hello $a’). <a class="reference external" href="http://ipython.scipy.org/moin/Cookbook/IpyRender">See cookbook</a>.</p></li>
<li><p>ipy_editors.py: Bunch of popular editors readily configured for
IPython. See ipy_user_conf.py for instructions on how to enable them.</p></li>
<li><p>ipy_fsops.py: Has useful shell utils for plain (non-cygwin enabled) win32
installations: icp, imv, imkdir, igrep, irm, collect (collect is useful
for others as well).</p></li>
</ul>
</li>
<li><p>py2exe version supported (ipykit)</p></li>
<li><p>The title bar of IPython window shows the currently executing system
command.</p></li>
<li><p>Prompt on win32 in pysh (‘-p sh’ profile) now has the drive letter for
enhanced location awareness, and uses / instead of .</p></li>
<li><p>Errors from misusing magics are much less verbose now (due to UserError
exception).</p></li>
<li><p>String Lists provide a convenient way to manipulate command output. See
<a class="reference external" href="http://ipython.scipy.org/moin/Cookbook/StringListProcessing">Cookbook</a>.</p></li>
<li><p>Directory stack (%pushd, %popd, %dirs) works more predictably now.</p></li>
<li><p>%time allows IPython expressions (which includes system commands - e.g. try
“%time !ls”)</p></li>
<li><p>Callable aliases can be used to extend IPython (provide new commands) in a
more elegant manner than magic commands. Also, no % is
necessary/allowed. See ipy_fsops.py for examples.</p></li>
<li><p>Improved Leopard support for tab-completion, though a few issues remain.</p></li>
</ul>
</div></blockquote>
</section>
<section id="known-issues">
<h2>Known issues<a class="headerlink" href="#known-issues" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div><ul class="simple">
<li><p>We still get crashes from KeyboardInterrupt occasionally (caused by pressing
ctrl+C or ctrl+break)</p></li>
<li><p>Unicode support is not yet perfect, so expect problems on Unicode
input/output.</p></li>
<li><p>The manual is hopelessly out of date. This is something we will look into
during 0.8.3 cycle; in the meantime, see the documentation page on the wiki
[superseded], and the user-maintained <a class="reference external" href="http://ipython.scipy.org/moin/Cookbook">cookbook</a>.</p></li>
<li><p>Under OSX Leopard, we are seeing some readline-related problems with history
recall. It is not clear yet whether the issue is with IPython or Leopard’s
readline support itself. We’re investigating the issue.</p></li>
</ul>
</div></blockquote>
</section>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
</div>
<div class="footer-wrapper">
<div class="footer" role="contentinfo">
© Copyright the IPython development team. Python is trademark of the Python Software Foundation.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.5.0.
</div>
</div>
</body>
</html>