diff --git a/docs/source/changelog.md b/docs/source/changelog.md index ba133fd1..491affc2 100644 --- a/docs/source/changelog.md +++ b/docs/source/changelog.md @@ -1 +1 @@ -# Release Notes * [Version 1.5](./history/1.5.html) * [Version 1.4](./history/1.4.html) * [Version 1.3](./history/1.3.html) * [Version 1.2](./history/1.2.html) * [Version 1.1](./history/1.1.html) * [Version 1.0](./history/1.0.html) * [Pre Version 1.0](./history/pre1.0.html) \ No newline at end of file +# Release Notes * [Version 1.6](./history/1.6.html) * [Version 1.5](./history/1.5.html) * [Version 1.4](./history/1.4.html) * [Version 1.3](./history/1.3.html) * [Version 1.2](./history/1.2.html) * [Version 1.1](./history/1.1.html) * [Version 1.0](./history/1.0.html) * [Pre Version 1.0](./history/pre1.0.html) \ No newline at end of file diff --git a/docs/source/history/1.5.md b/docs/source/history/1.5.md index 0aace66b..dc189728 100644 --- a/docs/source/history/1.5.md +++ b/docs/source/history/1.5.md @@ -1,13 +1,3 @@ -## Ver. 1.5.6 - 2016-Nov-20 - -This version bring a critical bug fix for HTTP responses with non standard values in body. - -* New ``is_message_complete`` method in ``HttpResponse`` -* Critical bug fix for HTTP response with body when they should not have it. - Disregard the body or chunked header [#257](https://github.com/quantmind/pulsar/pull/257) -* If [http-request](https://github.com/benoitc/http-parser) module is installed, use its C parser as default HTTP parser. Th python parser can still be used by passing ``--http-py-parser`` flag in the command line - - ## Ver. 1.5.5 - 2016-Nov-20 Bug fix release with improvements in the Http client for streaming @@ -84,4 +74,4 @@ To use the this third party event loop, pass the ``--io uv`` flag in the command * Removed ``require`` script from wsgi media and refactoring [#239](https://github.com/quantmind/pulsar/issues/239) * Test.wait only support ``assertRaises`` [#235](https://github.com/quantmind/pulsar/issues/235) * Removed ``yield from`` from all tests -* No more docs in http://pythonhosted.org/pulsar/ \ No newline at end of file +* No more docs in http://pythonhosted.org/pulsar/ diff --git a/docs/source/history/1.6.md b/docs/source/history/1.6.md new file mode 100644 index 00000000..b2241b10 --- /dev/null +++ b/docs/source/history/1.6.md @@ -0,0 +1,15 @@ +## Ver. 1.6.0 - 2016-Nov-20 + +A new series with improvements in the HTTP client and server. +Broadly compatible with the 1.5 series with exception of headers definitions and actors +based on ``multiprocessing`` module (both have been removed because not used). +This version brings a critical bug fix for HTTP responses with non standard +values in body or content headers + +* New ``is_message_complete`` method in ``HttpResponse`` +* Critical bug fix for HTTP response with body when they should not have it. + Disregard the body and content headers [#257](https://github.com/quantmind/pulsar/pull/257) +* If [http-request](https://github.com/benoitc/http-parser) module is installed, use its C parser as default HTTP parser. Th python parser can still be used by passing ``--http-py-parser`` flag in the command line +* Removed headers definitions, no longer used [222](https://github.com/quantmind/pulsar/issues/222) +* Removed actors based on ``multiprocessing`` module, not needed + diff --git a/pulsar/__init__.py b/pulsar/__init__.py index 14572f4a..45af7214 100644 --- a/pulsar/__init__.py +++ b/pulsar/__init__.py @@ -5,7 +5,7 @@ from .utils.version import get_version -VERSION = (1, 5, 6, 'final', 0) +VERSION = (1, 6, 0, 'final', 0) __version__ = version = get_version(VERSION) diff --git a/pulsar/async/concurrency.py b/pulsar/async/concurrency.py index 3d6dff56..00e03ef5 100644 --- a/pulsar/async/concurrency.py +++ b/pulsar/async/concurrency.py @@ -5,7 +5,7 @@ import pickle from time import time from collections import OrderedDict -from multiprocessing import Process, current_process +from multiprocessing import current_process from multiprocessing.reduction import ForkingPickler import pulsar @@ -736,18 +736,6 @@ def run(self): run_actor(self) -class ActorMultiProcess(ProcessMixin, Concurrency, Process): - '''Actor on a Operative system process. - Created using the python multiprocessing module. - ''' - def run(self): # pragma nocover - # The coverage for this process has not yet started - run_actor(self) - - def kill(self, sig): - system.kill(self.pid, sig) - - class ActorProcess(ProcessMixin, Concurrency): '''Actor on a Operative system process. ''' @@ -812,8 +800,7 @@ def run_actor(self, actor): 'monitor': MonitorConcurrency, 'coroutine': ActorCoroutine, 'thread': ActorThread, - 'process': ActorProcess, - 'multi': ActorMultiProcess + 'process': ActorProcess }