251 Commits

Author SHA1 Message Date
liris
e5fdf244e3 fixed #253 2016-05-10 09:00:21 +09:00
liris
e24ea6f066 add document 2016-05-10 08:57:38 +09:00
liris
f67f2dd4cb erge #249 2016-05-10 08:52:30 +09:00
Allan Lewis
01b88d38da fixup! websocket.*: [PEP 8] Use conventional line-length limit 2016-04-28 13:58:54 +01:00
Allan Lewis
88805d0425 fixup! wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise imports 2016-04-28 11:37:41 +01:00
Allan Lewis
525fcfc0fb wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise imports
Previously, because of the multiple instances of `from foo import *`, names were
imported from modules that had themselves imported them, instead of from the
place of definition. This commit therefore does the following:

- Declares `__all__` in every module that imports anything, so that
`from foo import *` is sane.
- Sorts the imports based on conventions, similar to the output of `isort`.
- Places all conditional imports after unconditional imports, except where that
isn't valid.
- Imports local names from the modules where they are defined, except when
importing the package itself.
2016-04-27 15:00:56 +01:00
Allan Lewis
9f138c94e7 websocket.*: [PEP 8] Use conventional line-length limit
Line length is set to 80 characters; tests are excluded.
2016-04-27 13:56:11 +01:00
Allan Lewis
c5afde8d77 wsdump, websocket.*: [PEP 8] Use conventional vertical spacing 2016-04-27 13:56:11 +01:00
Allan Lewis
953d469280 wsdump, examples, setup, _abnf, _http, _utils: [PEP 8] Fix spacing 2016-04-27 13:56:11 +01:00
Allan Lewis
9ebe59b5d7 _abnf, _app, _http, _url: [PEP 8] Fix indents 2016-04-27 13:56:11 +01:00
Allan Lewis
a9cfa61dc3 _core, test_websocket: Remove unused locals 2016-04-27 13:56:11 +01:00
Allan Lewis
3b757ac3e2 ChangeLog, _abnf, _logging: Corect typos 2016-04-27 11:51:34 +01:00
Allan Lewis
c47b0af0ae _core, _handshake: Remove unused imports 2016-04-27 11:42:44 +01:00
Allan Lewis
6d3c23e5da test_websocket: Remove unnecessary backslashes 2016-04-27 11:38:07 +01:00
Allan Lewis
3b73be8736 _utils: Remove unnecessary trailing semicolon 2016-04-27 11:33:52 +01:00
Allan Lewis
75bfea0833 _core.WebSocket.shutdown: Triple-quote docstring 2016-04-27 11:33:24 +01:00
Allan Lewis
32728cb8d1 _utils.NoLock.__exit__: Use standard parameter names
In any case, `type` is a builtin.
2016-04-27 11:29:55 +01:00
Allan Lewis
17cfffbff1 _abnf, _socket: Don't override builtins 2016-04-27 11:28:41 +01:00
Allan Lewis
669096e874 wsdump, _core, _url, _utils: Remove redundant parentheses 2016-04-27 11:25:59 +01:00
Allan Lewis
f0f3cc129b _abnf.ABNF._is_valid_close_status: Make method static 2016-04-27 11:22:53 +01:00
Allan Lewis
a49a3c22df _handshake._get_handshake_headers: Use list literal 2016-04-27 11:21:48 +01:00
Allan Lewis
3f9e8bf9fb _app: Don't use mutable default argument value 2016-04-27 11:19:41 +01:00
Allan Lewis
2e0067117d wsdump, _abnf, _http: Compare to None using in 2016-04-27 11:19:33 +01:00
Allan Lewis
4875da67a0 test_websocket: [Cleanup] Remove unused imports 2016-04-27 11:14:29 +01:00
Allan Lewis
e8cc458f9d test_websocket: [Cleanup] Correct typo 2016-04-27 11:14:22 +01:00
Liam Stanley
3e1eebf95d Exclude port 443 from host http header 2016-04-27 04:16:36 -04:00
liris
3ca245de52 fixed #246 2016-04-14 09:27:13 +09:00
liris
fa97b1727f fixed #242 2016-04-12 09:00:35 +09:00
liris
f015008f90 update document and version no. 2016-04-12 08:46:32 +09:00
liris
9473bd6e12 Merge pull request #241 from mkonecny/master
implement ping/pong timeout
2016-04-12 08:42:50 +09:00
liris
109991b5c3 Merge pull request #235 from mpnowacki/master
added support for using custom connection class
2016-04-12 08:39:30 +09:00
Martin Konecny
a2e215f363 implement ping/pong timeout 2016-03-21 18:18:42 -04:00
Johannes Laire
33b653bb85 Use 'websocket' as logger name 2016-02-19 16:54:35 +01:00
Johannes Laire
d26bee79f4 Fix typos in docstring 2016-02-19 16:54:20 +01:00
michal.nowacki
aee731426c added support for using custom connection class 2016-02-10 11:56:53 +01:00
Vasily
1b9bd39492 Propagate SystemExit exception further 2016-01-18 17:11:07 +03:00
Vasily
03428bcf38 Handle more built-in exceptions that are not derived from Exception in WebSocketApp.run_forever() 2016-01-15 16:58:40 +03:00
liris
b614606b35 fixed #227 2016-01-04 17:04:42 +09:00
liris
78ce8024a6 Merge branch 'init-with-socket' of https://github.com/ilysym/websocket-client into ilysym-init-with-socket 2016-01-04 15:18:39 +09:00
liris
d424405039 Merge branch 'fix-nonstring-exception-message-bug' of https://github.com/CptPicard/websocket-client into CptPicard-fix-nonstring-exception-message-bug 2016-01-04 15:16:55 +09:00
liris
d7ba7024c7 Merge branch 'fix_argspec' of https://github.com/oklahomer/websocket-client into oklahomer-fix_argspec 2016-01-04 15:15:20 +09:00
liris
558a8f0ccf Merge branch 'master' of https://github.com/liris/websocket-client 2016-01-04 15:13:49 +09:00
liris
065f4f4148 new version 2016-01-04 15:13:26 +09:00
Jakub Wilk
645e9322d4 fix typos 2016-01-03 20:39:45 +01:00
Ilya Semyonov
e49eceac91 Use pre-initialized stream socket
Allow creating WebSocket connection on existing stream socket
instance (either TCP or SSL).
2015-12-08 17:22:55 +03:00
Eero Nevalainen
53a6d33628 Not all exception messages are actually strings. For example SSLException seems to return just an integer error code from extract_err_message. 2015-12-03 16:31:45 +02:00
Oklahomer
37c4732817 use inspect.getfullargspec with Python 3.x 2015-11-08 10:48:52 +09:00
liris
4d5bc1e4e3 fixed #215 2015-10-28 09:16:39 +09:00
liris
8a739079f3 fixed #203 2015-10-28 09:03:57 +09:00
liris
249df66954 start v0.34 2015-10-28 08:51:29 +09:00