-
Notifications
You must be signed in to change notification settings - Fork 342
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: massive-com/client-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: davidel/client-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 15 commits
- 4 files changed
- 1 contributor
Commits on Mar 22, 2022
-
There should be no need to install the signal handlers to close the connection if the application terminates. If it does, the OS will close all the file handles owned by the terminating process, among which the sockets used by the connection. And upon closure, the TCP stack will properly issue a reset which will be noticed by the remote server. The issue is that, on top of what already underlined in the existing comments (override of user specified signals), setting a signal handler from outside the main thread will result with an error: ``` ER20220322 17:42:45.726997;root;utils: File "/usr/local/lib/python3.8/dist-packages/polygon/websocket/websocket_client.py", line 42, in __init__ ER20220322 17:42:45.726997;root;utils: signal.signal(signal.SIGINT, self._cleanup_signal_handler()) ER20220322 17:42:45.726997;root;utils: File "/usr/lib/python3.8/signal.py", line 47, in signal ER20220322 17:42:45.726997;root;utils: handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler)) ER20220322 17:42:45.726997;root;utils: ValueError: signal only works in main thread ``` This in turn leads to the inability to create a websocket connection from outside the main thread.
Configuration menu - View commit details
-
Copy full SHA for 3b3c7fe - Browse repository at this point
Copy the full SHA 3b3c7feView commit details
Commits on Mar 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5bf7644 - Browse repository at this point
Copy the full SHA 5bf7644View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22056f7 - Browse repository at this point
Copy the full SHA 22056f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cadce08 - Browse repository at this point
Copy the full SHA cadce08View commit details
Commits on Mar 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b3dac31 - Browse repository at this point
Copy the full SHA b3dac31View commit details
Commits on Apr 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 652b8e3 - Browse repository at this point
Copy the full SHA 652b8e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f55d7d - Browse repository at this point
Copy the full SHA 0f55d7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0f3975 - Browse repository at this point
Copy the full SHA a0f3975View commit details
Commits on Apr 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 703493b - Browse repository at this point
Copy the full SHA 703493bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5511df6 - Browse repository at this point
Copy the full SHA 5511df6View commit details
Commits on Mar 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bd79e31 - Browse repository at this point
Copy the full SHA bd79e31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8949748 - Browse repository at this point
Copy the full SHA 8949748View commit details -
Configuration menu - View commit details
-
Copy full SHA for 946c563 - Browse repository at this point
Copy the full SHA 946c563View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f4cca - Browse repository at this point
Copy the full SHA 37f4ccaView commit details
Commits on May 1, 2025
-
Configuration menu - View commit details
-
Copy full SHA for e069359 - Browse repository at this point
Copy the full SHA e069359View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master