Skip to content

Commit

Permalink
Fix typos and update spelling_wordlist (aio-libs#1102)
Browse files Browse the repository at this point in the history
* Fix typos in documentation

* Standardize on American spelling of "canceling"

* Re-sort spelling_wordlist

* Update spelling_wordlist
  • Loading branch information
jwilk authored and asvetlov committed Aug 22, 2016
1 parent b9e138d commit f15d836
Show file tree
Hide file tree
Showing 10 changed files with 169 additions and 30 deletions.
8 changes: 4 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CHANGES

- Switch to multidict 2.0 and title-cased strings #1015

- `{FOO}e` logger format is case-sensetive now
- `{FOO}e` logger format is case-sensitive now

- Fix logger report for unix socket 8e8469b

Expand Down Expand Up @@ -135,7 +135,7 @@ CHANGES

- Allow to pass None as a timeout value to disable timeout logic #834

- Fix leak of connection slot during connection erro #835
- Fix leak of connection slot during connection error #835

- Gunicorn worker with uvloop support `aiohttp.worker.GunicornUVLoopWebWorker` #878

Expand Down Expand Up @@ -191,13 +191,13 @@ CHANGES

- Drop deprecated share_cookies connector option (BACKWARD INCOMPATIBLE)

- Drop deprecated support for tuple as auth paramter.
- Drop deprecated support for tuple as auth parameter.
Use aiohttp.BasicAuth instead (BACKWARD INCOMPATIBLE)

- Remove deprecated `request.payload` property, use `content` instead.
(BACKWARD INCOMPATIBLE)

- Drop all mentions about api changes in documentaion for versions
- Drop all mentions about api changes in documentation for versions
older than 0.16

- Allow to override default cookie jar #963
Expand Down
24 changes: 12 additions & 12 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
0.21.4 (03-12-2016)
-------------------

- Fix ResourceAdapter: dont add method to allowed if resource is not
- Fix ResourceAdapter: don't add method to allowed if resource is not
match #826

- Fix Resouce: append found method to returned allowed methods
- Fix Resource: append found method to returned allowed methods

0.21.2 (02-16-2016)
-------------------
Expand Down Expand Up @@ -160,7 +160,7 @@
- Avoid sending cookie attributes in Cookie header #613

- Round server timeouts to seconds for grouping pending calls. That
leads to less amount of poller syscalls e.g epoll.poll(). #702
leads to less amount of poller syscalls e.g. epoll.poll(). #702

- Close connection on websocket handshake error #703

Expand All @@ -182,7 +182,7 @@

- Memory leak in ParserBuffer #579

- Suppport gunicorn's `max_requests` settings in gunicorn worker
- Support gunicorn's `max_requests` settings in gunicorn worker

- Fix wsgi environment building #573

Expand Down Expand Up @@ -320,7 +320,7 @@

- Implement server signals #562

- Drop an year-old deprecated *files* parameter from client API.
- Drop a year-old deprecated *files* parameter from client API.

- Added `async for` support for aiohttp stream #542

Expand Down Expand Up @@ -352,7 +352,7 @@
0.17.1 (08-10-2015)
---------------------

- Fix multidict comparsion to arbitrary abc.Mapping
- Fix multidict comparison to arbitrary abc.Mapping

0.17.0 (08-04-2015)
---------------------
Expand Down Expand Up @@ -400,7 +400,7 @@
- Ensure multipart.BodyPartReader.read_chunk read all the necessary data
to avoid false assertions about malformed multipart payload

- Dont sent body for 204, 205 and 304 http exceptions #442
- Don't send body for 204, 205 and 304 http exceptions #442

- Correctly skip Cython compilation in MSVC not found #453

Expand Down Expand Up @@ -505,7 +505,7 @@

- Flow control subsystem refactoring

- HTTP server performace optimizations
- HTTP server performance optimizations

- Allow to match any request method with `*`

Expand All @@ -525,7 +525,7 @@
0.15.1 (03-31-2015)
-------------------

- Pass Autobahn Testsuit tests
- Pass Autobahn Testsuite tests

- Fixed websocket fragmentation

Expand Down Expand Up @@ -608,7 +608,7 @@

- multidict.getall() returns `list`, not `tuple`.

- Backward imcompatible change: now there are two mutable multidicts
- Backward incompatible change: now there are two mutable multidicts
(`MultiDict`, `CIMultiDict`) and two immutable multidict proxies
(`MultiDictProxy` and `CIMultiDictProxy`). Previous edition of
multidicts was not a part of public API BTW.
Expand Down Expand Up @@ -639,7 +639,7 @@

- Add `aiohttp.web.StreamResponse.started` property #213

- Html escape traceback text in `ServerHttpProtocol.handle_error`
- HTML escape traceback text in `ServerHttpProtocol.handle_error`

- Mention handler and middlewares in `aiohttp.web.RequestHandler.handle_request`
on error (#218)
Expand Down Expand Up @@ -677,7 +677,7 @@

- Added POST attribute

- Response processing refactoring: constructor does't accept Request
- Response processing refactoring: constructor doesn't accept Request
instance anymore.

- Pass application instance to finish callback
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async/await. If you are using Python 3.4 please replace ``await`` with
async def coro(...):
ret = await f()

shoud be replaced by::
should be replaced by::

@asyncio.coroutine
def coro(...):
Expand Down
2 changes: 1 addition & 1 deletion aiohttp/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def encode(self):


def create_future(loop):
"""Compatiblity wrapper for the loop.create_future() call introduced in
"""Compatibility wrapper for the loop.create_future() call introduced in
3.5.2."""
if hasattr(loop, 'create_future'):
return loop.create_future()
Expand Down
8 changes: 4 additions & 4 deletions aiohttp/multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def readline(self):

@asyncio.coroutine
def release(self):
"""Lke :meth:`read`, but reads all the data to the void.
"""Like :meth:`read`, but reads all the data to the void.
:rtype: None
"""
Expand All @@ -391,7 +391,7 @@ def release(self):

@asyncio.coroutine
def text(self, *, encoding=None):
"""Lke :meth:`read`, but assumes that body part contains text data.
"""Like :meth:`read`, but assumes that body part contains text data.
:param str encoding: Custom text encoding. Overrides specified
in charset param of `Content-Type` header
Expand All @@ -404,7 +404,7 @@ def text(self, *, encoding=None):

@asyncio.coroutine
def json(self, *, encoding=None):
"""Lke :meth:`read`, but assumes that body parts contains JSON data.
"""Like :meth:`read`, but assumes that body parts contains JSON data.
:param str encoding: Custom JSON encoding. Overrides specified
in charset param of `Content-Type` header
Expand All @@ -417,7 +417,7 @@ def json(self, *, encoding=None):

@asyncio.coroutine
def form(self, *, encoding=None):
"""Lke :meth:`read`, but assumes that body parts contains form
"""Like :meth:`read`, but assumes that body parts contains form
urlencoded data.
:param str encoding: Custom form encoding. Overrides specified
Expand Down
6 changes: 3 additions & 3 deletions aiohttp/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def request(self, method, path, *args, **kwargs):
"""Routes a request to the http server.
The interface is identical to asyncio.ClientSession.request,
except the loop kwarg is overriden by the instance used by the
except the loop kwarg is overridden by the instance used by the
application.
"""
Expand Down Expand Up @@ -193,7 +193,7 @@ class AioHTTPTestCase(unittest.TestCase):

def get_app(self, loop):
"""
This method should be overriden
This method should be overridden
to return the aiohttp.web.Application
object to test.
Expand Down Expand Up @@ -313,7 +313,7 @@ def make_mocked_request(method, path, headers=None, *,
:param version: namedtuple with encoded HTTP version
:type version: aiohttp.protocol.HttpVersion
:param closing: flag idicates that connection should be closed after
:param closing: flag indicates that connection should be closed after
response.
:type closing: bool
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ WebSocket utilities
.. attribute:: SERVICE_RESTART

The service is restarted. a client may reconnect, and if it
choses to do, should reconnect using a randomized delay of 5-30s.
chooses to do, should reconnect using a randomized delay of 5-30s.

.. attribute:: TRY_AGAIN_LATER

Expand Down
2 changes: 1 addition & 1 deletion docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ BaseConnector

``limit`` changed from unlimited (``None``) to 20.
Expect a max of up to 20 connections to the same endpoint,
if it is not especified.
if it is not specified.
For limitless connections, pass `None` explicitly.

.. attribute:: closed
Expand Down
Loading

0 comments on commit f15d836

Please sign in to comment.