Matt Martz
81bba6070c
Add support for py38 without deprecation warnings ( #585 )
...
* Add support for py38 without deprecation warnings
* Address Py2.5 issue
* Add py3.7 and 3.8
* xenial
* pypy trusty
5 years ago
Matt Martz
cdf6002865
Bump to 2.1.1
5 years ago
Matt Martz
9af203652b
Python2.4/2.5 SSL support
5 years ago
Matt Martz
2d5a9ef364
Switch copyright from range, to date started
5 years ago
Matt Martz
fb0569946d
Bump to 2.1.0 for upcoming release
5 years ago
Matt Martz
f356c7b02d
ensure ERROR doesn't print an empty string
5 years ago
Matt Martz
6cf43b2ff7
linting fix
5 years ago
Matt Martz
217ce8eff1
ssl.wrap_socket doesn't support server_hostname. See #572
5 years ago
Matt Martz
b43334f1ec
Switch from platform.system to platform.platform. Fixes #574
5 years ago
Matt Martz
b0b826c870
Add the python version to the version output
5 years ago
Matt Martz
9ac1091eae
Add debug support to show if a URL request resulted in a redirect
5 years ago
Matt Martz
ca2250f700
Add functionality for single threaded testing. Fixes #571
5 years ago
Matt Martz
72bf53affa
Fix linting error
5 years ago
liuxu
a8a3265001
Fix python3 upload problem
...
In python3, if Content-length is not set,urllib.request.AbstractHTTPHandler::do_request_() will use "Transfer-encoding:chunked", which will cause HTTPUploader not to exit until timeout
5 years ago
Alex Ward
b2654de410
Automatically resolve .best property ( #514 )
...
* automatically call get_best_server
* add back SpeedtestBestServerFailer exception
5 years ago
Matt Martz
72ed585c6f
Bump to v2.0.2
6 years ago
Matt Martz
41e599f9c3
Ensure we are utilizing the context created by HTTPSConnection, or falling back to ssl. Fixes #517
6 years ago
Matt Martz
c7530bb143
Bump to 2.0.1 for release
6 years ago
Matt Martz
9e185e8f88
Properly handle older HTTPSConnection. Fixes #513
6 years ago
Matt Martz
9c2977acfc
Gracefully handle XML parsing errors. Fixes #490 #491
6 years ago
Matt Martz
f8aa20ecdf
Move results.share() to ensure csv and json have access to it. Fixes #483
6 years ago
Matt Martz
8ff923b0fb
Bump to 2.0.1a
6 years ago
Matt Martz
35c3ee20ed
Exit with nicer error if lat/lon is not valid
6 years ago
Matt Martz
831c079113
Bump for release
6 years ago
Matt Martz
2c847a1849
Add some guard code for places where sys.stdout and stderr are replaced with some other incompatible object
6 years ago
Matt Martz
e1bab1ab55
Only add terminal colors with DEBUG if stdout is a tty
6 years ago
Matt Martz
48a3d33ae4
Bump to beta
6 years ago
Matt Martz
c16ffd4ae7
Catch OSError and EOFError while reading from gzip stream
6 years ago
Matt Martz
9848481d06
Use the printer everywhere, leaving print_ to only be used within printer
6 years ago
Matt Martz
4737a69f10
Add a few additional tests, specifically around --source
6 years ago
Matt Martz
6381ba3742
Eliminate SHUTDOWN_EVENT global
6 years ago
Matt Martz
fa2e15ee08
Skipping test should be quiet
6 years ago
Matt Martz
eab354603f
Don't display ERROR: 2 when argparse exits with non-0
6 years ago
Matt Martz
f70cc86222
No bare except
6 years ago
Matt Martz
5c061da8e0
Move the majority of the csv_header functionality to SpeedtestResults
6 years ago
Matt Martz
b27f69d1ad
Output a different message when only 1 server is provided
6 years ago
Matt Martz
5a9f82a20a
Add additional information to machine parsable outputs
6 years ago
Matt Martz
3cb44f5630
Attempt to catch MemoryError if possible
6 years ago
Matt Martz
16054cc3bc
Print errors to stderr
6 years ago
Matt Martz
d9642b2047
Always flush in py2 print_
6 years ago
Matt Martz
f3a607feb2
Allow timeout to be a float
6 years ago
Matt Martz
6bfa5922c3
Add option to exclude servers, and allow --server and --exclude to be specified multiple times
6 years ago
Matt Martz
ca72d40033
Create a getter for Speedtest.best to raise an exception is get_best_server has not found a best server
6 years ago
Matt Martz
8854d82049
More and better debugging
6 years ago
Matt Martz
2fe34ecf4e
Remove debug print
6 years ago
Matt Martz
0e585cbf64
Docstrings and version bump
6 years ago
Matt Martz
2fe369fdf8
Remove SCHEME global
6 years ago
Matt Martz
b33c7533df
flake8 fixes
6 years ago
Matt Martz
fe864f6dce
Use vendored create_connection when socket doesn't have it, or socket.create_connection is too old
6 years ago
Matt Martz
10b3b09f02
Don't override socket.socket for binding, eliminiate globals SOURCE and USER_AGENT
6 years ago