M docs/conf.py +1 -1
@@ 58,7 58,7 @@ copyright = '2006-2013 PSF, 2013-2018 Ge
# The short X.Y version.
version = '0.2'
# The full version, including alpha/beta/rc tags.
-release = '0.2.3'
+release = '0.2.4'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
M docs/overview.rst +26 -9
@@ 66,7 66,7 @@ heavy use of this feature:
@method()
def __add__(a: object, b: Rational):
"""Add an object and a rational number.
-
+
`a` is converted to a :class:`Rational` and then both are added."""
return Rational(a) + b
@@ 86,7 86,7 @@ Again the rational example is instructiv
@method()
def __out__(rational: Rational, writer: Writer):
"""Write a nice representation of the rational.
-
+
Denominators that equal 1 are not printed."""
writer("%d", rational.numerator)
if rational.denominator != 1:
@@ 129,38 129,52 @@ Changes
A short sketch of the changes done in each release.
+Release 0.2.4
+~~~~~~~~~~~~~
+
+The following was changed in Release 0.2.4:
+
+ * The :meth:`push`-method accepts an identation string
+ for identing writers.
+ * The methods :meth:`push` and :meth:`pop` now accept
+ arbitrary arguments in the general case.
+ * Successfully tested the whole framework with Python 3.5.
+
Release 0.2.3
~~~~~~~~~~~~~
-The following was change in Release 0.2.3:
+The following was changed in Release 0.2.3:
* Fixed the long description.
* Wrote some documentation about changing the implementation
class of a generic function.
+
Release 0.2.2
~~~~~~~~~~~~~
-The following was change in Release 0.2.2:
+The following was changed in Release 0.2.2:
- * Write more documentation.
+ * Write more documentation.
Especially documented the `merge` and the `isgeneric`
functions.
* Consistency between the long text and on PyPi and the documentation.
+
Release 0.2.1
~~~~~~~~~~~~~
-Needed to bump the version information, because the homepage
+Needed to bump the version information, because the homepage
in the package-information was wrong [#]_ and a new upload was needed.
+
Release 0.2.0
~~~~~~~~~~~~~
-The following was change in Release 0.2.0:
+The following was changed in Release 0.2.0:
- * Ported the whole module to Python 3.6 and Python 3.7.
+ * Ported the whole module to Python 3.6 and Python 3.7.
* Exclusively uses `parameter annotations`_ to specify the types to dispatch on.
* Added standard conforming default implementations for methods
like :meth:`__add__`. All these methods now raise a proper
@@ 173,6 187,7 @@ The following was change in Release 0.2.
.. _parameter annotations: https://docs.python.org/3/reference/compound_stmts.html#grammar-token-parameter
+
Release 0.1.4
~~~~~~~~~~~~~
@@ 186,6 201,7 @@ The following was fixed in Release 0.1.4
* Improved generated documentation for variadic methods.
* Fixed the markup of some notes in the documentation.
+
Release 0.1.3
~~~~~~~~~~~~~
@@ 197,6 213,7 @@ The following was changed in Release 0.1
and fixed bug in its markup.
* Fixed invalid references in the long description.
+
Release 0.1.2
~~~~~~~~~~~~~
@@ 208,6 225,7 @@ The following was changed in Release 0.1
* Improved the exception information for ambiguous calls.
* Fixed some documentation glitches.
+
Release 0.1.1
~~~~~~~~~~~~~
@@ 217,4 235,3 @@ This was the initial release.
after version 0.2.0 was uploaded.
.. [#] Of course this is not possible with standard python classes
and their instances.
-
M setup.py +2 -1
@@ 26,7 26,7 @@ print(long_description)
#D: sys.path.insert(0, "tests")
setup(name="gf3",
- version='0.2.3',
+ version='0.2.4',
description="A package with lisp-like generic functions for python 3.",
long_description = long_description,
keywords="generic-function multi-method",
@@ 37,6 37,7 @@ setup(name="gf3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation",
"Topic :: Software Development :: Libraries",