From 69a832f77d4e5d42cb3c0c86eb7925bc7a4bb373 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 16 Jan 2023 14:04:32 +0200 Subject: Link directly to PEPs --- distutils/command/build_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distutils/command/build_ext.py b/distutils/command/build_ext.py index f4c0eccd..68d1698c 100644 --- a/distutils/command/build_ext.py +++ b/distutils/command/build_ext.py @@ -721,7 +721,7 @@ class build_ext(Command): name = ext.name.split('.')[-1] try: # Unicode module name support as defined in PEP-489 - # https://www.python.org/dev/peps/pep-0489/#export-hook-name + # https://peps.python.org/pep-0489/#export-hook-name name.encode('ascii') except UnicodeEncodeError: suffix = 'U_' + name.encode('punycode').replace(b'-', b'_').decode('ascii') -- cgit v1.2.1