1.6.0 (May 19, 2017)
Withdrew support for backflip-level attempts to make Python 2 files behave with rational encodings. If
sayopens a file on your behalf, it will do the rigtht thing. It will also try very hard to do the right thing with respect to
sys.stdout. But for arbitrary files that you open, make sure they’re properly encoded. Use
Reorganized some code. Added and reinstated tests. Bumped coverage +1%, to 97%.
say(), to make 1:1 compatible with Python 3’s native
1.6.1 (May 15, 2017)
Updated mechanism for method-specific option setting. Still work in progress, but code now much cleaner.
The experimental operator form of
>has been withdrawn. The operator style isn’t consonant with Python philosophy, complicated the code base, and only partially worked. Interesting idea, but experience suggests not worth the trouble.
1.5.0 (May 14, 2017)
Changed name of parameter
sepmethods because discovered it was conflating and interfering with the
sepparameter in the main options. The horizontal separator character that is repeated N times is now addressed as
1.4.5 (March 22, 2017)
first_restprefix helper. First line gets one prefix, (all) subsequent lines get another. Prefix helpers reorganized into their own submodule,
1.4.4 (March 22, 2017)
Fixed problem with Unicode stream handling under Python 2. It has slipped under the testing radar, given too many mocks and not enough full-out integration testing. Oops!
1.4.3 (January 23, 2017)
Updates testing for early 2017 Python versions. Successfully packaged for, and tested against, all late-model versions of Python: 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6, as well as PyPy 5.6.0 (based on 2.7.12) and PyPy3 5.5.0 (based on 3.3.5). Python 3.2 removed from official support; no longer a current version of Python and not well-supported by testing matrix.
1.4.2 (September 15, 2015)
Tested with Python 3.5.0 final.
1.4.0 (September 8, 2015)
Added ability to set styles for some methods such as
sepas an overlay to class, object, and per-call settings. This is a first delivery on what will become a general feature over the next few releases. Added vertical spacing to
sepmethods for nicer layouts.
Increased testing line coverage to 96%, improving several routines’ robustness in the process.
1.3.12 (September 1, 2015)
Tweaks and testing for new version 1.4 of underlying
optionsversion returns support for Python 2.6.
1.3.9 (August 26, 2015)
Reorganized documentation structure. Updated some setup dependencies.
1.3.5 (August 17, 2015)
Instituted integrated, multi-version coverage testing with tox, pytest, pytest-cov, and coverage. Initial score: 86%.
1.3.4 (August 16, 2015)
SayReturnlogic, which was broken, in order to support an upgrade of
1.3.3 (August 16, 2015)
sepmethod for separators.
Some code cleanups and a few additional tests.å
Officially switched to YAML-format Change Log (
1.3.2 (August 12, 2015)
1.3.1 (August 11, 2015)
Doc, config, and testing updates. Removed
joinermodule and tests. May import that funcationality from
quotermodule in future.
Python 2.6 currently unsupported due to issues with underlying
stufmodule. Support may return, depending on compatibility upgrades for future
1.3 (July 22, 2015)
Templateclass. A deferred-rendering version of
1.2.6 (July 22, 2015)
Configuration, testing matrix, and doc tweaks.
1.2.5 (December 29, 2014)
Fixed problem that was occuring with use of Unicode characters when rendered inside the Komodo IDE, which set the
UTF-8. In those cases, now inserts a codec-based writer object to do the encoding.
1.2.4 (June 4, 2014)
Now testing for Python 3.3 and 3.4. One slight problem with them when encoding to base64 or similar bytes-oriented output that did not appear in earlier Python 3 builds. Examining.
Added gittip link as an experiment.
1.2.1 (October 16, 2013)
Fixed bug with quoting of style names/definitions.
Tweaked documentation of style definitions.
1.2.0 (September 30, 2013)
Added style definitions and convenient access to ANSI colors.
1.1.0 (September 24, 2013)
Line numbering now an optional way to format output.
Line wrapping is now much more precise. The
wrapparameter now specifies the line length desired, including however many characters are consumed by prefix, suffix, and indentation.
Vertical spacing is regularized and much better tested. The
vsepoption, previously available only on a few methods, is now available everywhere.
vsep=Ngives N blank lines before and after the given output statement.
vsep=(M,N)gives M blank lines before, and N blank lines after. A new
Verticalclass describes vertical spacing behind the scenes.
Sayno longer attempts to handle file encoding itself, but passes this responsibility off to file objects, such as those returned by
io.open. This is cleaner, though it does remove the whimsical possibility of automagical base64 and rot13 encodings. The
encodingoption is withdrawn as a result.
You can now set the files you’d like to output to in the same way you’d set any other option (e.g.
say.clone(files=[...])). “Magic” parameter handling is enabled so that if any of the items listed are strings, then a file of that name is opened for writing. Beware, however, that if you manage the files option explicitly (e.g.
say.options.files.append(...)), you had better provide proper open files. No magical interpretation is done then. The previously-necessary
say.setfiles()API remains, but is now deprecated.
fmt()is now handled by
Fmt, a proper subclass of
Say, rather than just through instance settings.
say()no longer returns the value it outputs.
encodedoptions have therefore been withdrawn.
1.0.4 (September 16, 2013)
Had to back out part of the common
__version__grabbing. Not compatible with Sphinx / readthedocs build process.
1.0.3 (September 16, 2013)
Tightened imports for namespace cleanliness.
__version__metadata common to module,
setup.py, and docs.
1.0.2 (September 14, 2013)
fmt, along with docs and tests.
1.0.1 (September 13, 2013)
Moved main documentation to Sphinx format in
./docs, and hosted the long-form documentation on readthedocs.org.
README.rstnow an abridged version/teaser for the module.
1.0 (September 19, 2013)
Cleaned up source for better PEP8 conformance
Bumped version number to 1.0 as part of move to semantic versioning, or at least enough of it so as to not screw up Python installation procedures (which don’t seem to understand 0.401 is a lesser version that 0.5, because 401 > 5).