passagemath-repl 10.5.2__tar.gz → 10.5.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/PKG-INFO +3 -3
- passagemath_repl-10.5.5/VERSION.txt +1 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-version.sh +3 -3
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/passagemath_repl.egg-info/PKG-INFO +3 -3
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/passagemath_repl.egg-info/requires.txt +2 -2
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/pyproject.toml +2 -2
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/control.py +1 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/external.py +24 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/reporting.py +2 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/util.py +2 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/inline_fortran.py +1 -3
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/configuration.py +3 -4
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/interpreter.py +2 -1
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_extension.py +75 -7
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/backend_doctest.py +4 -4
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/backend_ipython.py +8 -8
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/output_basic.py +3 -3
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/output_catalog.py +3 -3
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/test_backend.py +3 -3
- passagemath_repl-10.5.2/VERSION.txt +0 -1
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/MANIFEST.in +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/README.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/math-readline +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-cachegrind +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-callgrind +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-cleaner +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-coverage +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-cython +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-env +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-env-config.in +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-eval +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-fixdoctests +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-grep +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-grepdoc +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-inline-fortran +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-ipynb2rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-ipython +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-list-packages +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-massif +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-notebook +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-num-threads.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-omega +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-preparse +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-python +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-run +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-run-cython +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-runtests +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-src-env-config.in +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-startuptime.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-update-version +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-valgrind +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/bin/sage-venv-config +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/known-test-failures.json +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/passagemath_repl.egg-info/SOURCES.txt +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/passagemath_repl.egg-info/dependency_links.txt +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/passagemath_repl.egg-info/top_level.txt +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/pyproject.toml.m4 +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/requirements-editable.txt.m4 +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/requirements.txt.m4 +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/all__sagemath_repl.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/__main__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/all.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/check_tolerance.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/fixtures.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/forker.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/marked_output.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/parsing.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/parsing_test.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/rif_tol.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/sources.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/test.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/1second.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/99seconds.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/abort.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/atexit.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/fail_and_die.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/initial.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/interrupt.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/interrupt_diehard.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/keyboardinterrupt.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/longtime.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/nodoctest +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/random_seed.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/show_skipped.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/sig_on.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/simple_failure.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/sleep_and_raise.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/doctest/tests/tolerance.rst +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/interfaces/cleaner.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/interfaces/quit.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/all__sagemath_repl.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/banner.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/benchmark.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/classgraph.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/copying.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/cython.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/dev_tools.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/edit_module.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/explain_pickle.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/gperftools.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/messaging.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/pager.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/profiler.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/python.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/remote_file.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/sage_eval.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/sage_input.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/sagedoc.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/sh.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/misc/trace.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/all.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/attach.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/display/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/display/fancy_repr.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/display/formatter.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/display/jsmol_iframe.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/display/pretty_print.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/display/util.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/image.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/inputhook.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/interface_magic.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/__main__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/all_jupyter.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/install.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/interact.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/kernel.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/widgets.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_kernel/widgets_sagenb.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/ipython_tests.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/load.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/preparse.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/prompts.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/backend_base.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/backend_emacs.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/buffer.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/display_manager.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.avi +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.canvas3d +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.dvi +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.flv +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.gif +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.jpg +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.mkv +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.mov +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.mp4 +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.ogv +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.pdf +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.png +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.svg +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.webm +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example.wmv +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example_jmol.spt.zip +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example_wavefront_scene.mtl +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/example_wavefront_scene.obj +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/output_browser.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/output_graphics.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/output_graphics3d.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/output_video.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/preferences.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/pretty_print.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/user_globals.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/all.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/all__sagemath_repl.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/article_heuberger_krenn_kropf_fsm-in-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/arxiv_0812_2725.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/benchmark.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/book_schilling_zabrocki_kschur_primer.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/book_stein_ent.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/book_stein_modform.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/README +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/calculus_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/combinat_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/domaines_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/float_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/graphique_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/graphtheory_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/integration_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/linalg_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/lp_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/mpoly_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/nonlinear_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/numbertheory_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/polynomes_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/premierspas_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/programmation_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/recequadiff_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/calculus_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/combinat_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/domaines_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/float_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/graphique_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/graphtheory_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/integration_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/linalg_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/linsolve_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/lp_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/mpoly_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/nonlinear_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/numbertheory_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/polynomes_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/computational-mathematics-with-sagemath/sol/recequadiff_doctest.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/actions-sage-exercises.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/actions-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/algcodes-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/boolean-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/cosets-sage-exercises.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/cosets-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/crypt-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/cyclic-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/domains-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/fields-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/finite-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/galois-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/groups-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/homomorph-sage-exercises.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/homomorph-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/integers-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/isomorph-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/normal-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/permute-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/poly-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/rings-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/sets-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/struct-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/sylow-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/vect-sage-exercises.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/books/judson-abstract-algebra/vect-sage.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/cmdline.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/combinatorial_hopf_algebras.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/finite_poset.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/functools_partial_src.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/gosper-sum.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/lazy_imports.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/memcheck/__init__.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/memcheck/run_tests.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/memcheck/run_tests_in_valgrind.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/memcheck/symbolic_expression.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/memcheck/verify_no_leak.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/meson.build +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/modular_group_cohomology.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/numpy.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/parigp.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/startup.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/symbolic-series.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/sympy.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/tests/test_deprecation.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/setup.cfg +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/setup.py +0 -0
- {passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/tox.ini +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: passagemath-repl
|
3
|
-
Version: 10.5.
|
3
|
+
Version: 10.5.5
|
4
4
|
Summary: passagemath: IPython kernel, Sage preparser, doctester
|
5
5
|
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
6
6
|
Maintainer: Matthias Köppe, passagemath contributors
|
@@ -28,8 +28,8 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
28
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
29
29
|
Requires-Python: <3.13,>=3.9
|
30
30
|
Description-Content-Type: text/x-rst
|
31
|
-
Requires-Dist: passagemath-objects~=10.5.
|
32
|
-
Requires-Dist: passagemath-environment~=10.5.
|
31
|
+
Requires-Dist: passagemath-objects~=10.5.5.0
|
32
|
+
Requires-Dist: passagemath-environment~=10.5.5.0
|
33
33
|
Requires-Dist: ipykernel>=5.2.1
|
34
34
|
Requires-Dist: ipython>=7.13.0
|
35
35
|
Requires-Dist: ipywidgets>=7.5.1
|
@@ -0,0 +1 @@
|
|
1
|
+
10.5.5
|
@@ -4,6 +4,6 @@
|
|
4
4
|
# which stops "setup.py develop" from rewriting it as a Python file.
|
5
5
|
:
|
6
6
|
# This file is auto-generated by the sage-update-version script, do not edit!
|
7
|
-
SAGE_VERSION='10.5.
|
8
|
-
SAGE_RELEASE_DATE='2024-12-
|
9
|
-
SAGE_VERSION_BANNER='passagemath version 10.5.
|
7
|
+
SAGE_VERSION='10.5.5'
|
8
|
+
SAGE_RELEASE_DATE='2024-12-11'
|
9
|
+
SAGE_VERSION_BANNER='passagemath version 10.5.5, Release Date: 2024-12-11'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: passagemath-repl
|
3
|
-
Version: 10.5.
|
3
|
+
Version: 10.5.5
|
4
4
|
Summary: passagemath: IPython kernel, Sage preparser, doctester
|
5
5
|
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
6
6
|
Maintainer: Matthias Köppe, passagemath contributors
|
@@ -28,8 +28,8 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
28
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
29
29
|
Requires-Python: <3.13,>=3.9
|
30
30
|
Description-Content-Type: text/x-rst
|
31
|
-
Requires-Dist: passagemath-objects~=10.5.
|
32
|
-
Requires-Dist: passagemath-environment~=10.5.
|
31
|
+
Requires-Dist: passagemath-objects~=10.5.5.0
|
32
|
+
Requires-Dist: passagemath-environment~=10.5.5.0
|
33
33
|
Requires-Dist: ipykernel>=5.2.1
|
34
34
|
Requires-Dist: ipython>=7.13.0
|
35
35
|
Requires-Dist: ipywidgets>=7.5.1
|
@@ -10,8 +10,8 @@ build-backend = "setuptools.build_meta"
|
|
10
10
|
name = "passagemath-repl"
|
11
11
|
description = "passagemath: IPython kernel, Sage preparser, doctester"
|
12
12
|
dependencies = [
|
13
|
-
'passagemath-objects ~= 10.5.
|
14
|
-
'passagemath-environment ~= 10.5.
|
13
|
+
'passagemath-objects ~= 10.5.5.0',
|
14
|
+
'passagemath-environment ~= 10.5.5.0',
|
15
15
|
'ipykernel >=5.2.1',
|
16
16
|
'ipython >=7.13.0',
|
17
17
|
'ipywidgets >=7.5.1',
|
@@ -45,6 +45,7 @@ Array = multiprocessing.Array
|
|
45
45
|
# software xxx is available to Sage.
|
46
46
|
prefix = 'has_'
|
47
47
|
|
48
|
+
|
48
49
|
def has_internet():
|
49
50
|
"""
|
50
51
|
Test if Internet is available.
|
@@ -61,6 +62,7 @@ def has_internet():
|
|
61
62
|
from sage.features.internet import Internet
|
62
63
|
return Internet().is_present()
|
63
64
|
|
65
|
+
|
64
66
|
def has_latex():
|
65
67
|
"""
|
66
68
|
Test if Latex is available.
|
@@ -74,6 +76,7 @@ def has_latex():
|
|
74
76
|
from sage.features.latex import latex
|
75
77
|
return latex().is_present()
|
76
78
|
|
79
|
+
|
77
80
|
def has_xelatex():
|
78
81
|
"""
|
79
82
|
Test if xelatex is available.
|
@@ -87,6 +90,7 @@ def has_xelatex():
|
|
87
90
|
from sage.features.latex import xelatex
|
88
91
|
return xelatex().is_present()
|
89
92
|
|
93
|
+
|
90
94
|
def has_pdflatex():
|
91
95
|
"""
|
92
96
|
Test if pdflatex is available.
|
@@ -100,6 +104,7 @@ def has_pdflatex():
|
|
100
104
|
from sage.features.latex import pdflatex
|
101
105
|
return pdflatex().is_present()
|
102
106
|
|
107
|
+
|
103
108
|
def has_lualatex():
|
104
109
|
"""
|
105
110
|
Test if lualatex is available.
|
@@ -113,6 +118,7 @@ def has_lualatex():
|
|
113
118
|
from sage.features.latex import lualatex
|
114
119
|
return lualatex().is_present()
|
115
120
|
|
121
|
+
|
116
122
|
def has_magma():
|
117
123
|
"""
|
118
124
|
Test if Magma is available.
|
@@ -126,6 +132,7 @@ def has_magma():
|
|
126
132
|
from sage.features.interfaces import Magma
|
127
133
|
return Magma().is_present()
|
128
134
|
|
135
|
+
|
129
136
|
def has_matlab():
|
130
137
|
"""
|
131
138
|
Test if Matlab is available.
|
@@ -139,6 +146,7 @@ def has_matlab():
|
|
139
146
|
from sage.features.interfaces import Matlab
|
140
147
|
return Matlab().is_present()
|
141
148
|
|
149
|
+
|
142
150
|
def has_mathematica():
|
143
151
|
"""
|
144
152
|
Test if Mathematica is available.
|
@@ -152,6 +160,7 @@ def has_mathematica():
|
|
152
160
|
from sage.features.interfaces import Mathematica
|
153
161
|
return Mathematica().is_present()
|
154
162
|
|
163
|
+
|
155
164
|
def has_maple():
|
156
165
|
"""
|
157
166
|
Test if Maple is available.
|
@@ -165,6 +174,7 @@ def has_maple():
|
|
165
174
|
from sage.features.interfaces import Maple
|
166
175
|
return Maple().is_present()
|
167
176
|
|
177
|
+
|
168
178
|
def has_macaulay2():
|
169
179
|
"""
|
170
180
|
Test if Macaulay2 is available.
|
@@ -178,6 +188,7 @@ def has_macaulay2():
|
|
178
188
|
from sage.features.interfaces import Macaulay2
|
179
189
|
return Macaulay2().is_present()
|
180
190
|
|
191
|
+
|
181
192
|
def has_octave():
|
182
193
|
"""
|
183
194
|
Test if Octave is available.
|
@@ -191,6 +202,7 @@ def has_octave():
|
|
191
202
|
from sage.features.interfaces import Octave
|
192
203
|
return Octave().is_present()
|
193
204
|
|
205
|
+
|
194
206
|
def has_pandoc():
|
195
207
|
"""
|
196
208
|
Test if pandoc is available.
|
@@ -204,6 +216,7 @@ def has_pandoc():
|
|
204
216
|
from sage.features.pandoc import Pandoc
|
205
217
|
return Pandoc().is_present()
|
206
218
|
|
219
|
+
|
207
220
|
def has_scilab():
|
208
221
|
"""
|
209
222
|
Test if Scilab is available.
|
@@ -221,6 +234,7 @@ def has_scilab():
|
|
221
234
|
except Exception:
|
222
235
|
return False
|
223
236
|
|
237
|
+
|
224
238
|
def has_cplex():
|
225
239
|
"""
|
226
240
|
Test if CPLEX is available.
|
@@ -234,6 +248,7 @@ def has_cplex():
|
|
234
248
|
from sage.features.mip_backends import CPLEX
|
235
249
|
return CPLEX().is_present()
|
236
250
|
|
251
|
+
|
237
252
|
def has_gurobi():
|
238
253
|
"""
|
239
254
|
Test if Gurobi is available.
|
@@ -247,6 +262,7 @@ def has_gurobi():
|
|
247
262
|
from sage.features.mip_backends import Gurobi
|
248
263
|
return Gurobi().is_present()
|
249
264
|
|
265
|
+
|
250
266
|
def has_graphviz():
|
251
267
|
"""
|
252
268
|
Test if graphviz (dot, twopi, neato) are available.
|
@@ -260,6 +276,7 @@ def has_graphviz():
|
|
260
276
|
from sage.features.graphviz import Graphviz
|
261
277
|
return Graphviz().is_present()
|
262
278
|
|
279
|
+
|
263
280
|
def has_ffmpeg():
|
264
281
|
"""
|
265
282
|
Test if ffmpeg is available.
|
@@ -273,6 +290,7 @@ def has_ffmpeg():
|
|
273
290
|
from sage.features.ffmpeg import FFmpeg
|
274
291
|
return FFmpeg().is_present()
|
275
292
|
|
293
|
+
|
276
294
|
def has_imagemagick():
|
277
295
|
"""
|
278
296
|
Test if ImageMagick (command magick or convert) is available.
|
@@ -286,6 +304,7 @@ def has_imagemagick():
|
|
286
304
|
from sage.features.imagemagick import ImageMagick
|
287
305
|
return ImageMagick().is_present()
|
288
306
|
|
307
|
+
|
289
308
|
def has_dvipng():
|
290
309
|
"""
|
291
310
|
Test if dvipng is available.
|
@@ -299,6 +318,7 @@ def has_dvipng():
|
|
299
318
|
from sage.features.dvipng import dvipng
|
300
319
|
return dvipng().is_present()
|
301
320
|
|
321
|
+
|
302
322
|
def has_pdf2svg():
|
303
323
|
"""
|
304
324
|
Test if pdf2svg is available.
|
@@ -312,6 +332,7 @@ def has_pdf2svg():
|
|
312
332
|
from sage.features.pdf2svg import pdf2svg
|
313
333
|
return pdf2svg().is_present()
|
314
334
|
|
335
|
+
|
315
336
|
def has_rubiks():
|
316
337
|
"""
|
317
338
|
Test if the rubiks package (``cu2``, ``cubex``, ``dikcube``,
|
@@ -326,6 +347,7 @@ def has_rubiks():
|
|
326
347
|
from sage.features.rubiks import Rubiks
|
327
348
|
return Rubiks().is_present()
|
328
349
|
|
350
|
+
|
329
351
|
def has_4ti2():
|
330
352
|
"""
|
331
353
|
Test if the 4ti2 package is available.
|
@@ -339,6 +361,7 @@ def has_4ti2():
|
|
339
361
|
from sage.features.four_ti_2 import FourTi2
|
340
362
|
return FourTi2().is_present()
|
341
363
|
|
364
|
+
|
342
365
|
def external_features():
|
343
366
|
r"""
|
344
367
|
Generate the features that are only to be tested if ``--optional=external`` is used.
|
@@ -363,6 +386,7 @@ def external_features():
|
|
363
386
|
yield CPLEX()
|
364
387
|
yield Gurobi()
|
365
388
|
|
389
|
+
|
366
390
|
def external_software() -> list[str]:
|
367
391
|
"""
|
368
392
|
Return the alphabetical list of external software supported by this module.
|
@@ -50,6 +50,7 @@ from sage.doctest.util import count_noun
|
|
50
50
|
from sage.doctest.sources import DictAsObject
|
51
51
|
from .external import available_software
|
52
52
|
|
53
|
+
|
53
54
|
def signal_name(sig):
|
54
55
|
"""
|
55
56
|
Return a string describing a signal number.
|
@@ -91,6 +92,7 @@ def signal_name(sig):
|
|
91
92
|
return "bus error"
|
92
93
|
return "signal %s" % sig
|
93
94
|
|
95
|
+
|
94
96
|
class DocTestReporter(SageObject):
|
95
97
|
"""
|
96
98
|
This class reports to the users on the results of doctests.
|
@@ -26,6 +26,7 @@ AUTHORS:
|
|
26
26
|
from time import time as walltime
|
27
27
|
from os import sysconf, times
|
28
28
|
|
29
|
+
|
29
30
|
def count_noun(number, noun, plural=None, pad_number=False, pad_noun=False):
|
30
31
|
"""
|
31
32
|
EXAMPLES::
|
@@ -615,6 +616,7 @@ def make_recording_dict(D, st, gt):
|
|
615
616
|
ans.got = gt
|
616
617
|
return ans
|
617
618
|
|
619
|
+
|
618
620
|
class NestedName:
|
619
621
|
"""
|
620
622
|
Class used to construct fully qualified names based on indentation level.
|
@@ -163,9 +163,7 @@ class InlineFortran:
|
|
163
163
|
|
164
164
|
# What follows are the arguments to f2py itself (appended later
|
165
165
|
# just for logical separation)
|
166
|
-
cmd += ['-c', '-m', name, fortran_file, '--quiet',
|
167
|
-
'--f77exec=sage-inline-fortran',
|
168
|
-
'--f90exec=sage-inline-fortran'] + s_lib_path + s_lib
|
166
|
+
cmd += ['-c', '-m', name, fortran_file, '--quiet', '--backend', 'meson'] + s_lib_path + s_lib
|
169
167
|
|
170
168
|
try:
|
171
169
|
out = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
|
@@ -15,15 +15,14 @@ the IPython simple prompt is being used::
|
|
15
15
|
sage: 'sage: [False, True]' in output # needs pexpect
|
16
16
|
True
|
17
17
|
"""
|
18
|
-
|
19
|
-
#*****************************************************************************
|
18
|
+
# ****************************************************************************
|
20
19
|
# Copyright (C) 2016 Volker Braun <vbraun.name@gmail.com>
|
21
20
|
#
|
22
21
|
# Distributed under the terms of the GNU General Public License (GPL)
|
23
22
|
# as published by the Free Software Foundation; either version 2 of
|
24
23
|
# the License, or (at your option) any later version.
|
25
|
-
#
|
26
|
-
|
24
|
+
# https://www.gnu.org/licenses/
|
25
|
+
# ****************************************************************************
|
27
26
|
|
28
27
|
|
29
28
|
import sys
|
@@ -772,7 +772,8 @@ class SageCrashHandler(IPAppCrashHandler):
|
|
772
772
|
contact_email = 'sage-support@googlegroups.com'
|
773
773
|
bug_tracker = 'https://github.com/sagemath/sage/issues'
|
774
774
|
CrashHandler.__init__(self,
|
775
|
-
|
775
|
+
app, contact_name, contact_email,
|
776
|
+
bug_tracker, show_crash_traceback=True)
|
776
777
|
self.crash_report_fname = 'Sage_crash_report.txt'
|
777
778
|
|
778
779
|
|
@@ -302,7 +302,7 @@ class SageMagics(Magics):
|
|
302
302
|
max_width = 0
|
303
303
|
if max_width <= 0:
|
304
304
|
raise ValueError(
|
305
|
-
|
305
|
+
"max width must be a positive integer")
|
306
306
|
import sage.typeset.character_art as character_art
|
307
307
|
character_art.MAX_WIDTH = max_width
|
308
308
|
dm.preferences.text = arg0
|
@@ -342,7 +342,18 @@ class SageMagics(Magics):
|
|
342
342
|
|
343
343
|
INPUT:
|
344
344
|
|
345
|
-
- ``line`` --
|
345
|
+
- ``line`` -- parsed as keyword arguments. The allowed arguments are:
|
346
|
+
|
347
|
+
- ``--verbose N`` / ``-v N``
|
348
|
+
- ``--compile-message``
|
349
|
+
- ``--use-cache``
|
350
|
+
- ``--create-local-c-file``
|
351
|
+
- ``--annotate``
|
352
|
+
- ``--sage-namespace``
|
353
|
+
- ``--create-local-so-file``
|
354
|
+
- ``--no-compile-message``, ``--no-use-cache``, etc.
|
355
|
+
|
356
|
+
See :func:`~sage.misc.cython.cython` for details.
|
346
357
|
|
347
358
|
- ``cell`` -- string; the Cython source code to process
|
348
359
|
|
@@ -350,19 +361,76 @@ class SageMagics(Magics):
|
|
350
361
|
|
351
362
|
EXAMPLES::
|
352
363
|
|
364
|
+
sage: # needs sage.misc.cython
|
353
365
|
sage: from sage.repl.interpreter import get_test_shell
|
354
366
|
sage: shell = get_test_shell()
|
355
|
-
sage: shell.run_cell(
|
367
|
+
sage: shell.run_cell(
|
356
368
|
....: '''
|
357
|
-
....: %%cython
|
369
|
+
....: %%cython -v1 --annotate --no-sage-namespace
|
358
370
|
....: def f():
|
359
371
|
....: print('test')
|
360
372
|
....: ''')
|
361
|
-
|
373
|
+
Compiling ....pyx because it changed.
|
374
|
+
[1/1] Cythonizing ....pyx
|
375
|
+
sage: f()
|
362
376
|
test
|
377
|
+
|
378
|
+
TESTS:
|
379
|
+
|
380
|
+
Test unrecognized arguments::
|
381
|
+
|
382
|
+
sage: # needs sage.misc.cython
|
383
|
+
sage: shell.run_cell('''
|
384
|
+
....: %%cython --some-unrecognized-argument
|
385
|
+
....: print(1)
|
386
|
+
....: ''')
|
387
|
+
UsageError: unrecognized arguments: --some-unrecognized-argument
|
388
|
+
|
389
|
+
Test ``--help`` is disabled::
|
390
|
+
|
391
|
+
sage: # needs sage.misc.cython
|
392
|
+
sage: shell.run_cell('''
|
393
|
+
....: %%cython --help
|
394
|
+
....: print(1)
|
395
|
+
....: ''')
|
396
|
+
UsageError: unrecognized arguments: --help
|
397
|
+
|
398
|
+
Test invalid quotes (see :mod:`sage.repl.interpreter` for explanation of the dummy line)::
|
399
|
+
|
400
|
+
sage: # needs sage.misc.cython
|
401
|
+
sage: print("dummy line"); shell.run_cell('''
|
402
|
+
....: %%cython --a='
|
403
|
+
....: print(1)
|
404
|
+
....: ''')
|
405
|
+
dummy line
|
406
|
+
...
|
407
|
+
ValueError...Traceback (most recent call last)
|
408
|
+
...
|
409
|
+
ValueError: No closing quotation
|
363
410
|
"""
|
364
411
|
from sage.misc.cython import cython_compile
|
365
|
-
|
412
|
+
import shlex
|
413
|
+
import argparse
|
414
|
+
|
415
|
+
class ExitCatchingArgumentParser(argparse.ArgumentParser):
|
416
|
+
def error(self, message):
|
417
|
+
# exit_on_error=False does not work completely in some Python versions
|
418
|
+
# see https://stackoverflow.com/q/67890157
|
419
|
+
# we raise UsageError to make the interface similar to what happens when e.g.
|
420
|
+
# IPython's ``%run`` gets unrecognized arguments
|
421
|
+
from IPython.core.error import UsageError
|
422
|
+
raise UsageError(message)
|
423
|
+
|
424
|
+
parser = ExitCatchingArgumentParser(prog="%%cython", add_help=False)
|
425
|
+
parser.add_argument("--verbose", "-v", type=int)
|
426
|
+
parser.add_argument("--compile-message", action=argparse.BooleanOptionalAction)
|
427
|
+
parser.add_argument("--use-cache", action=argparse.BooleanOptionalAction)
|
428
|
+
parser.add_argument("--create-local-c-file", action=argparse.BooleanOptionalAction)
|
429
|
+
parser.add_argument("--annotate", action=argparse.BooleanOptionalAction)
|
430
|
+
parser.add_argument("--sage-namespace", action=argparse.BooleanOptionalAction)
|
431
|
+
parser.add_argument("--create-local-so-file", action=argparse.BooleanOptionalAction)
|
432
|
+
args = parser.parse_args(shlex.split(line))
|
433
|
+
return cython_compile(cell, **{k: v for k, v in args.__dict__.items() if v is not None})
|
366
434
|
|
367
435
|
@cell_magic
|
368
436
|
def fortran(self, line, cell):
|
@@ -435,7 +503,7 @@ class SageCustomizations:
|
|
435
503
|
self.init_line_transforms()
|
436
504
|
|
437
505
|
try:
|
438
|
-
import sage.all
|
506
|
+
import sage.all # until sage's import hell is fixed
|
439
507
|
except ImportError:
|
440
508
|
import sage.all__sagemath_repl
|
441
509
|
|
{passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/backend_doctest.py
RENAMED
@@ -13,14 +13,14 @@ EXAMPLES::
|
|
13
13
|
The Sage display manager using the doctest backend
|
14
14
|
"""
|
15
15
|
|
16
|
-
|
16
|
+
# ****************************************************************************
|
17
17
|
# Copyright (C) 2015 Volker Braun <vbraun.name@gmail.com>
|
18
18
|
#
|
19
19
|
# Distributed under the terms of the GNU General Public License (GPL)
|
20
20
|
# as published by the Free Software Foundation; either version 2 of
|
21
21
|
# the License, or (at your option) any later version.
|
22
|
-
#
|
23
|
-
|
22
|
+
# https://www.gnu.org/licenses/
|
23
|
+
# ****************************************************************************
|
24
24
|
|
25
25
|
import sys
|
26
26
|
|
@@ -295,7 +295,7 @@ class BackendDoctest(BackendBase):
|
|
295
295
|
assert data.startswith(b'\0\0\0')
|
296
296
|
# See http://www.ftyps.com/
|
297
297
|
ftyps = [data[i:i+4] for i in range(8, data[3], 4)]
|
298
|
-
del ftyps[1]
|
298
|
+
del ftyps[1] # version number, not an ftyp
|
299
299
|
expected = [b'avc1', b'iso2', b'mp41', b'mp42']
|
300
300
|
assert any(i in ftyps for i in expected)
|
301
301
|
elif isinstance(rich_output, OutputVideoFlash):
|
{passagemath_repl-10.5.2 → passagemath_repl-10.5.5}/sage/repl/rich_output/backend_ipython.py
RENAMED
@@ -525,7 +525,7 @@ class BackendIPythonNotebook(BackendIPython):
|
|
525
525
|
elif isinstance(rich_output, OutputLatex):
|
526
526
|
return ({'text/latex': rich_output.latex.get_str(),
|
527
527
|
'text/plain': plain_text.text.get_str(),
|
528
|
-
|
528
|
+
}, {})
|
529
529
|
elif isinstance(rich_output, OutputHtml):
|
530
530
|
data = {'text/html': rich_output.html.get_str(),
|
531
531
|
'text/plain': plain_text.text.get_str()}
|
@@ -535,29 +535,29 @@ class BackendIPythonNotebook(BackendIPython):
|
|
535
535
|
elif isinstance(rich_output, OutputImagePng):
|
536
536
|
return ({'image/png': rich_output.png.get(),
|
537
537
|
'text/plain': plain_text.text.get_str(),
|
538
|
-
|
538
|
+
}, {})
|
539
539
|
elif isinstance(rich_output, OutputImageGif):
|
540
540
|
return ({'text/html': rich_output.html_fragment(),
|
541
541
|
'text/plain': plain_text.text.get_str(),
|
542
|
-
|
542
|
+
}, {})
|
543
543
|
elif isinstance(rich_output, OutputImageJpg):
|
544
544
|
return ({'image/jpeg': rich_output.jpg.get(),
|
545
545
|
'text/plain': plain_text.text.get_str(),
|
546
|
-
|
546
|
+
}, {})
|
547
547
|
elif isinstance(rich_output, OutputImageSvg):
|
548
548
|
return ({'image/svg+xml': rich_output.svg.get(),
|
549
549
|
'text/plain': plain_text.text.get_str(),
|
550
|
-
|
550
|
+
}, {})
|
551
551
|
elif isinstance(rich_output, OutputImagePdf):
|
552
552
|
return ({'image/png': rich_output.png.get(),
|
553
553
|
'text/plain': plain_text.text.get_str(),
|
554
|
-
|
554
|
+
}, {})
|
555
555
|
elif isinstance(rich_output, OutputSceneJmol):
|
556
556
|
from sage.repl.display.jsmol_iframe import JSMolHtml
|
557
557
|
jsmol = JSMolHtml(rich_output, height=500)
|
558
558
|
return ({'text/html': jsmol.iframe(),
|
559
559
|
'text/plain': plain_text.text.get_str(),
|
560
|
-
|
560
|
+
}, {})
|
561
561
|
elif isinstance(rich_output, OutputSceneThreejs):
|
562
562
|
escaped_html = html.escape(rich_output.html.get_str())
|
563
563
|
iframe = IFRAME_TEMPLATE.format(
|
@@ -567,7 +567,7 @@ class BackendIPythonNotebook(BackendIPython):
|
|
567
567
|
)
|
568
568
|
return ({'text/html': iframe,
|
569
569
|
'text/plain': plain_text.text.get_str(),
|
570
|
-
|
570
|
+
}, {})
|
571
571
|
else:
|
572
572
|
raise TypeError('rich_output type not supported')
|
573
573
|
|
@@ -32,14 +32,14 @@ To create new types of output, you must create your own subclass of
|
|
32
32
|
file system.
|
33
33
|
"""
|
34
34
|
|
35
|
-
|
35
|
+
# ****************************************************************************
|
36
36
|
# Copyright (C) 2015 Volker Braun <vbraun.name@gmail.com>
|
37
37
|
#
|
38
38
|
# Distributed under the terms of the GNU General Public License (GPL)
|
39
39
|
# as published by the Free Software Foundation; either version 2 of
|
40
40
|
# the License, or (at your option) any later version.
|
41
|
-
#
|
42
|
-
|
41
|
+
# https://www.gnu.org/licenses/
|
42
|
+
# ****************************************************************************
|
43
43
|
|
44
44
|
|
45
45
|
from sage.structure.sage_object import SageObject
|
@@ -5,14 +5,14 @@ Catalog of all available output container types.
|
|
5
5
|
If you define another output type then you must add it to the imports here.
|
6
6
|
"""
|
7
7
|
|
8
|
-
|
8
|
+
# ****************************************************************************
|
9
9
|
# Copyright (C) 2015 Volker Braun <vbraun.name@gmail.com>
|
10
10
|
#
|
11
11
|
# Distributed under the terms of the GNU General Public License (GPL)
|
12
12
|
# as published by the Free Software Foundation; either version 2 of
|
13
13
|
# the License, or (at your option) any later version.
|
14
|
-
#
|
15
|
-
|
14
|
+
# https://www.gnu.org/licenses/
|
15
|
+
# ****************************************************************************
|
16
16
|
|
17
17
|
|
18
18
|
from .output_basic import (
|
@@ -30,14 +30,14 @@ We switch to the test backend for the remainder of this file::
|
|
30
30
|
TestOutputPlainText container
|
31
31
|
"""
|
32
32
|
|
33
|
-
|
33
|
+
# ****************************************************************************
|
34
34
|
# Copyright (C) 2015 Volker Braun <vbraun.name@gmail.com>
|
35
35
|
#
|
36
36
|
# Distributed under the terms of the GNU General Public License (GPL)
|
37
37
|
# as published by the Free Software Foundation; either version 2 of
|
38
38
|
# the License, or (at your option) any later version.
|
39
|
-
#
|
40
|
-
|
39
|
+
# https://www.gnu.org/licenses/
|
40
|
+
# ****************************************************************************
|
41
41
|
|
42
42
|
|
43
43
|
from sage.structure.sage_object import SageObject
|
@@ -1 +0,0 @@
|
|
1
|
-
10.5.2
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|