-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathChangeLog-spell-corrected.diff
More file actions
4361 lines (3222 loc) · 187 KB
/
ChangeLog-spell-corrected.diff
File metadata and controls
4361 lines (3222 loc) · 187 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--- ChangeLog 2026-04-18 18:58:00.528862225 -0400
+++ ChangeLog-spell-corrected 2026-04-18 19:00:03.278968748 -0400
@@ -5,7 +5,7 @@
.github/workflows/packages.yml, .github/workflows/plot-tests.yml,
.github/workflows/pyodide.yml, .github/workflows/ubuntu-bench.yml,
.github/workflows/ubuntu-cython.yml, .github/workflows/ubuntu.yml,
- .github/workflows/windows.yml, mathics/version.py, pyproject.toml:
+ .github/workflows/windows.yml, mathics/version.py, pyproject.toml:
Get ready for release 10.0.0
2026-04-18 rocky <rb@dustyfeet.com>
@@ -70,7 +70,7 @@
2026-04-14 R. Bernstein <rocky@users.noreply.github.com>
- * CHANGES.rst, FUTURE.rst, mathics/doc/documentation/1-Manual.mdoc:
+ * CHANGES.rst, FUTURE.rst, mathics/doc/documentation/1-Manual.mdoc:
Update release notes for 10x part2 (#1778) Changes that will go in the release notes. Please feel free to
revise or add as needed.
@@ -192,7 +192,7 @@
* mathics/autoload/rules/Limit.m, mathics/builtin/messages.py,
mathics/builtin/numbers/calculus.py, mathics/core/builtin.py,
- mathics/core/convert/sympy.py, test/builtin/calculus/test_limit.py:
+ mathics/core/convert/sympy.py, test/builtin/calculus/test_limit.py:
Limit-inspired changes (#1780) * Improve argument checking in builtins with options to emit
"nonopt" tags when appropriate * Improve from_sympy so it understands SymPy reporting Indeterminate * Go over Limit docs, and autoload rules * Expand limit tests
@@ -220,7 +220,7 @@
mathics/builtin/tensors.py,
mathics/builtin/testing_expressions/equality_inequality.py,
mathics/builtin/testing_expressions/logic.py,
- mathics/doc/doc_entries.py, mathics/doc/documentation/1-Manual.mdoc:
+ mathics/doc/doc_entries.py, mathics/doc/documentation/1-Manual.mdoc:
Handle encodings in docpipeline (#1766) This PR introduces the changes to make the docpipeline work in a
transparent way with the system character encoding. Reference
results in doctests are now in the internal encoding. Then, when
@@ -267,7 +267,7 @@
2026-04-03 rocky <rb@dustyfeet.com>
- * .github/workflows/isort-and-black-checks.yml, pyproject.toml:
+ * .github/workflows/isort-and-black-checks.yml, pyproject.toml:
Administrivia
2026-04-03 R. Bernstein <rocky@users.noreply.github.com>
@@ -394,7 +394,7 @@
2026-03-29 R. Bernstein <rocky@users.noreply.github.com>
* mathics/builtin/drawing/plot.py,
- mathics/builtin/intfns/divlike.py, mathics/eval/drawing/plot.py:
+ mathics/builtin/intfns/divlike.py, mathics/eval/drawing/plot.py:
Handle more numeric types in Plot evaluation functions (#1752) For a Python `int` type, don't convert to `float`, because some
builtins, like `Mod` only work with an `Integer` argument (in the
modulus). For rationals, we'll need to convert using N_eval. Also, go over the documentation for division-related functions
@@ -408,7 +408,7 @@
string value. The cleaner way, though, is to do an `is` comparison
on the Symbol name. One problem with this is right now we don't have
Symbol names for some of the boxes, especially the newer top-level
- ones that are likely to occur a lot, like `InterpretationBox`. This PR seeks to addresss that.
+ ones that are likely to occur a lot, like `InterpretationBox`. This PR seeks to address that.
2026-03-27 R. Bernstein <rocky@users.noreply.github.com>
@@ -425,7 +425,7 @@
2026-03-24 R. Bernstein <rocky@users.noreply.github.com>
* mathics/builtin/numbers/algebra.py, mathics/doc/latex/.gitignore,
- mathics/doc/latex/mathics3.tex, mathics/doc/latex/sed-hack.sh:
+ mathics/doc/latex/mathics3.tex, mathics/doc/latex/sed-hack.sh:
Handle more LaTeX Unicode inside LaTeX (#1757)
2026-03-23 R. Bernstein <rocky@users.noreply.github.com>
@@ -898,7 +898,7 @@
* mathics/builtin/forms/variables.py,
mathics/builtin/no_meaning/infix_extra.py, mathics/core/builtin.py,
- mathics/doc/documentation/1-Manual.mdoc, mathics/doc/latex/Makefile:
+ mathics/doc/documentation/1-Manual.mdoc, mathics/doc/latex/Makefile:
Miscellaneous changes to improve PDF building (#1750) * <strike>Add PyICU module in docs</strike> This causes test
failures! PyICI needs fixing. * Escape $ in a variable name in docstring * WML Link -> WMA Link
@@ -927,7 +927,7 @@
2026-03-19 rocky <rb@dustyfeet.com>
- * test/builtin/drawing/test_plot_detail_ref/#doc-012-cls.svg.txt#:
+ * test/builtin/drawing/test_plot_detail_ref/#doc-012-cls.svg.txt#:
Remove an autosave file
2026-03-19 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -984,7 +984,7 @@
2026-03-15 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/core/parser/parser.py: Scanner name changes (#1737) Track Mathics3-scanner changes * Repostory name is now Mathics3-scanner * Use v6 in CI to squelch nodejs warnings * RawRightBracket -> CloseSquare * RawLeftBracket -> OpenSquare * Hopefully precedence interaction is clearer; remove magic 151...
+ * mathics/core/parser/parser.py: Scanner name changes (#1737) Track Mathics3-scanner changes * Repository name is now Mathics3-scanner * Use v6 in CI to squelch nodejs warnings * RawRightBracket -> CloseSquare * RawLeftBracket -> OpenSquare * Hopefully precedence interaction is clearer; remove magic 151...
2026-03-15 R. Bernstein <rocky@users.noreply.github.com>
@@ -1049,7 +1049,7 @@
* mathics/builtin/arithfns/basic.py,
mathics/builtin/intfns/divlike.py, mathics/builtin/messages.py,
- mathics/eval/intfns/divlike.py, test/builtin/intfns/test_divlike.py:
+ mathics/eval/intfns/divlike.py, test/builtin/intfns/test_divlike.py:
Revise Quotient[] builtin (#1721) Revise `Quotient` so it handles the 3-argument form, lists, and
numbers other than Integers. (Noticed in trying to run some standard WMA packages.)
@@ -1173,7 +1173,7 @@
2026-03-08 rocky <rb@dustyfeet.com>
- * mathics/core/parser/parser.py, test/core/parser/test_parser.py:
+ * mathics/core/parser/parser.py, test/core/parser/test_parser.py:
Start Names pattern support
2026-03-08 R. Bernstein <rocky@users.noreply.github.com>
@@ -1361,7 +1361,7 @@
* mathics/builtin/intfns/combinatorial.py,
mathics/builtin/specialfns/gamma.py,
test/builtin/intfns/__init__.py, test/builtin/{test_intfns.py =>
- intfns/test_combinatorial.py}, test/builtin/intfns/test_divlike.py:
+ intfns/test_combinatorial.py}, test/builtin/intfns/test_divlike.py:
More args checking (#1691) Argument testing on more built-in functions. Also, split out test_intfns.py into its module component
2026-02-10 rocky <rb@dustyfeet.com>
@@ -1460,7 +1460,7 @@
* mathics/core/expression.py, mathics/core/pattern.py,
mathics/core/util.py, mathics/doc/latex_doc.py,
mathics/format/box/outputforms.py,
- mathics/format/form/outputform.py, mathics/format/render/mathml.py:
+ mathics/format/form/outputform.py, mathics/format/render/mathml.py:
Mypy findings fixes (#1686) These are some fixes for issues found by mypy 1.17.1.
2026-02-07 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -1486,7 +1486,7 @@
2026-02-06 R. Bernstein <rocky@users.noreply.github.com>
* mathics/core/element.py, mathics/core/formatter.py,
- mathics/format/render/latex.py, mathics/format/render/mathml.py:
+ mathics/format/render/latex.py, mathics/format/render/mathml.py:
Remove `boxes_to` deprecation and duplicate TeX mapping tables.
(#1683) * DRY a little more. * Remove deprecation message since this doesn't seem to be
deprecated. * Remove unused TeX-format code that has been moved to the TeX
@@ -1523,12 +1523,12 @@
2026-02-05 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/format/render/latex.py, mathics/format/render/text.py:
+ * mathics/format/render/latex.py, mathics/format/render/text.py:
Revise render/latex.py for box attributes (#1677) Revise render/latex.py and render/text.py for box attributes
2026-02-04 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/builtin/box/layout.py, mathics/format/render/mathml.py:
+ * mathics/builtin/box/layout.py, mathics/format/render/mathml.py:
Separate Box attributes from Box options in `MathMLForm` Start separating Box attributes from Box options. Here we start off
with `MathMLForm`. Later, other renderers will get covered.
@@ -1595,7 +1595,7 @@
.github/workflows/macos.yml, .github/workflows/packages.yml,
.github/workflows/plot-tests.yml,
.github/workflows/ubuntu-bench.yml,
- .github/workflows/ubuntu-cython.yml, .github/workflows/windows.yml:
+ .github/workflows/ubuntu-cython.yml, .github/workflows/windows.yml:
In CI Use newer URL form for pip git (#1669) Tread water: the more things change, the more we have to change to
stay just to keep to the level of function we had.
@@ -1663,7 +1663,7 @@
2026-01-26 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
* mathics/builtin/box/layout.py, mathics/format/render/latex.py,
- mathics/format/render/mathml.py, mathics/format/render/text.py:
+ mathics/format/render/mathml.py, mathics/format/render/text.py:
boxed -> boxes (#1656) Trailing changes: rename `boxed` property on several BoxExpression
builtins to `boxes` --------- Co-authored-by: R. Bernstein <rocky@users.noreply.github.com>
@@ -1677,7 +1677,7 @@
mathics/format/box/__init__.py, mathics/format/box/makeboxes.py,
mathics/format/box/outputforms.py,
test/builtin/box/test_custom_boxexpression.py,
- test/format/makeboxes_tests.yaml, test/format/test_makeboxes.py:
+ test/format/makeboxes_tests.yaml, test/format/test_makeboxes.py:
Makeboxes overhault (#1651) This is what follows from #1650 and #1652. Lets review it and merge
before going over these ones. The remaining changes inside this PR are not independent of each
other. --------- Co-authored-by: R. Bernstein <rocky@users.noreply.github.com>
@@ -1705,7 +1705,7 @@
2026-01-24 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
* mathics/builtin/layout.py, mathics/builtin/makeboxes.py,
- mathics/builtin/patterns/defaults.py, test/format/format_tests.yaml:
+ mathics/builtin/patterns/defaults.py, test/format/format_tests.yaml:
Format optional (#1649) This PR improves the format rules for `Optional` in StandardForm and
TraditionalForm --------- Co-authored-by: R. Bernstein <rocky@users.noreply.github.com>
@@ -1720,7 +1720,7 @@
2026-01-20 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
- * test/format/format_tests-WMA.yaml, test/format/format_tests.yaml:
+ * test/format/format_tests-WMA.yaml, test/format/format_tests.yaml:
Update the yaml examples of MathML and TeX Form outputs (#1639) This PR contains some update on the database of examples collected
from WolframScript. Some examples were removed because WMA do not
support producing a MathMLForm or TeXForm output for certain
@@ -1747,7 +1747,7 @@
mathics/format/form/inputform.py,
mathics/format/form/outputform.py, mathics/format/render/latex.py,
mathics/session.py, test/format/format_tests-WMA.yaml,
- test/format/format_tests.m, test/format/format_tests.yaml:
+ test/format/format_tests.m, test/format/format_tests.yaml:
OutputForm rebase (#1635) This PR rebase #1570, including just the changes required to use the
new implementation of `OutputForm`. * Remove rules of the form `MakeBoxes[_, OutputForm]` * Implement `eval_makeboxes_outputform` * use `eval_makeboxes_outputform` in `MakeBoxes[OutputForm[_],_]` * Modify `format_element` in a way that use `form` as the second
argument of `eval_makeboxes` if `form` is a BoxForm. * Update `format_test.yaml` according to the new results, closer to
@@ -1762,7 +1762,7 @@
mathics/format/form/inputform.py,
mathics/format/form/outputform.py, mathics/format/form/util.py,
mathics/format/form_rule/arithfns.py,
- test/builtin/atomic/test_symbols.py, test/builtin/drawing/fonts.py:
+ test/builtin/atomic/test_symbols.py, test/builtin/drawing/fonts.py:
More tweaks in InputForm (#1634) * Handle `Optional` * take `Precedence` into accout for `Pre/PostFix` * Add more annotations. * Take the chance to for moving `format_plus` and `format_times`
implementation to `mathics.format.form_rule` --------- Co-authored-by: R. Bernstein <rocky@users.noreply.github.com>
@@ -1798,7 +1798,7 @@
render}/json.py, mathics/format/{ => render}/latex.py,
mathics/format/{ => render}/mathml.py, mathics/format/{ =>
render}/svg.py, mathics/format/{ => render}/text.py,
- test/eval/makeboxes/test_number_form.py, test/format/test_latex.py:
+ test/eval/makeboxes/test_number_form.py, test/format/test_latex.py:
Format module reorganization (#1631) Here there is a proposal of reorganization of the code associated to
format. I move the code of modules `mathics.eval.makeboxes`,
`mathics.form` and `mathics.format` inside of a module
@@ -1837,7 +1837,7 @@
mathics/builtin/list/predicates.py,
mathics/builtin/numbers/calculus.py, mathics/eval/strings.py,
test/builtin/list/test_list.py,
- test/builtin/numbers/test_nintegrate.py, test/builtin/test_forms.py:
+ test/builtin/numbers/test_nintegrate.py, test/builtin/test_forms.py:
improve StringForm implementation (#1619) Going over `mathics.builtin.forms`, I realized that the current
implementation of `StringForm` had some issues with poorly formed
templates. The implementation now is slightly more robust and is
@@ -1875,7 +1875,7 @@
2026-01-13 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
- * mathics/builtin/makeboxes.py, mathics/eval/makeboxes/makeboxes.py:
+ * mathics/builtin/makeboxes.py, mathics/eval/makeboxes/makeboxes.py:
Remove self parameter in eval_generic_makeboxes (#1624) Just remove this unused parameter.
2026-01-12 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -1889,7 +1889,7 @@
* mathics/builtin/box/__init__.py, mathics/builtin/box/layout.py,
mathics/builtin/exp_structure/__init__.py,
mathics/builtin/forms/__init__.py, mathics/builtin/forms/data.py,
- mathics/builtin/forms/print.py, mathics/builtin/forms/variables.py:
+ mathics/builtin/forms/print.py, mathics/builtin/forms/variables.py:
Go over Form and Box user docs (#1618)
2026-01-11 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -1936,7 +1936,7 @@
* mathics/builtin/forms/__init__.py,
mathics/builtin/forms/{output.py => data.py},
mathics/builtin/forms/mathics3.py, mathics/builtin/forms/other.py,
- mathics/builtin/forms/print.py, mathics/builtin/forms/variables.py:
+ mathics/builtin/forms/print.py, mathics/builtin/forms/variables.py:
Reorganize modules and doc for Forms (#1611) This organization I think, makes more sense and separates
data-specific wrapping modules, like `MatrixForm`, from
general-purpose forms like `StandardForm`, which appears in
@@ -2000,7 +2000,7 @@
2026-01-07 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/builtin/drawing/drawing_options.py, mathics/format/asy.py:
+ * mathics/builtin/drawing/drawing_options.py, mathics/format/asy.py:
Document `ImageSize -> {h, w}` (#1600) With the recent introduction of PaneBox, it looks like `ImageSize ->
{h, w}` is now supported. Also, tweak some commented-out debug statements in asy and svg
formatters
@@ -2057,7 +2057,7 @@
test/format/format_tests-WMA.yaml, test/format/format_tests.json,
test/format/format_tests.m, test/format/format_tests.yaml,
test/format/makeboxes_tests.m, test/format/makeboxes_tests.yaml,
- test/format/test.m, test/{builtin => format}/test_makeboxes.py:
+ test/format/test.m, test/{builtin => format}/test_makeboxes.py:
Tests for MakeBoxes (#1579) This PR activates some pytests I wrote a while ago, -and adds more-
to start quantifying the progress in the MakeBoxes refactor.
Ideally, `test/builtin/test_makeboxes.py` should start to pass more
@@ -2869,7 +2869,7 @@
2025-12-21 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
* mathics/core/systemsymbols.py, mathics/session.py,
- test/builtin/box/test_custom_boxexpression.py, test/test_session.py:
+ test/builtin/box/test_custom_boxexpression.py, test/test_session.py:
Add tests for MathicsSession objects. Fix MathicsSession.format
(#1549) This PR adds a Pytest module for checking the basic behaviour of the
MathicsSession object.
@@ -3158,7 +3158,7 @@
test/builtin/drawing/test_plot_detail_ref/plot3d-vec-def.txt,
test/builtin/drawing/test_plot_detail_ref/plot3d-vec-opt.txt,
test/builtin/drawing/test_plot_detail_ref/polarplot-cls-def.txt,
- test/builtin/drawing/test_plot_detail_ref/polarplot-cls-opt.txt:
+ test/builtin/drawing/test_plot_detail_ref/polarplot-cls-opt.txt:
Better plot tests (#1541) We only have a couple plot tests that actually look at the output,
and those were constructed and run laboriously, and none of them
test the new vectorized plot code. This makes refactoring the code
@@ -3246,7 +3246,7 @@
mathics/builtin/numbers/algebra.py,
mathics/builtin/numbers/calculus.py, mathics/builtin/recurrence.py,
mathics/core/convert/sympy.py, mathics/core/expression.py,
- mathics/core/symbols.py, test/core/test_sympy_python_convert.py:
+ mathics/core/symbols.py, test/core/test_sympy_python_convert.py:
Improve sympy conversions (#1534) To start addressing #1533, this PR DRY the existing code, to avoid
inconsistencies when the separator character be changed. Also, some
constant names are changed to fullfil the Python conventions.
@@ -3265,7 +3265,7 @@
2025-11-25 Bruce Lucas <bdlucas1@users.noreply.github.com>
* mathics/eval/drawing/plot3d_vectorized.py,
- mathics/eval/drawing/util.py, test/timings/test_uniform_tables.py:
+ mathics/eval/drawing/util.py, test/timings/test_uniform_tables.py:
Vectorized densityplot (#1531) Add support for vectorized DensityPlot. Default color palette for
now; support for user-specified color palette TBD.
@@ -3297,7 +3297,7 @@
* mathics/builtin/box/graphics3d.py,
mathics/builtin/drawing/drawing_options.py,
mathics/builtin/drawing/graphics3d.py, mathics/builtin/graphics.py,
- mathics/core/systemsymbols.py, test/builtin/drawing/test_plot.py:
+ mathics/core/systemsymbols.py, test/builtin/drawing/test_plot.py:
Define plot options (#1528) This PR adds a comprehensive set of Graphics and Graphics3D options.
This will enable renderers - both core and non-core front-ends - to
implement the options without needing changes to core to pass them
@@ -3325,7 +3325,7 @@
2025-11-17 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
* mathics/core/atoms.py, test/builtin/test_file_operations.py,
- test/core/convert/test_mpmath.py, test/core/test_keycomparable.py:
+ test/core/convert/test_mpmath.py, test/core/test_keycomparable.py:
Fix number comparisons vs expression comparisons (#1521) This PR improves the compatibility with the different WMA sorting
schemes for numbers and expressions. * Now the sort key for Complex is the concatenation of the sort keys
for the real and the imaginary part. * Sort keys for other numbers were tuned to improve the
@@ -3348,7 +3348,7 @@
mathics/eval/drawing/plot3d.py,
mathics/eval/drawing/plot3d_vectorized.py,
mathics/eval/drawing/plot_compile.py, mathics/eval/drawing/util.py,
- mathics/timing.py, test/builtin/drawing/test_plot_compile.py:
+ mathics/timing.py, test/builtin/drawing/test_plot_compile.py:
Vectorized plot3d (#1522) * Introduce a vectorized Plot3D in plot3d_vectorized.py. Since this generates Graphics3D containing GraphicsComplex with NumericArray, which no code will currently understand, for now it is enabled
only if you set environment variable MATHICS_USE_VECTORIZED_PLOT=yes. (TBD how we will eventually deploy.) * Introduce a "compiler" in plot_compile.py that uses
expr.to_sympy() followed by sympy.lambdify to generate a Python
@@ -3489,7 +3489,7 @@
2025-10-30 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/compile/compile.py, test/builtin/test_compilation.py:
+ * mathics/compile/compile.py, test/builtin/test_compilation.py:
Track LLVM changes (#1504) LLVM disallows explicit initialization. test_compilation.py: remove unused imports
2025-09-11 R. Bernstein <rocky@users.noreply.github.com>
@@ -3597,7 +3597,7 @@
test/builtin/specialfns/test_elliptic.py,
test/builtin/test_numeric.py, test/builtin/test_procedural.py,
test/builtin/test_quantities.py,
- test/builtin/vectors/test_mathops.py, test/helper.py: Simplfy
+ test/builtin/vectors/test_mathops.py, test/helper.py: Simplify
invalid-argumnent-count pytest testing (#1488) There was way too much verbiage and clutter around running pytests
to check that we are giving a message when calling Mathics3 Builtin
Function with the wrong number of arguments. Also, in pytest -s output, show the failure reason. This makes it
@@ -3642,7 +3642,7 @@
* mathics/builtin/evaluation.py, mathics/core/evaluation.py,
mathics/core/symbols.py, mathics/session.py,
- test/builtin/test_attributes.py, test/builtin/test_evaluation.py:
+ test/builtin/test_attributes.py, test/builtin/test_evaluation.py:
respect $IterationLimit more places (#1477) Respect $IterationLimit more places. Fixes #1476 There are probably more places where we need to do something
similar, but this is a start. --------- Co-authored-by: Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -3652,7 +3652,7 @@
2025-08-24 rocky <rb@dustyfeet.com>
- * test/builtin/test_messages.py: Temporily disable test while it is
+ * test/builtin/test_messages.py: Temporarily disable test while it is
being fixed.
2025-08-24 R. Bernstein <rocky@users.noreply.github.com>
@@ -3663,7 +3663,7 @@
2025-08-21 rocky <rb@dustyfeet.com>
- * mathics/builtin/options.py: Correct a link referene
+ * mathics/builtin/options.py: Correct a link reference
2025-08-21 R. Bernstein <rocky@users.noreply.github.com>
@@ -3751,7 +3751,7 @@
* Makefile, mathics/builtin/arithmetic.py,
mathics/builtin/numeric.py, mathics/core/atoms.py,
- mathics/core/element.py, mathics/eval/makeboxes/numberform.py:
+ mathics/core/element.py, mathics/eval/makeboxes/numberform.py:
Assume @dataclasses exists and other small cleanups (#1462) The dataclass module has existed since 3.7+ Reduce use of `get_{int,float}_value()`. Add Makefile targets `doctest-x`, `check-x` which stop on first
error.
@@ -3860,7 +3860,7 @@
2025-08-04 rocky <rb@dustyfeet.com>
- * mathics/eval/interrupt.py: Restore accidently deleted code
+ * mathics/eval/interrupt.py: Restore accidentally deleted code
2025-08-04 R. Bernstein <rocky@users.noreply.github.com>
@@ -4109,14 +4109,14 @@
mathics/core/parser/parser.py, mathics/core/parser/util.py,
mathics/core/pattern.py, mathics/core/symbols.py,
mathics/eval/tracing.py: Lesser changes and possible bugs
- encountered adding location information #1413 (#1414) These are changes and slight bugs encounted in PR #1413 As a separate PR, this should reduce the size and effort for dealing
+ encountered adding location information #1413 (#1414) These are changes and slight bugs encountered in PR #1413 As a separate PR, this should reduce the size and effort for dealing
with #1413, which I'll rebase after this is merged
2025-06-28 R. Bernstein <rocky@users.noreply.github.com>
* mathics/eval/tracing.py, test/builtin/test_trace.py: Adjust trace
API to be able to set expr values (#1411) When tracing an evaluation, allow the wrapper function to replace or
- alter the function retutn value. This is used in the Trepan DebugEvaluate debugger, but it can be
+ alter the function return value. This is used in the Trepan DebugEvaluate debugger, but it can be
used by other tracing tools as well.
2025-06-21 R. Bernstein <rocky@users.noreply.github.com>
@@ -4142,7 +4142,7 @@
2025-06-07 R. Bernstein <rocky@users.noreply.github.com>
* mathics/core/expression.py: Address bug in structure cache `None
- `accessed as a `dict` (#1406) Use {} instead of None for inital structure cache Fixes #1405
+ `accessed as a `dict` (#1406) Use {} instead of None for initial structure cache Fixes #1405
2025-06-07 Frédéric Chapoton <chapoton@unistra.fr>
@@ -4157,7 +4157,7 @@
mathics/builtin/testing_expressions/numerical_properties.py,
mathics/core/convert/regex.py, mathics/eval/drawing/plot3d.py,
mathics/format/latex.py: remove unused parentheses in for etc
- (#1408) - remove parenthese around arguments of for - remove parentheses before = when they are not needed
+ (#1408) - remove parentheses around arguments of for - remove parentheses before = when they are not needed
2025-06-03 R. Bernstein <rocky@users.noreply.github.com>
@@ -4294,7 +4294,7 @@
mathics/builtin/specialfns/gamma.py,
test/builtin/specialfns/test_gamma.py: Match WMA for Gamma[1+x] and
Product[...] (#1395) We want to match the behavior of WMA for `Gamma` and `Product`.
- Specifically: ``` Product[k, {k, 3, n}] == n! / 2 Gamma[1+x] == Gamma[1+x] ``` Supercedes #1387
+ Specifically: ``` Product[k, {k, 3, n}] == n! / 2 Gamma[1+x] == Gamma[1+x] ``` Supersedes #1387
2025-02-21 R. Bernstein <rocky@users.noreply.github.com>
@@ -4339,7 +4339,7 @@
2025-02-12 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/builtin/options.py, mathics/builtin/patterns/composite.py:
+ * mathics/builtin/options.py, mathics/builtin/patterns/composite.py:
Option management tweaks (#1384) Option-related things noticed in trying (unsuccessfully) to get
MUnit working... * Adjust `OptionValue` error messages to align better with WMA. * Go over `Options`, `OptionValue`, and `OptionsPattern` docs. * Lint code a little
@@ -4350,7 +4350,7 @@
2025-02-11 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/builtin/list/rearrange.py, test/builtin/list/test_list.py:
+ * mathics/builtin/list/rearrange.py, test/builtin/list/test_list.py:
Bug: an association was confused with an option (#1379) Union, Complement and Intersection allow a SameTest option. This has
to be matched not as a general options association, but instead as a
SameTest association
@@ -4366,7 +4366,7 @@
2025-02-08 R. Bernstein <rocky@users.noreply.github.com>
- * CHANGES.rst, ChangeLog-spell-corrected.diff, mathics/version.py:
+ * CHANGES.rst, ChangeLog-spell-corrected.diff, mathics/version.py:
Get ready for release 8.0.1 (#1376)
2025-02-08 R. Bernstein <rocky@users.noreply.github.com>
@@ -4502,10 +4502,10 @@
mathics/builtin/files_io/importexport.py,
mathics/builtin/numbers/randomnumbers.py,
mathics/doc/common_doc.py, mathics/doc/doc_entries.py,
- mathics/doc/documentation/1-Manual.mdoc, mathics/doc/latex_doc.py:
+ mathics/doc/documentation/1-Manual.mdoc, mathics/doc/latex_doc.py:
Last changes in documentation system (#1356) I hope, this are the last changes to do with the documentation
system. As always, trying to fix something simple other things come
- up. But I guess I cover all of them: * Procesing recurrent replacements in `post_sub`. * Removing the
+ up. But I guess I cover all of them: * Processing recurrent replacements in `post_sub`. * Removing the
non-existing `<imgpng>` tag, and replacing it by the existing but
not used <img>. * Fixing remaining docstrings containing '$Symbol'
@@ -4599,7 +4599,7 @@
* mathics/builtin/numbers/calculus.py,
mathics/builtin/specialfns/elliptic.py,
mathics/builtin/specialfns/orthogonal.py,
- mathics/builtin/vectors/constructing.py, mathics/doc/doc_entries.py:
+ mathics/builtin/vectors/constructing.py, mathics/doc/doc_entries.py:
Adjust the plain-text form of documentation (#1340) This PR modifies the code that generates the text shown in
`Information`. * Remove escape characters * symbols with subindices are resembled as valid variable names.
@@ -4963,7 +4963,7 @@
mathics/eval/makeboxes/operators.py,
mathics/eval/makeboxes/outputforms.py,
mathics/eval/makeboxes/precedence.py, setup.py,
- test/builtin/test_number_form.py, test/eval/test_makeboxes.py:
+ test/builtin/test_number_form.py, test/eval/test_makeboxes.py:
Moving evaluation code from mathics.builtin.makeboxes to
mathics.eval.makeboxes (#1309) This goes in the same line as #1307. Essentially, moving code from
mathics.builtin.makeboxes to `mathics.eval.makeboxes`, and
@@ -4993,7 +4993,7 @@
2025-01-21 rocky <rb@dustyfeet.com>
- * tmp/README.rst: Remove accidently-added file
+ * tmp/README.rst: Remove accidentally-added file
2025-01-21 R. Bernstein <rocky@users.noreply.github.com>
@@ -5015,7 +5015,7 @@
mathics/builtin/intfns/combinatorial.py,
mathics/builtin/numbers/numbertheory.py,
mathics/builtin/specialfns/bessel.py, mathics/builtin/system.py,
- mathics/core/evaluation.py: Another round of docstring improvments
+ mathics/core/evaluation.py: Another round of docstring improvements
(#1306) Also some linting
2025-01-19 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -5027,7 +5027,7 @@
* mathics/builtin/arithfns/basic.py,
test/builtin/arithmetic/test_basic.py,
- test/builtin/test_evaluation.py, test/core/convert/test_sympy.py:
+ test/builtin/test_evaluation.py, test/core/convert/test_sympy.py:
flycheck two pytests (#1294) @mmatera I was trying to add a test for `HoldForm[Times[x]] ==
Times[x]` of a recent PR of yours (from a while ago) but haven't
been able to figure out how to do. in the process, I have this lint
@@ -5070,7 +5070,7 @@
mathics/builtin/functional/apply_fns_to_lists.py,
mathics/builtin/testing_expressions/equality_inequality.py,
mathics/builtin/trace.py, mathics/core/builtin.py,
- mathics/doc/documentation/1-Manual.mdoc, mathics/doc/latex/Makefile:
+ mathics/doc/documentation/1-Manual.mdoc, mathics/doc/latex/Makefile:
Doc updates (#1297) First part of an unknown number of rounds of documentation review.
2025-01-17 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -5326,7 +5326,7 @@
2025-01-05 R. Bernstein <rocky@users.noreply.github.com>
- * CHANGES.rst, SYMBOLS_MANIFEST.txt, mathics/builtin/forms/other.py:
+ * CHANGES.rst, SYMBOLS_MANIFEST.txt, mathics/builtin/forms/other.py:
Add SequenceForm... (#1258) It is used in CombinatoricaV201 even though it is deprecated.
2025-01-05 R. Bernstein <rocky@users.noreply.github.com>
@@ -5352,7 +5352,7 @@
2025-01-05 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/core/parser/operators.py, mathics/core/parser/parser.py:
+ * mathics/core/parser/operators.py, mathics/core/parser/parser.py:
Parser refactor part2 (#1262) Last round of changes before getting to box parsing proper.
2025-01-03 rocky <rb@dustyfeet.com>
@@ -5415,7 +5415,7 @@
2024-12-29 R. Bernstein <rocky@users.noreply.github.com>
* mathics/builtin/functional/functional_iteration.py,
- mathics/builtin/list/constructing.py, mathics/core/builtin.py:
+ mathics/builtin/list/constructing.py, mathics/core/builtin.py:
Administrative fixups and tweak (#1254) Miscellaneous docstring hard linebreaks removed and some mypy
linting.
@@ -5442,7 +5442,7 @@
2024-12-29 rocky <rb@dustyfeet.com>
- * mathics/builtin/numbers/algebra.py, mathics/core/parser/ast.py:
+ * mathics/builtin/numbers/algebra.py, mathics/core/parser/ast.py:
Spelling/grammar typos
2024-12-29 R. Bernstein <rocky@users.noreply.github.com>
@@ -5486,7 +5486,7 @@
test/builtin/{test_functional.py =>
functional/test_apply_fns_to_lists.py}: Corrections to MapAt for
Multi-dimensions... (#1239) The following changes implement pretty much all of what
- Combinatorical V0.09 needs. We have much better compliance to WMA
+ Combinatorica V0.09 needs. We have much better compliance to WMA
MapAt[]
2024-12-24 R. Bernstein <rocky@users.noreply.github.com>
@@ -5600,7 +5600,7 @@
* mathics/packages/DiscreteMath/CombinatoricaV0.9.m,
test/package/test_combinatorica.py: Combinatorica V0.9 workarounds
- and expanded tests (#1220) SetPartitions[]` and `KSetPartitions[]` from Combinatorica workin
+ and expanded tests (#1220) SetPartitions[]` and `KSetPartitions[]` from Combinatorica working
V2.0 (In V.09 it is not broken, it is just altogether missing.) So copy the 2.0.0 code into V0.9
2024-12-14 R. Bernstein <rocky@users.noreply.github.com>
@@ -5757,7 +5757,7 @@
mathics/eval/testing_expressions.py,
test/builtin/calculus/test_integrate.py,
test/builtin/distance/__init__.py,
- test/builtin/distance/test_numeric.py: More tests, some minor other changes (#1200) * Add CosineDistance pytests. * check_{Sparce,}ArrayQ -> eval_ArrayQ * BooleanType is now a class and SymbolTrue and SymbolFalse are in
+ test/builtin/distance/test_numeric.py: More tests, some minor other changes (#1200) * Add CosineDistance pytests. * check_{Sparse,}ArrayQ -> eval_ArrayQ * BooleanType is now a class and SymbolTrue and SymbolFalse are in
that class
2024-12-02 rocky <rb@dustyfeet.com>
@@ -5779,7 +5779,7 @@
2024-12-01 R. Bernstein <rocky@users.noreply.github.com>
* mathics/builtin/files_io/files.py, mathics/core/streams.py,
- mathics/eval/files_io/read.py, test/builtin/files_io/test_files.py:
+ mathics/eval/files_io/read.py, test/builtin/files_io/test_files.py:
Lookup streams by user (short) names (#1188) We need to lookup streams opened by the name or string the gives,
not the resolved path name. This bug was discovered in trying to run Analytica. <strike>At some
point in the vague future, I'll write up a bug report, and possibly
@@ -6124,7 +6124,7 @@
2024-10-28 R. Bernstein <rocky@users.noreply.github.com>
* mathics/builtin/atomic/numbers.py,
- mathics/builtin/box/expression.py, mathics/eval/numbers/numbers.py:
+ mathics/builtin/box/expression.py, mathics/eval/numbers/numbers.py:
Two postponed TODOs in recent PRs... (#1148) * Move eval functions to mathics.eval.numbers.numbers * Move "no_doc" after imports
2024-10-28 David A Roberts <d@vidr.cc>
@@ -6222,7 +6222,7 @@
2024-10-22 R. Bernstein <rocky@users.noreply.github.com>
* CHANGES.rst, mathics/builtin/scipy_utils/integrators.py,
- test/builtin/numbers/test_nintegrate.py, test/core/__init__.py:
+ test/builtin/numbers/test_nintegrate.py, test/core/__init__.py:
Romberg is deprecated... (#1131) and will be removed by SciPyi 1.15
2024-10-21 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -6293,7 +6293,7 @@
mathics/builtin/file_operations/file_utilities.py,
mathics/builtin/files_io/files.py,
mathics/builtin/functional/apply_fns_to_lists.py,
- mathics/builtin/messages.py, mathics/builtin/string/charcodes.py:
+ mathics/builtin/messages.py, mathics/builtin/string/charcodes.py:
Remove duplication of "intnm" messages (#1128)
2024-10-12 R. Bernstein <rocky@users.noreply.github.com>
@@ -6388,7 +6388,7 @@
* .github/workflows/{osx.yml => macos.yml}, CHANGES.rst,
mathics/builtin/box/compilation.py, mathics/core/pattern.py: A few
- small changes - (#1113) * Note API incompatibilty introduced in Pattern changes Adjust
+ small changes - (#1113) * Note API incompatibility introduced in Pattern changes Adjust
pattern comment * Remove Lint warning on compilation box * rename osx to macos in CI test
2024-10-02 R. Bernstein <rocky@users.noreply.github.com>
@@ -6419,7 +6419,7 @@
mathics/builtin/patterns.py, mathics/core/builtin.py,
mathics/core/pattern.py, mathics/core/rules.py,
mathics/eval/numbers/calculus/series.py, mathics/eval/parts.py,
- mathics/eval/patterns.py, mathics/eval/testing_expressions.py:
+ mathics/eval/patterns.py, mathics/eval/testing_expressions.py:
Earlier initialization of patterns (#1103) When a ExpressionPattern is created, the way in which the matching
with expressions is determined in part by the attributes of its
head. For example, if `S` is `Orderless`, the match method of the
@@ -6479,7 +6479,7 @@
2024-09-27 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/builtin/files_io/files.py, mathics/eval/files_io/files.py:
+ * mathics/builtin/files_io/files.py, mathics/eval/files_io/files.py:
Get trace/debug tweaks and fixes... (#1098) Get[xx, Trace->True] was not showing all lines read. And we did not
properly hook into a changeable print function. Using: import a.b.c as e reduces unchangeable lookup (a.b.c) does not change and simplifies
and use -- e.GET_PRINT_FN as opposed to a.b.c.GET_PRINT_FN
@@ -6497,8 +6497,8 @@
2024-09-26 R. Bernstein <rocky@users.noreply.github.com>
* mathics/builtin/files_io/files.py, mathics/core/rules.py,
- mathics/core/streams.py, mathics/eval/files_io/files.py:
- Accomodation for debugging Get, and parse (#1089) * Access parse() from Get in a way that allows a debugger to trap
+ mathics/core/streams.py, mathics/eval/files_io/files.py:
+ Accommodation for debugging Get, and parse (#1089) * Access parse() from Get in a way that allows a debugger to trap
the call. * Change the way Get[..., Trace->True] so that a debugger can hook
into this more naturally -- separate the line number from the text. Some other small changes were made like putting the Number class in
alphabetic order, or adding more annotations.
@@ -6534,8 +6534,8 @@
2024-09-21 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/main.py: allow setting In/Out prefix... (#1091) The Mathics3 debugger has the abilty to go back into a Mathics
- session in the middle of debugging. To separate what is done inside a debug sesssion from what is done
+ * mathics/main.py: allow setting In/Out prefix... (#1091) The Mathics3 debugger has the ability to go back into a Mathics
+ session in the middle of debugging. To separate what is done inside a debug session from what is done
outside in the interactive session we set "In[]" to be "Debug In[]"
and Out[] to be "Debug Out[]". Also we DRY the eval loop of main()
@@ -6546,7 +6546,7 @@
2024-09-19 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/core/pattern.py: Simplfy checking for patterns (#1088) Replace `pat.get_head_name() == "System`Pattern"` with
+ * mathics/core/pattern.py: Simplify checking for patterns (#1088) Replace `pat.get_head_name() == "System`Pattern"` with
`isinstance(pat, Pattern)`. I think there are other places where we are using ``get_head_name()
== "System`xxx`` but that is left for a different time.
@@ -6558,7 +6558,7 @@
mathics/builtin/numbers/calculus.py, mathics/builtin/patterns.py,
mathics/core/builtin.py, mathics/core/pattern.py,
mathics/core/rules.py, mathics/eval/numbers/calculus/series.py,
- mathics/eval/patterns.py, mathics/eval/testing_expressions.py:
+ mathics/eval/patterns.py, mathics/eval/testing_expressions.py:
Starting to tidy up mathics.core.pattern (#1086) In line with the last changes proposed by @rocky, I was doing a pass
over mathics.core.pattern and fixing some issues reported by the
linter. --------- Co-authored-by: R. Bernstein <rocky@users.noreply.github.com>
@@ -6573,7 +6573,7 @@
2024-09-15 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/builtin/trace.py, mathics/core/rules.py, mathics/main.py:
+ * mathics/builtin/trace.py, mathics/core/rules.py, mathics/main.py:
apply_rule -> apply_function ... (#1084) Change `apply_rule()` -> to `apply_function()` when that is what is
is; (and not when it is not). Also mark BaseRule an abstract class, and go over docstrings in
mathics.core.rules @mmatera I think i now understand what you were getting at when we
@@ -6584,7 +6584,7 @@
2024-09-08 R. Bernstein <rocky@users.noreply.github.com>
- * mathics/builtin/trace.py, mathics/core/rules.py, mathics/main.py:
+ * mathics/builtin/trace.py, mathics/core/rules.py, mathics/main.py:
do_replace -> apply_rule (#1083)
2024-08-31 R. Bernstein <rocky@users.noreply.github.com>
@@ -6604,7 +6604,7 @@
2024-08-31 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
- * CHANGES.rst, mathics/builtin/patterns.py, mathics/core/builtin.py:
+ * CHANGES.rst, mathics/builtin/patterns.py, mathics/core/builtin.py:
Blanks as singleton (#1081) Looking at the initialization process, `Blank*` PatternObjets are
created several times. This PR makes that these elements be created
just once when a parameter is not provided. This would also help to
@@ -6666,7 +6666,7 @@
.github/workflows/ubuntu.yml, .github/workflows/windows.yml,
mathics/builtin/assignments/assign_binaryop.py,
mathics/builtin/atomic/strings.py,
- mathics/builtin/exp_structure/general.py, mathics/core/builtin.py:
+ mathics/builtin/exp_structure/general.py, mathics/core/builtin.py:
Go over operators (#1076)
2024-08-29 R. Bernstein <rocky@users.noreply.github.com>
@@ -6679,7 +6679,7 @@
2024-08-20 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
- * mathics/core/symbols.py, test/core/test_sympy_python_convert.py:
+ * mathics/core/symbols.py, test/core/test_sympy_python_convert.py:
fix tests for sympy conversions (#1073) This PR just fixes the pytest, and marks some issues in the
conversion of Lambda functions. --------- Co-authored-by: rocky <rb@dustyfeet.com>
@@ -6687,7 +6687,7 @@
* CHANGES.rst, mathics/builtin/numbers/algebra.py,
mathics/builtin/numbers/numbertheory.py,
- mathics/core/convert/sympy.py, test/builtin/numbers/__init__.py:
+ mathics/core/convert/sympy.py, test/builtin/numbers/__init__.py:
Misc tweaks... (#1072) (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
@@ -6710,7 +6710,7 @@
mathics/core/convert/sympy.py: Remove "sympy_name" in from_sympy()
calls: (#1070) Generally, we can get sympy_name from the object. Previously, we
sometimes we had two-parameter "from_sympy()" calls and
- three-parameter calls where sometiems a parameter might not be used. Overall, I think this will simplifies things. Some type annotations were added.
+ three-parameter calls where sometimes a parameter might not be used. Overall, I think this will simplifies things. Some type annotations were added.
2024-08-13 R. Bernstein <rocky@users.noreply.github.com>
@@ -6755,7 +6755,7 @@
2024-08-09 rocky <rb@dustyfeet.com>
* AUTHORS.txt, Makefile, README.rst, mathics/__init__.py,
- mathics/version.py: More administrative changes; bump verison to dev
+ mathics/version.py: More administrative changes; bump version to dev
2024-08-09 rocky <rb@dustyfeet.com>
@@ -6851,7 +6851,7 @@
mathics/builtin/procedural.py, mathics/builtin/specialfns/gamma.py,
mathics/builtin/system.py,
mathics/builtin/testing_expressions/logic.py,
- mathics/builtin/testing_expressions/numerical_properties.py:
+ mathics/builtin/testing_expressions/numerical_properties.py:
normalizing linebreaks after </dl> (#1055) This PR just normalizes the line breaks after </dl> in the
docstrings
@@ -6913,7 +6913,7 @@
mathics/doc/latex/mathics.tex: Misc doc-related changes (#1051) * numbers.py: Precision; fix spelling, remove hard line-wrap and
make render in LaTeX better * symbols.py: Need `\n` after `</dl>`. Hash was not doctest'd
properly combinatorial.py: Add Subset link; shorten Subset * test
- output, constants.py: better Infinity exmaples, link to
+ output, constants.py: better Infinity examples, link to
DirectedInfinity orderstats. WMA -> WMA link (when there are no
other links) expression_tests.py: move and *Q here. * systemsymbols.py: More symbols
@@ -6943,7 +6943,7 @@
* mathics/doc/latex/mathics-test.tex, mathics/docpipeline.py: using
more print_and_log (#1050) In the refactor of docpipeline I forgot to use more this method, and
also at some place it was called from the wrong object. This PR
- ammends that.
+ amends that.
2024-08-03 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -7056,7 +7056,7 @@
2024-07-29 R. Bernstein <rocky@users.noreply.github.com>
* pyproject.toml: Minimum Python version supported is 3.8 (#1040) MathicsScanner currently supports 3.8 or greater in order to support
- Sympy 1.11. And MathicsScanner is a prerequiste of this package.
+ Sympy 1.11. And MathicsScanner is a prerequisite of this package.
2024-07-29 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -7066,7 +7066,7 @@
mathics/builtin/testing_expressions/numerical_properties.py,
mathics/core/atoms.py, mathics/eval/testing_expressions.py: Sympy
1.13 compatibility (#1037) This PR implements the changes required for compatibility with the
- lastest version of Sympy. The main changes are related to the fact
+ latest version of Sympy. The main changes are related to the fact
that the new version does not allows to compare `Sympy.Float`s
against Python `float`s
@@ -7195,7 +7195,7 @@
2024-02-10 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
* mathics/builtin/evaluation.py,
- mathics/builtin/kernel_sessions.py, mathics/builtin/mainloop.py:
+ mathics/builtin/kernel_sessions.py, mathics/builtin/mainloop.py:
adding Exit as an alias of Quit (#998) This fixes #996. It seems that the rule for `Exit` was not loaded
together with `Quit`. --------- Co-authored-by: R. Bernstein <rocky@users.noreply.github.com>
@@ -7429,7 +7429,7 @@
* mathics/session.py, test/builtin/test_attributes.py,
test/builtin/{test_evalution.py => test_evaluation.py},
test/builtin/test_functional.py, test/builtin/test_messages.py,
- test/builtin/test_procedural.py, test/helper.py:
+ test/builtin/test_procedural.py, test/helper.py:
MathicsSession.evaluate_as_in_cli (#931) This PR implements a method in the `MathicsSession` class that uses
the `Evaluation.evaluate` method. This allows to handle exceptions
and special symbols like % or Line references. This method is used
@@ -7829,7 +7829,7 @@
2023-11-19 rocky <rb@dustyfeet.com>
- * setup.py: Administrivia: Correct Downlaod URL link. Drop 3.6, add 3.11
+ * setup.py: Administrivia: Correct Download URL link. Drop 3.6, add 3.11
2023-11-16 rocky <rb@dustyfeet.com>
@@ -7885,7 +7885,7 @@
mathics/builtin/drawing/graphics3d.py,
mathics/builtin/drawing/plot.py,
test/builtin/colors/test_color_directives.py,
- test/builtin/drawing/__init__.py, test/builtin/drawing/test_plot.py:
+ test/builtin/drawing/__init__.py, test/builtin/drawing/test_plot.py:
move private doctests to pytest for builtin.drawing and
builtin.colors (#930)
@@ -7910,8 +7910,8 @@
mathics/builtin/functional/application.py,
mathics/builtin/functional/apply_fns_to_lists.py,
mathics/builtin/functional/functional_iteration.py,
- test/builtin/test_exp_structure.py, test/builtin/test_functional.py:
- move private doctests to pytests for exp_structure and fuctional
+ test/builtin/test_exp_structure.py, test/builtin/test_functional.py:
+ move private doctests to pytests for exp_structure and functional
(#927) and another
2023-10-15 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -8137,7 +8137,7 @@
2023-08-14 mmatera <matera@fisica.unlp.edu.ar>
* test/builtin/list/test_association.py,
- test/builtin/list/test_eol.py, test/builtin/list/test_list.py:
+ test/builtin/list/test_eol.py, test/builtin/list/test_list.py:
adding pytests modules for list
2023-08-13 mmatera <matera@fisica.unlp.edu.ar>
@@ -8158,7 +8158,7 @@
mathics/builtin/image/geometric.py, mathics/builtin/image/misc.py,
mathics/builtin/image/pixel.py,
mathics/builtin/image/properties.py,
- test/builtin/image/test_image.py, test/builtin/test_assignment.py:
+ test/builtin/image/test_image.py, test/builtin/test_assignment.py:
Moving private doctests to pytest for assignment and image (#901) Just another round Co-authored-by: R. Bernstein <rocky@users.noreply.github.com>
2023-08-12 R. Bernstein <rocky@users.noreply.github.com>
@@ -8168,7 +8168,7 @@
2023-08-12 rocky <rb@dustyfeet.com>
* mathics/builtin/image/basic.py: tolerate various Threshold values;
- OSX is differnt
+ OSX is different
2023-08-12 rocky <rb@dustyfeet.com>
@@ -8383,7 +8383,7 @@
2023-07-21 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
- * mathics/builtin/arithmetic.py, mathics/eval/arithmetic.py:
+ * mathics/builtin/arithmetic.py, mathics/eval/arithmetic.py:
trailing changes (#887) This PR fixes the `RealSign` docstring and removes a trailing
unreachable piece of code in the `eval_Sign` function.
@@ -8478,7 +8478,7 @@
2023-07-10 rocky <rb@dustyfeet.com>
- * mathics/builtin/lowlevelprofile.py, mathics/builtin/trace.py:
+ * mathics/builtin/lowlevelprofile.py, mathics/builtin/trace.py:
Combine CProfiling and Tracing Both are pretty short and it makes the overall organization more
coherent. (Should both code grow a lot, we can create a directory to
make this a "Guide Section".
@@ -8602,9 +8602,9 @@
* mathics/builtin/drawing/graphics3d.py,
mathics/builtin/drawing/graphics_internals.py,
- mathics/builtin/procedural.py, mathics/main.py, mathics/timing.py:
+ mathics/builtin/procedural.py, mathics/main.py, mathics/timing.py:
Add --cprofile option to main and small styling stuff of misc files looked a in looking for
- preformance bottlnecks
+ performance bottlenecks
2023-06-01 R. Bernstein <rocky@users.noreply.github.com>
@@ -8643,7 +8643,7 @@
2023-05-28 rocky <rb@dustyfeet.com>
* mathics/builtin/files_io/filesystem.py, mathics/core/number.py: Go
- over filesystem.py * DRY Handle invalid compiling filenames in FileNames * fewer polymorphic variables in this code * A number of sytle things
+ over filesystem.py * DRY Handle invalid compiling filenames in FileNames * fewer polymorphic variables in this code * A number of style things
2023-05-28 R. Bernstein <rocky@users.noreply.github.com>
@@ -8698,7 +8698,7 @@
mathics/builtin/string/operations.py,
mathics/builtin/string/patterns.py,
mathics/builtin/vectors/math_ops.py, mathics/core/convert/regex.py,
- mathics/eval/math_ops.py, test/core/convert/test_to_regex.py:
+ mathics/eval/math_ops.py, test/core/convert/test_to_regex.py:
passing callables instead of Evaluation when messages are required.
2023-05-24 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -8784,13 +8784,13 @@
* mathics/builtin/atomic/strings.py,
mathics/builtin/atomic/symbols.py,
- mathics/builtin/files_io/filesystem.py, mathics/eval/strings.py:
+ mathics/builtin/files_io/filesystem.py, mathics/eval/strings.py:
Move to_regex to mathics.core.eval... and deduce hoakiness in filesystem.py
2023-05-14 rocky <rb@dustyfeet.com>
* mathics/builtin/atomic/strings.py,
- test/builtin/box/test_custom_boxexpression.py: Moving towards geting
+ test/builtin/box/test_custom_boxexpression.py: Moving towards getting
3.11 supported Note in regexp conversion function the change that needs to go on.
2023-05-08 R. Bernstein <rocky@users.noreply.github.com>
@@ -8825,7 +8825,7 @@
2023-04-25 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
- * mathics/autoload/rules/Bessel.m, mathics/autoload/rules/Limit.m:
+ * mathics/autoload/rules/Bessel.m, mathics/autoload/rules/Limit.m:
Enclosing autoload Limit rules between Begin/End context (#842) This just adds the Begin/End block to the `autoload/rules/Limit.m`
module. The `BeginPackage` is not used here because we are not
trying to define a package, but just to define the default context.
@@ -8943,7 +8943,7 @@
2023-04-06 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
- * mathics/builtin/atomic/numbers.py, mathics/eval/arithmetic.py:
+ * mathics/builtin/atomic/numbers.py, mathics/eval/arithmetic.py:
Arithmetic refactor 0 (#826) Another smaller chunk of #766.
2023-04-06 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -8956,7 +8956,7 @@
mathics/builtin/string/operations.py,
mathics/builtin/testing_expressions/equality_inequality.py,
mathics/core/atoms.py, mathics/core/convert/mpmath.py,
- mathics/core/expression_predefined.py, mathics/eval/parts.py:
+ mathics/core/expression_predefined.py, mathics/eval/parts.py:
Expression constants (#831) This comes from #828. Here a new module is added to contain the
expression constants of the form `DirectedInfinity[...]`.
@@ -8985,7 +8985,7 @@