Commit 3d713f6
pythongh-114887 Reject only sockets of type SOCK_STREAM in create_datagram_endpoint() (python#114893)
Also improve exception message.
Co-authored-by: Donghee Na <[email protected]>1 parent c7b403a commit 3d713f6
File tree
3 files changed
+5
-3
lines changed- Lib
- asyncio
- test/test_asyncio
- Misc/NEWS.d/next/Core and Builtins
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1340 | 1340 | | |
1341 | 1341 | | |
1342 | 1342 | | |
1343 | | - | |
| 1343 | + | |
1344 | 1344 | | |
1345 | | - | |
| 1345 | + | |
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1232 | 1232 | | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | | - | |
| 1235 | + | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments