You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.rst
+40-12Lines changed: 40 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,31 @@
3
3
CHANGES
4
4
=======
5
5
6
-
6.0.0dev0
7
-
---------
6
+
6.0.0
7
+
-----
8
+
9
+
A fair bit of code refactoring has gone on so that we might be able to
10
+
scale the code, get it to be more performant, and more in line with
11
+
other interpreters. There is Greater use of Symbols as opposed to strings.
12
+
13
+
The builtin Functions have been organized into grouping akin to what is found in WMA.
14
+
This is not just for documentation purposes, but it better modularizes the code and keep
15
+
the modules smaller while suggesting where functions below as we scale.
16
+
17
+
Image Routines have been gone over and fixed. Basically we use Pillow
18
+
imaging routines and as opposed to home-grown image code.
19
+
20
+
A number of Built-in functions that were implemented were not accessible for various reasons.
21
+
22
+
Mathics3 Modules are better integrated into the documentation.
23
+
Existing Mathics3 modules ``pymathics.graph`` and ``pymathics.natlang`` have
24
+
had a major overhaul, although more is needed. And will continue after the 6.0.0 release
8
25
9
-
A fair bit of code refactoring has gone on so that we might be able to scale the code, get it to be more performant, and more in line with other interpreters.
26
+
We have gradually been rolling in more Python type annotations and
27
+
current Python practices such as using ``isort``, ``black`` and ``flake8``.
28
+
29
+
Evaluation methods of built-in functions start ``eval_`` not ``apply_``.
10
30
11
-
Image Routines have been gone over. A number of Built-in functions that were implemented were not accessible for various reasons.
12
31
13
32
API
14
33
+++
@@ -59,21 +78,22 @@ Documentation
59
78
#. "Exponential Functional" split out from "Trigonometry Functions"
60
79
#. "Functional Programming" section split out.
61
80
#. "Image Manipulation" has been split off from Graphics and Drawing and turned into a guide section.
62
-
#. Image examples now appear in the PDF doc
81
+
#. Image examples now appear in the LaTeX and therfore the PDF doc
63
82
#. "Logic and Boolean Algebra" section reinstated.
64
83
#. "Forms of Input and Output" is its own guide section.
65
-
#. More url links to Wiki pages added; more internal cross links added.
84
+
#. More URL links to Wiki pages added; more internal cross links added.
66
85
#. "Units and Quantities" section reinstated.
86
+
#. The Mathics3 Modules are now included in LaTeX and therefore the PDF doc.
67
87
68
88
Internals
69
89
+++++++++
70
90
71
91
#. ``boxes_to_`` methods are now optional for ``BoxElement`` subclasses. Most of the code is now moved to the ``mathics.format`` submodule, and implemented in a more scalable way.
72
92
#. ``from_mpmath`` conversion supports a new parameter ``acc`` to set the accuracy of the number.
73
93
#. ``mathics.builtin.inout`` was split in several modules (``inout``, ``messages``, ``layout``, ``makeboxes``) in order to improve the documentation.
74
-
#. ``mathics.eval`` was create to have code that might be put in an instruction interperter. The opcodes-like functions start ``eval_``, other functions are helper functions for those.
75
-
#. Operator name to unicode or ASCII comes from Mathics scanner character tables.
76
-
#. Builtin instance methods that start ``apply`` are considered rule matching and function application; the use of the name ``apply``is deprecated, when ``eval`` is intended.
94
+
#. ``mathics.eval`` was create to have code that might be put in an instruction interpreter. The opcodes-like functions start ``eval_``, other functions are helper functions for those.
95
+
#. Operator name to Unicode or ASCII comes from Mathics scanner character tables.
96
+
#. Builtin instance methods that start ``eval`` are considered rule matching and function application; the use of the name ``apply``is deprecated, when ``eval`` is intended.
77
97
#. Modularize and improve the way in which ``Builtin`` classes are selected to have an associated ``Definition``.
78
98
#. ``_SetOperator.assign_elementary`` was renamed as ``_SetOperator.assign``. All the special cases are not handled by the ``_SetOperator.special_cases`` dict.
79
99
#. ``isort`` run over all Python files. More type annotations and docstrings on functions added.
@@ -90,12 +110,14 @@ Bugs
90
110
#. ``RandomSample`` with one list argument now returns a random ordering of the list items. Previously it would return just one item.
91
111
#. Origin placement corrected on ``ListPlot`` and ``LinePlot``.
92
112
#. Fix long-standing bugs in Image handling
93
-
#. Some scikit image routines line ``EdgeDetect`` were getting omitted due to overly stringent PYPI requirements
94
-
113
+
#. Some scikit image routines line ``EdgeDetect`` were getting omitted due to overly stringent PyPI requirements
95
114
#. Units and Quantities were sometimes failing. Also they were omitted from documentation.
96
115
#. Better handling of ``Infinite`` quantities.
97
116
#. Improved ``Precision`` and ``Accuracy``compatibility with WMA. In particular, ``Precision[0.]`` and ``Accuracy[0.]``
98
117
#. Accuracy in numbers using the notation ``` n.nnn``acc ``` now is properly handled.
118
+
#. numeric precision in mpmath was not reset after operations that changed these. This cause huges slowdowns after an operation that set the mpmath precison high. This was the source of several-minute slowdowns in testing.
119
+
#. GIF87a (```MadTeaParty.gif`` or ExampleData) image loading fixed
120
+
#. Replace non-free Leena image with a a freely distributable image. Issue #728
99
121
100
122
101
123
PyPI Package requirements
@@ -125,6 +147,12 @@ Enhancements
125
147
126
148
Get in `requirements-cython.txt`` into tarball. Issue #483
127
149
150
+
New Symbols
151
+
+++++++++++
152
+
153
+
#. ``Undefined``
154
+
155
+
128
156
129
157
5.0.1
130
158
-----
@@ -146,7 +174,7 @@ New Builtin
146
174
Documentation
147
175
+++++++++++++
148
176
149
-
Hyperbolic functions were split off form trigonometry and exponential functions. More url links were added.
177
+
Hyperbolic functions were split off form trigonometry and exponential functions. More URL links were added.
0 commit comments