Skip to content

Commit ca7ebba

Browse files
committed
Add news fragment
1 parent 7d25de4 commit ca7ebba

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/conf.py

Lines changed: 4 additions & 0 deletions
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.change.rst

Lines changed: 3 additions & 0 deletions
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 :obj:`EncodingWarnings`.
3+
This avoid errors with UTF-8 (see discussion in python/cpython#77102).

0 commit comments

Comments
 (0)