commit a00fb8ae0e2f7e9fe4aac4f28f87198a412feb52 Merge: fc7c5cb be5af88 Author: Damian Johnson atagar@torproject.org Date: Sat Oct 20 16:00:03 2012 -0700
String utility toolkit
Few utility functions for string generation (mostly for making human readable labels of size or time metrics).
cr: neena (https://trac.torproject.org/7158)
docs/tutorial.rst | 38 +++--- run_tests.py | 2 + stem/util/enum.py | 24 +---- stem/util/str_tools.py | 277 +++++++++++++++++++++++++++++++++++++++++++ stem/util/term.py | 3 +- test/unit/tutorial.py | 5 +- test/unit/util/__init__.py | 1 + test/unit/util/enum.py | 16 --- test/unit/util/str_tools.py | 121 +++++++++++++++++++ 9 files changed, 428 insertions(+), 59 deletions(-)
tor-commits@lists.torproject.org