Commit Graph

579 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 1fe78dc5c0 Merge pull request #250 from c-bata/modify-a-code-block-directive
Modify a code block directive in README
2016-05-10 08:55:14 +09:00
liris d5902a76aa git push origin masteMerge branch 'youviewtv-cleanup' 2016-05-10 08:52:42 +09:00
liris f67f2dd4cb erge #249 2016-05-10 08:52:30 +09:00
liris f5dae249d1 Merge pull request #248 from Liamraystanley/patch-1
Exclude port 443 from host http header
2016-05-10 08:46:40 +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
MASASHI Shibata 713a5b8b99 Modify a code block directive in README 2016-04-28 17:46:55 +09: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 f1975aa380 echoapp_client: [PEP 8] Add space before comment 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 d58e5b1490 test_fuzzingclient.py: Indent with spaces 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 e033f2bd0a wsdump: Only catch relevant exceptions 2016-04-27 11:32:46 +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
liris 77921b271f Merge pull request #238 from jlaire/named-logger
Named logger
2016-04-12 08:37:02 +09:00
liris 4b4cedc5ee Merge pull request #243 from anshulguleria/corrects-highlighting
Corrects the syntax highlight code
2016-04-12 08:35:11 +09:00
anshulguleria 0770bb2d15 Corrects the syntax highlight code 2016-03-30 17:38:32 +05:30
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
liris 0065c354c5 Merge pull request #233 from JustAMan/master
Handle more built-in exceptions that are not derived from Exception
2016-02-04 16:23:22 +09:00
liris f482a63b10 Merge pull request #232 from anshulguleria/syntax-highlighting
Adds python syntax highlighting to the python sample code in readme
2016-02-04 16:22:18 +09: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
anshulguleria e99627c4bd Adds python syntax highlighting to the python sample code in readme 2016-01-10 20:19:01 +05:30