Show More
@@ -861,7 +861,10 b' class Inspector(Colorable):' | |||||
861 | out['init_docstring'] = init_ds |
|
861 | out['init_docstring'] = init_ds | |
862 |
|
862 | |||
863 | names = [sub.__name__ for sub in obj.__subclasses__()] |
|
863 | names = [sub.__name__ for sub in obj.__subclasses__()] | |
864 |
|
|
864 | if len(names) < 10: | |
|
865 | all_names = ', '.join(names) | |||
|
866 | else: | |||
|
867 | all_names = ', '.join(names[:10]+['...']) | |||
865 | out['subclasses'] = all_names |
|
868 | out['subclasses'] = all_names | |
866 | # and class docstring for instances: |
|
869 | # and class docstring for instances: | |
867 | else: |
|
870 | else: |
@@ -2,6 +2,58 b'' | |||||
2 | 7.x Series |
|
2 | 7.x Series | |
3 | ============ |
|
3 | ============ | |
4 |
|
4 | |||
|
5 | .. _whatsnew720: | |||
|
6 | ||||
|
7 | IPython 7.2.0 | |||
|
8 | ============= | |||
|
9 | ||||
|
10 | IPython 7.2.0 bring minor fixes, improvement and new options. | |||
|
11 | ||||
|
12 | - Fix a bug preventing to enable PySide2 gui integration :ghpull:`11464` | |||
|
13 | - Run CI on Mac OS ! :ghpull:`11471` | |||
|
14 | - Fix IPython "Demo" mode. :ghpull:`11498` | |||
|
15 | - Fix ``%run`` magic with path in name :ghpull:`11499` | |||
|
16 | - Fix: add CWD to sys.path *after* stdlib :ghpull:`11502` | |||
|
17 | - Better rendering of signatures, especially long ones. :ghpull:`11505` | |||
|
18 | - Re enable jedi by default if installed :ghpull:`11506` | |||
|
19 | - Add New ``minimal`` exception reporting mode (useful for educational purpose). See :ghpull:`11509` | |||
|
20 | ||||
|
21 | ||||
|
22 | Added ability to show subclasses when using pinfo and other utilities | |||
|
23 | --------------------------------------------------------------------- | |||
|
24 | ||||
|
25 | When using ``?``/``??`` on a class, IPython will now list the first 10 subclasses. | |||
|
26 | ||||
|
27 | Special Thanks to Chris Mentzel of the Moore Foundation for this feature, Chris | |||
|
28 | is one of the people who played a critical role in IPython/Jupyter getting | |||
|
29 | funding. | |||
|
30 | ||||
|
31 | We are grateful for all the help Chris gave us through the years, We are now | |||
|
32 | proud to have code contributed by Chris in IPython. | |||
|
33 | ||||
|
34 | OSMagics.cd_force_quiet configuration option | |||
|
35 | -------------------------------------------- | |||
|
36 | ||||
|
37 | You can set this option to force the %cd magic to behave as if ``-q`` was passed: | |||
|
38 | :: | |||
|
39 | ||||
|
40 | In [1]: cd / | |||
|
41 | / | |||
|
42 | ||||
|
43 | In [2]: %config OSMagics.cd_force_quiet = True | |||
|
44 | ||||
|
45 | In [3]: cd /tmp | |||
|
46 | ||||
|
47 | In [4]: | |||
|
48 | ||||
|
49 | See :ghpull:`11491` | |||
|
50 | ||||
|
51 | In vi editing mode, whether the prompt includes the current vi mode can now be configured | |||
|
52 | ----------------------------------------------------------------------------------------- | |||
|
53 | ||||
|
54 | Set the ``TerminalInteractiveShell.prompt_includes_vi_mode`` to a boolean value | |||
|
55 | (default: True) to control this feature. See :ghpull:`11492` | |||
|
56 | ||||
5 | .. _whatsnew710: |
|
57 | .. _whatsnew710: | |
6 |
|
58 | |||
7 | IPython 7.1.0 |
|
59 | IPython 7.1.0 |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now