-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -277,23 +277,23 @@ https://mail.python.org/archives/list/[email protected]/thread/SFYUP2TWD5JZ5 | |
|
||
* Why not implement this in linters? | ||
|
||
* ``encoding="locale"`` and ``io.text_encoding()`` must be in | ||
Python. | ||
* ``encoding="locale"`` and ``io.text_encoding()`` must be in | ||
Python. | ||
|
||
* It is difficult to find all caller of functions wrapping | ||
``open()`` or ``TextIOWrapper()``. (See ``io.text_encoding()`` | ||
section.) | ||
* It is difficult to find all caller of functions wrapping | ||
``open()`` or ``TextIOWrapper()``. (See ``io.text_encoding()`` | ||
section.) | ||
|
||
* Many developers will not use the option. | ||
|
||
* Some developers use the option and report the warnings to | ||
libraries they use. So the option is worth enough even though | ||
many developers won't use it. | ||
* Some developers use the option and report the warnings to | ||
libraries they use. So the option is worth enough even though | ||
many developers won't use it. | ||
|
||
* For example, I find [7]_ and [8]_ by running | ||
``pip install -U pip`` and find [9]_ by running ``tox`` | ||
with the reference implementation. It demonstrates how this | ||
option can be used to find potential issues. | ||
* For example, I find [7]_ and [8]_ by running | ||
``pip install -U pip`` and find [9]_ by running ``tox`` | ||
with the reference implementation. It demonstrates how this | ||
option can be used to find potential issues. | ||
|
||
|
||
References | ||
|