Skip to content

Commit 1dd135c

Browse files
committed
Add news fragment
1 parent 98c8773 commit 1dd135c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
pattern=r'(Python #|bpo-)(?P<python>\d+)',
5656
url='https://bugs.python.org/issue{python}',
5757
),
58+
dict(
59+
pattern=r'\bpython/cpython#(?P<cpython>\d+)',
60+
url='{GH}/python/cpython/issues/{cpython}',
61+
),
5862
dict(
5963
pattern=r'Interop #(?P<interop>\d+)',
6064
url='{GH}/pypa/interoperability-peps/issues/{interop}',

newsfragments/4265.feature.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Explicitly use ``encoding="locale"`` for ``.pth`` files whenever possible,
2+
to reduce ``EncodingWarnings``.
3+
This avoid errors with UTF-8 (see discussion in python/cpython#77102).

0 commit comments

Comments
 (0)