Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

Commit

Permalink
preparing 1.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Nov 20, 2016
1 parent 13d08f9 commit a9cc662
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 28 deletions.
2 changes: 1 addition & 1 deletion docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -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)
# 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)
Expand Down
12 changes: 1 addition & 11 deletions docs/source/history/1.5.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 more docs in http://pythonhosted.org/pulsar/
15 changes: 15 additions & 0 deletions docs/source/history/1.6.md
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion pulsar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
17 changes: 2 additions & 15 deletions pulsar/async/concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
'''
Expand Down Expand Up @@ -812,8 +800,7 @@ def run_actor(self, actor):
'monitor': MonitorConcurrency,
'coroutine': ActorCoroutine,
'thread': ActorThread,
'process': ActorProcess,
'multi': ActorMultiProcess
'process': ActorProcess
}


Expand Down

0 comments on commit a9cc662

Please sign in to comment.