From dce30c9cbc212e5455e100f35ac6afeb30dfd23e Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Fri, 12 Jan 2024 22:21:13 +0000 Subject: gh-95649: Document that asyncio contains uvloop code (#107536) 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 --- Lib/asyncio/constants.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Lib/asyncio/constants.py') diff --git a/Lib/asyncio/constants.py b/Lib/asyncio/constants.py index f0ce0433a7a..b60c1e4236a 100644 --- a/Lib/asyncio/constants.py +++ b/Lib/asyncio/constants.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 enum # After the connection is lost, log warnings after this many write()s. -- cgit v1.2.3