simon-git: spigot (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Oct 14 17:35:28 BST 2017
TL;DR:
9787d14 Another output line in demo.py.
e19814e Test all the Python demo programs.
0e5ab3a Typo I just spotted in a function name.
4be99cf Buildscr: build and test the Python module.
Repository: https://git.tartarus.org/simon/spigot.git
On the web: https://git.tartarus.org/?p=simon/spigot.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2017-10-14 17:35:28
commit 9787d141f9d05b25f3f64fc151c9c76515be41f7
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=9787d141f9d05b25f3f64fc151c9c76515be41f7;hp=297026e67a341dca9e8207bfad5e3002b34e354e
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Oct 14 17:09:25 2017 +0100
Another output line in demo.py.
This one is just for comparison in the tan(1e100) section; I thought
it might be instructive to show the difference between spigot's and
libc's tan functions when applied to the same IEEE float, as well as
showing the difference when the input you actually wanted is not
pre-rounded to IEEE.
python/demo.py | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
commit e19814ed0be3397fffc67db18f012d2e4808062c
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=e19814ed0be3397fffc67db18f012d2e4808062c;hp=9787d141f9d05b25f3f64fc151c9c76515be41f7
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Oct 14 17:21:38 2017 +0100
Test all the Python demo programs.
Now when I run testsuite.py I'll have at least some reason to believe
I haven't broken _anything_ in this subdirectory, either in the Python
module itself or in the uses of its API in the demo programs. This
should go some way to preventing further regressions like the one I
had to fix in commit baf75a9a6.
python/testsuite.py | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
commit 0e5ab3acf86e7fa92ec5b3c3f0e61e12ea3012af
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=0e5ab3acf86e7fa92ec5b3c3f0e61e12ea3012af;hp=e19814ed0be3397fffc67db18f012d2e4808062c
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Oct 14 17:22:10 2017 +0100
Typo I just spotted in a function name.
Normally I spot these pretty reliably because I don't use an
autocompleting editor, so any typo I don't make _consistently_ will
show up as a compile- or run-time error. But names of test methods in
subclasses of unittest.TestCase are an exception, because the only
thing that will be calling those will do it the same no matter what
they're called!
python/testsuite.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 4be99cff97acb0604240121eee084160eacda814
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=4be99cff97acb0604240121eee084160eacda814;hp=0e5ab3acf86e7fa92ec5b3c3f0e61e12ea3012af
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Oct 14 17:22:15 2017 +0100
Buildscr: build and test the Python module.
I'm pretty close now to declaring this Python API to be finished
enough for people other than me to use it, which means I should start
making an effort to keep it actually working. Accordingly, my normal
build process will now run the whole test suite (including the test
runs of the demo programs that I've just added), under Python 2 and
Python 3 (ensuring I maintain compatibility with both), and make sure
they work.
I'm not yet _shipping_ any build product of running setup.py. It's not
_quite_ that finished, and also, I haven't worked out what the best
distribution format is yet.
Buildscr | 10 ++++++++++
1 file changed, 10 insertions(+)
More information about the tartarus-commits
mailing list