Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
26b9a7f
Rework socket
srittau May 28, 2021
2e82ac0
Rework socket
srittau May 28, 2021
eb50b67
Add _socket to VERSIONS
srittau May 28, 2021
7428200
Fix dup() annotation
srittau May 28, 2021
a5af2c5
Use WriteableBuffer instead of socket._WriteBuffer
srittau May 28, 2021
9062aa0
Re-export _Address and _RetAddress
srittau May 28, 2021
f703018
#type ignore redefinitions from _socket
srittau May 28, 2021
5565e57
#type ignore redefinitions from _socket
srittau May 28, 2021
f32dc39
Fix # type: ignores
srittau May 28, 2021
43031cb
Remove mypy_test_suite (#5543)
srittau May 28, 2021
53c808e
Add missing type: ignores
srittau May 28, 2021
ac72049
Fix BaseServer sub-classes (previously masked by SocketType = Any)
srittau May 28, 2021
0e1954d
tuple -> Tuple in type alias
srittau May 28, 2021
c63eb09
Ignore _socket in stubtest for now
srittau May 28, 2021
3678092
Use socket.socket, not socket.SocketType
srittau May 28, 2021
84a34f1
Fix socket types
srittau May 28, 2021
6452c02
stubtest fixes
srittau May 28, 2021
df4e2ec
Fix another aliasing issue
srittau May 28, 2021
3786900
Reformat
srittau May 28, 2021
1e8ef1e
Fix regexp
srittau May 28, 2021
39e48d5
Fix
srittau May 28, 2021
ecca6a1
Fix SocketIO.write()
srittau May 28, 2021
55ed735
Add missing import
srittau May 28, 2021
cdf2a67
Don't use star import for _socket
srittau May 28, 2021
e1ef0ad
Fix imports
srittau May 28, 2021
8aed956
Work around flake8 hiccups
srittau May 28, 2021
90a5f87
Import fix
srittau May 28, 2021
094eb24
Improve _socket exceptions
srittau May 29, 2021
10376f7
Move socket.socket.close() to _socket.socket
srittau May 29, 2021
3ad04df
Mark positional-only arguments
srittau May 29, 2021
4cec051
Move socket.socket.detach() to _socket.socket
srittau May 29, 2021
6f23d3b
Add alias for fileno arguments
srittau May 29, 2021
5312df7
getaddrinfo() port can be bytes
srittau May 29, 2021
5e5ee51
Remove unneeded stubtest whitelist entries
srittau May 29, 2021
46ab647
Explicitly override some SSLSocket methods
srittau May 29, 2021
c234df8
Document why we don't star import
srittau May 29, 2021
ccaf7a6
Allow ReadableBuffer in _CMSG arguments
srittau May 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ jobs:
- run: pip install -U git+git://github.com/python/mypy
- run: ./tests/mypy_test.py --platform=${{ matrix.platform }}

mypy-test-suite:
name: Run the mypy test suite
# Ubuntu 20.04 doesn't have the Python 2 venv module.
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: ./tests/mypy_test_suite.py

pyright:
name: Run pyright against the stubs
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions stdlib/VERSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ _py_abc: 3.7-
_pydecimal: 3.6-
_random: 2.7-
_sitebuiltins: 3.6-
_socket: 3.0- # present in 2.7 at runtime, but not in typeshed
_stat: 3.6-
_thread: 2.7-
_threading_local: 3.6-
Expand Down
Loading