Skip to content

Tags: Flimm/python-humanfriendly

Tags

1.44.7

Toggle 1.44.7's commit message
Minor improvements to usage message reformatting

1.44.6

Toggle 1.44.6's commit message
Remove undocumented .strip() from join_lines()

Why I noticed this: It has the potential to eat significant white
space in usage messages that are marked up in reStructuredText syntax.

Why I decided to change it: The behavior isn't documented and on
second thought I wouldn't expect a function called join_lines()
to strip any and all leading/trailing white space.

1.44.5

Toggle 1.44.5's commit message
Improve usage message parsing algorithm (also add a proper test)

Refer to test_parse_usage_tricky() for an example of a usage message that
is now parsed correctly but would previously confuse the dumb "parsing"
algorithm in parse_usage().

1.44.4

Toggle 1.44.4's commit message
Make usage message parsing a bit more strict

Admittedly this needs a lot more love to make it more robust but
I lack the time to implement this at the moment. Some day soon! :-)

1.44.3

Toggle 1.44.3's commit message
Unbreak conditional importlib dependency*

* https://travis-ci.org/xolox/python-humanfriendly/builds/110585766

  Kind of strange that everything worked fine locally. Then again,
  I've never used wheel compatible conditional dependencies before
  so of course my first attempt was bound to fail in same way :-s.

1.44.2

Toggle 1.44.2's commit message
Make conditional importlib dependency compatible with wheels*

While running tox tests of another project of mine that uses the
humanfriendly package I noticed a traceback when importing the
humanfriendly package (because importlib was missing). After some
digging I found that tox uses pip to install packages and pip converts
source distributions to wheel distributions before/during installation,
thereby dropping the conditional importlib dependency.

1.44.1

Toggle 1.44.1's commit message
Fix non-fatal log format error in prompt_for_choice()

1.44

Toggle 1.44's commit message
Add humanfriendly.sphinx module

1.43.1

Toggle 1.43.1's commit message
Bug fix: Restore Python 2.6 compatibility (doh!)

1.43

Toggle 1.43's commit message
Replace import_module() with conditional dependency on importlib

[less code = better code base :-]