simon-git: spigot (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Oct 14 06:39:55 BST 2017
TL;DR:
0dacd37 test.sh: handle not having realpath(1) available.
297026e Python: convert-to-integer methods on the Spigot object.
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 06:39:55
commit 0dacd3791a3a3a22f21d65d0ded92238f66d4e0e
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=0dacd3791a3a3a22f21d65d0ded92238f66d4e0e;hp=baf75a9a613b18cd88b0dc976a44105a1f6ba383
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Oct 13 19:31:25 2017 +0100
test.sh: handle not having realpath(1) available.
Now we use 'readlink -f' instead if that's available, and also, if the
user provides an absolute pathname to spigot in the first place then
we don't bother to run (or check for) either. Should make the test
script more portable.
test.sh | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
commit 297026e67a341dca9e8207bfad5e3002b34e354e
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=297026e67a341dca9e8207bfad5e3002b34e354e;hp=0dacd3791a3a3a22f21d65d0ded92238f66d4e0e
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Oct 13 19:39:55 2017 +0100
Python: convert-to-integer methods on the Spigot object.
Given a Spigot s, you can now say s.floor() or s.ceil() or
s.toint(symbolic rounding mode constant of your choice) and get back
an actual Python integer. (As opposed to spigot.floor and spigot.ceil,
which deliver a Spigot object that just happens to be integer-valued.)
python/spig/__init__.py | 8 ++++++++
python/testsuite.py | 49 ++++++++++++++++++++++++++++++++++++++++---------
2 files changed, 48 insertions(+), 9 deletions(-)
More information about the tartarus-commits
mailing list