Skip to content

Commit 836d95d

Browse files
authored
Merge pull request #79 from buhman/master
docs/api: add missing word
2 parents 29baa21 + a89b170 commit 836d95d

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
language: python
2+
dist: xenial
23
python:
34
# To see supported options, run:
45
# s3cmd ls s3://travis-python-archives/binaries/ubuntu/16.04/x86_64/
56
# We put pypy first, b/c for tests they're the slowest
6-
- pypy2.7-5.10.0
7-
- pypy3.5-5.10.1
7+
- pypy2.7-6.0
8+
- pypy3.5-6.0
89
- 2.7
9-
- 3.3 # probably irrelevant but so far supporting it has been free
1010
- 3.4
1111
- 3.5
1212
- 3.6
13-
- 3.7-dev
14-
sudo: false
13+
- 3.7
14+
- 3.8-dev
1515

1616
before_install:
17-
- pip install -r test-requirements.txt
17+
- pip install -U pip setuptools wheel
18+
- pip install -Ur test-requirements.txt
1819
- pip install codecov
1920

2021
script:
21-
- py.test --cov=h11 --cov-config=.coveragerc h11
22+
- pytest --cov=h11 --cov-config=.coveragerc h11
2223

2324
after_success:
2425
- codecov

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ library.
112112
It has a test suite with 100.0% coverage for both statements and
113113
branches.
114114

115-
Currently it supports Python 3 (testing on 3.3-3.6), Python 2.7, and PyPy.
115+
Currently it supports Python 3 (testing on 3.4-3.7), Python 2.7, and PyPy.
116116
(Originally it had a Cython wrapper for `http-parser
117117
<https://github.com/nodejs/http-parser>`_ and a beautiful nested state
118118
machine implemented with ``yield from`` to postprocess the output. But

bench/benchmarks/benchmarks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def time_server_basic_get_with_realistic_headers():
4545
def _run_basic_get_repeatedly():
4646
from timeit import default_timer
4747
REPEAT = 10000
48-
while True:
48+
#while True:
49+
for _ in range(7):
4950
start = default_timer()
5051
for _ in range(REPEAT):
5152
time_server_basic_get_with_realistic_headers()

docs/source/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ response.
652652

653653
As a server, h11 provides the minimal support for pipelining required
654654
to comply with the HTTP/1.1 standard: if the client sends multiple
655-
pipelined requests, then we the first request until we reach the
655+
pipelined requests, then we handle the first request until we reach the
656656
:data:`DONE` state, and then :meth:`~Connection.next_event` will
657657
pause and refuse to parse any more events until the response is
658658
completed and :meth:`~Connection.start_next_cycle` is called. See the

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ whatever. But h11 makes it much easier to implement something like
4444
Vital statistics
4545
----------------
4646

47-
* Requirements: Python 2.7 or Python 3.3+ (PyPy works great)
47+
* Requirements: Python 2.7 or Python 3.4+ (PyPy works great)
4848

4949
* Install: ``pip install h11``
5050

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
"Programming Language :: Python :: 2",
2727
"Programming Language :: Python :: 2.7",
2828
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.3",
3029
"Programming Language :: Python :: 3.4",
3130
"Programming Language :: Python :: 3.5",
31+
"Programming Language :: Python :: 3.6",
32+
"Programming Language :: Python :: 3.7",
3233
"Topic :: Internet :: WWW/HTTP",
3334
"Topic :: System :: Networking",
3435
],

0 commit comments

Comments
 (0)