Skip to content

Commit

Permalink
Add news fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Mar 7, 2024
1 parent 98c8773 commit 3bb4bc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Expand Up @@ -55,6 +55,10 @@
pattern=r'(Python #|bpo-)(?P<python>\d+)',
url='https://bugs.python.org/issue{python}',
),
dict(
pattern=r'\bpython/cpython#(?P<cpython>\d+)',
url='{GH}/python/cpython/issues/{cpython}',
),
dict(
pattern=r'Interop #(?P<interop>\d+)',
url='{GH}/pypa/interoperability-peps/issues/{interop}',
Expand Down
3 changes: 3 additions & 0 deletions newsfragments/4265.feature.rst
@@ -0,0 +1,3 @@
Explicitly use ``encoding="locale"`` for ``.pth`` files whenever possible,
to reduce :obj:`EncodingWarnings`.
This avoid errors with UTF-8 (see discussion in python/cpython#77102).

0 comments on commit 3bb4bc1

Please sign in to comment.