PEP 597: Fix rest format. (#1858)
This commit is contained in:
parent
5a4ada6b84
commit
b95c727b3e
24
pep-0597.rst
24
pep-0597.rst
|
@ -277,23 +277,23 @@ https://mail.python.org/archives/list/python-dev@python.org/thread/SFYUP2TWD5JZ5
|
||||||
|
|
||||||
* Why not implement this in linters?
|
* Why not implement this in linters?
|
||||||
|
|
||||||
* ``encoding="locale"`` and ``io.text_encoding()`` must be in
|
* ``encoding="locale"`` and ``io.text_encoding()`` must be in
|
||||||
Python.
|
Python.
|
||||||
|
|
||||||
* It is difficult to find all caller of functions wrapping
|
* It is difficult to find all caller of functions wrapping
|
||||||
``open()`` or ``TextIOWrapper()``. (See ``io.text_encoding()``
|
``open()`` or ``TextIOWrapper()``. (See ``io.text_encoding()``
|
||||||
section.)
|
section.)
|
||||||
|
|
||||||
* Many developers will not use the option.
|
* Many developers will not use the option.
|
||||||
|
|
||||||
* Some developers use the option and report the warnings to
|
* Some developers use the option and report the warnings to
|
||||||
libraries they use. So the option is worth enough even though
|
libraries they use. So the option is worth enough even though
|
||||||
many developers won't use it.
|
many developers won't use it.
|
||||||
|
|
||||||
* For example, I find [7]_ and [8]_ by running
|
* For example, I find [7]_ and [8]_ by running
|
||||||
``pip install -U pip`` and find [9]_ by running ``tox``
|
``pip install -U pip`` and find [9]_ by running ``tox``
|
||||||
with the reference implementation. It demonstrates how this
|
with the reference implementation. It demonstrates how this
|
||||||
option can be used to find potential issues.
|
option can be used to find potential issues.
|
||||||
|
|
||||||
|
|
||||||
References
|
References
|
||||||
|
|
Loading…
Reference in New Issue