Mathics3 / mathics-core

An open-source Mathematica. This repository contains the Python modules for WL Built-in functions, variables, core primitives, e.g. Symbol, a parser to create Expressions, and an evaluator to execute them.
https://mathics.org
Other
786 stars 48 forks source link

Misc tweaks... #1072

Closed rocky closed 3 months ago

rocky commented 3 months ago

(These were noticed in working on event tracing)

mathics/builtin/numbers/algebra.py: black changes its autoformatting

mathics/builtin/numbers/numbertheory.py: some linting prefers triples quotes for docstrings

mathics/core/convert/sympy.py: use accurate location for singleton class. This reduces unnecessary sympy imports

CHANGES.rst: document recent SetEnvironment addition and GetEnvironment changes

test/builtin/numbers/__init__.py: needed if testing in this directory is done separately.