summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/sslproto.py
diff options
context:
space:
mode:
authorAlois Klink <alois@aloisklink.com>2024-01-14 02:14:51 (GMT)
committerGitHub <noreply@github.com>2024-01-14 02:14:51 (GMT)
commit0d12a64eafd22ed28d0764c9c89f82229a87818c (patch)
treef08f7c686455d3528e91ab0955a58c6f35ac8e37 /Lib/asyncio/sslproto.py
parent41edd371606109e93ce9d73c053109085f740d1b (diff)
downloadcpython-0d12a64eafd22ed28d0764c9c89f82229a87818c.zip
cpython-0d12a64eafd22ed28d0764c9c89f82229a87818c.tar.gz
cpython-0d12a64eafd22ed28d0764c9c89f82229a87818c.tar.bz2
[3.11] gh-95649: Document that asyncio contains uvloop code (GH-107536) (#114045)
Some of the asyncio SSL changes in GH-31275 [1] were taken from v0.16.0 of the uvloop project [2]. In order to comply with the MIT license, we need to just need to document the copyright information. [1]: https://github.com/python/cpython/pull/31275 [2]: https://github.com/MagicStack/uvloop/tree/v0.16.0 (cherry picked from commit dce30c9cbc212e5455e100f35ac6afeb30dfd23e)
Diffstat (limited to 'Lib/asyncio/sslproto.py')
-rw-r--r--Lib/asyncio/sslproto.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
index 1966cd7..4d2cf82 100644
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -1,3 +1,7 @@
+# Contains code from https://github.com/MagicStack/uvloop/tree/v0.16.0
+# SPDX-License-Identifier: PSF-2.0 AND (MIT OR Apache-2.0)
+# SPDX-FileCopyrightText: Copyright (c) 2015-2021 MagicStack Inc. http://magic.io
+
import collections
import enum
import warnings