Skip to content

Commit 3b7f03e

Browse files
committed
pep8
1 parent 7a85bf0 commit 3b7f03e

3 files changed

Lines changed: 201 additions & 146 deletions

File tree

CHANGES.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,32 @@ CHANGES
55
2.0.1
66
-----
77

8+
General improvements
9+
--------------------
10+
- Consistency version checks for builtin modules at load time
811
- Partial improvement in Compile: now every expression has a compiled form,
912
as a Python function.
10-
13+
- Automatic detection for the best strategy to numeric evaluation of constants.
1114
New builtins
1215
------------
1316

1417
- NIntegrate
1518
- ArcTanh
1619

20+
Bug fixes
21+
---------
22+
- TeXForm for integrals are now properly formatted.
23+
24+
25+
Pymathics Modules
26+
------------------
27+
- Pymathics modules now can run initialization code when are loaded.
28+
- The `builtins` list is not hardliked to the library anymore. This simplifies
29+
the loading and reloading of pymathics modules.
30+
- Decoupling of BoxConstructors from the library. Now are defined at the
31+
level of the definition objects. This is useful for customizing the
32+
Graphics output if it is available.
33+
1734

1835

1936

mathics/builtin/compilation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ def boxes_to_text(self, leaves=None, **options):
199199

200200
def boxes_to_xml(self, leaves=None, **options):
201201
if leaves is None:
202-
leaves = self._leaves
202+
leaves = self._leaves
203203
return leaves[0].value
204204

205205
def boxes_to_tex(self, leaves=None, **options):
206206
if leaves is None:
207-
leaves = self._leaves
207+
leaves = self._leaves
208208
return leaves[0].value
209209

210210

0 commit comments

Comments
 (0)