diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2023-02-06 12:08:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-06 12:08:42 -0500 |
| commit | 2fe57ea40e9474964fd2bc45bfaabb7cebbdc949 (patch) | |
| tree | f22da72b8ab157511f671b6366e40311df785a91 | |
| parent | 3e9d47e0f631a92cc0251ac212a14cad9570f76b (diff) | |
| parent | 69a832f77d4e5d42cb3c0c86eb7925bc7a4bb373 (diff) | |
| download | python-setuptools-git-2fe57ea40e9474964fd2bc45bfaabb7cebbdc949.tar.gz | |
Merge pull request #198 from hugovk/pep-redirect
Link directly to PEP
| -rw-r--r-- | distutils/command/build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |
