##// END OF EJS Templates
Clear filter
Show hidden
Commit Message Age Author Refs
r27684:f20e3b80
utils: coloransi: Escape Unicode U0001 and U0002 non-printable characters. Fixes #13637. These Unicode characters, would cause problems when processed by LaTeX to generate the info or PDF documentation targets. * IPython/utils/coloransi.py (InputTermColors): Escape the backslashes in \001 and \002 so that they are shown as literals '\001' and '\002' strings in the Sphinx-generated documentation rather than as non-printable Unicode characters.
Maxim Cournoyer
0
r27683:71d665c4
ipython_directive: Adjust doc examples for reproducibility. Before this change, building the documentation twice in a row in an environment configured for reproducible bulids would result in discrepancies such as: diff -ru /gnu/store/...-python-ipython-documentation-8.2.0/share/doc/python-ipython-documentation-8.2.0/html/sphinxext.html /gnu/store/...-python-ipython-documentation-8.2.0-check/share/doc/python-ipython-documentation-8.2.0/html/sphinxext.html --- /gnu/store/...-python-ipython-documentation-8.2.0/share/doc/python-ipython-documentation-8.2.0/html/sphinxext.html 1969-12-31 19:00:01.000000000 -0500 +++ /gnu/store/...-python-ipython-documentation-8.2.0-check/share/doc/python-ipython-documentation-8.2.0/html/sphinxext.html 1969-12-31 19:00:01.000000000 -0500 @@ -682,7 +682,7 @@ <span class="gp">In [2]: </span><span class="kn">import</span> <span class="nn">datetime</span> <span class="gp"> ...: </span><span class="n">datetime</span><span class="o">.</span><span class="n">datetime</span><span class="o">.</span><span class="n">now</span><span class="p">()</span> <span class="gp"> ...: </span> -<span class="gh">Out[2]: </span><span class="go">datetime.datetime(2022, 4, 17, 3, 21, 14, 978155)</span> +<span class="gh">Out[2]: </span><span class="go">datetime.datetime(2022, 4, 17, 3, 37, 37, 115081)</span> </pre></div> </div> <p>It supports IPython construct that plain @@ -690,7 +690,7 @@ <div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><span class="gp">In [3]: </span><span class="kn">import</span> <span class="nn">time</span> <span class="gp">In [4]: </span><span class="o">%</span><span class="k">timeit</span> time.sleep(0.05) -<span class="go">50.2 ms +- 104 us per loop (mean +- std. dev. of 7 runs, 10 loops each)</span> +<span class="go">50.1 ms +- 8.86 us per loop (mean +- std. dev. of 7 runs, 10 loops each)</span> </pre></div> </div> <p>This will also support top-level async when using IPython 7.0+</p> * IPython/sphinxext/ipython_directive.py: Use a fixed date string in the datetime example, and replace the %timeit example by %pdoc, whole output is static.
Maxim Cournoyer
0
r27682:a72418e2
Restore lineno's for Input mapped files (#13560) * Implement lineno's for Input mapped files * Adopt In [123], line 123 format * Revert "Set co_name for cells run line by line. Fixes https://github.com/ipython/ipykernel/issues/841" (This reverts commit d11e987f174a15f1640f8006c86f58d884c3faa4.) * Omit mention of ", in <module>" for input tracebacks * Input cell -> Cell * Remove <module> from traceback doctests * Use f-string for `in ...' format * Simplify _format_list logic, converting to f-strings
JD Smith
0
r27681:ccd53253
Don't strip decorators before feeding into block_parser (#13612) make sure only pseudo-decorators are stripped before feeding into block_parser
Tom Nicholas
0
r27680:e9ffbb81
Merge pull request #13677 from MrMino/prompt-toolkit-range-13645 Limit supported prompt-toolkit versions to 3.0.2-3.1.0
Blazej Michalik
merge master
0
r27679:96e01eee
Merge pull request #13694 from mgorny/setuptools-backend Modernize setuptools usage in pyproject.toml
Blazej Michalik
merge
0
r27678:971e5ce2
Modernize setuptools usage in pyproject.toml 1. Remove the redundant `wheel` dependency. The setuptools build backend has been adding it automatically since day one, and it was explicitly specified in the docs as a mistake. See: https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a 2. Replace the legacy backend with the regular backend. The legacy backend was only intended to be used implicitly when `pyproject.toml` does not specify only, and was not supposed to be specified explicitly there. See: https://github.com/pypa/setuptools/issues/1689 3. Prepend the current directory to `sys.path` as required for `setup.py` to reliably import `setupbase`. The non-legacy backend no longer does this for us.
Michał Górny
0
r27677:da95deae
Merge pull request #13689 from TenzinRabgy/master Documentation uses python2 for a code example instead of python3
Blazej Michalik
merge master
0
r27676:d09a817d
Update python2 code example to python3, print '' -> print('')
TenzinRabgy
0
r27675:7aa91454
Merge pull request #13683 from genelkim/tbtools-debugger-cls-var-fix Correct the debugger_cls() call to self.debugger_cls() call in TBTool
Blazej Michalik
merge master
0
r27674:af37d7b2
back to dev
Matthias Bussonnier
0
r27673:4396dd62
release 8.4.0
Matthias Bussonnier
0
r27669:add1dce2
Merge pull request #13686 from Carreau/wn84 What's new 8.4
Matthias Bussonnier
merge
0
r27667:14fd4bf1
Merge pull request #13685 from Carreau/mv734 what's new 7.34
Matthias Bussonnier
merge
0
r27666:b64600e6
What's new 8.4
Matthias Bussonnier
0
r27665:daca7fa3
wn 734
Matthias Bussonnier
0
r27662:2e08c72d
Correct the debugger_cls() call to self.debugger_cls() call in TBTools.__init__() so that it doesn't crash when the optionally argument, debugger_cls, is unspecified.
Gene Louis Kim
0
r27661:2d7bfdeb
Merge pull request #13682 from graingert/patch-1 fix get_event_loop typo
Blazej Michalik
merge
0
r27660:2a80ede9
fix get_event_loop typo
Thomas Grainger
0
r27659:c0a6176d
Limit supported prompt-toolkit versions to 3.0.2-3.1.0 Fixes #13645. Stems from #13592.
Blazej Michalik
0
load next
< 1 2 3 4 5 6 7 .. 1300 >
showing 20 out of 25981 commits