sphinx/doc/extdev
Jon Dufresne 43ff640b58 Deprecate quickstart.term_decode() and remove internal uses
Per the Python 3 docs, input() always returns a string:

https://docs.python.org/3/library/functions.html#input

> The function then reads a line from input, converts it to a
> string (stripping a trailing newline), and returns that.

The stubs from typeshed say the same:

5c69373890/stdlib/3/builtins.pyi (L835)

Here is the implementation from CPython with also shows a call to
PyUnicode_Decode on the result:

https://github.com/python/cpython/blob/3.7/Python/bltinmodule.c#L1960-L2143

As the value is always a string, there is nothing to decode. Therefore
the call to term_decode() unnecessary and can safely be removed.

With this in mind, must adjust quickstart tests to be more
representative.
2018-12-17 06:44:17 -08:00
..
appapi.rst Add sphinx.project; a manipulator for project and documents 2018-10-16 10:34:58 +09:00
builderapi.rst docs: Add description for attributes of Builder (refs: #4402) 2018-01-29 22:41:06 +09:00
collectorapi.rst Update docs for collectors API 2017-01-28 20:44:40 +09:00
domainapi.rst Doc: move API docs in their own chapter and add more of it. 2014-01-20 17:21:44 +01:00
envapi.rst Add sphinx.project; a manipulator for project and documents 2018-10-16 10:34:58 +09:00
i18n.rst Update docs 2018-02-25 23:44:38 +09:00
index.rst Deprecate quickstart.term_decode() and remove internal uses 2018-12-17 06:44:17 -08:00
logging.rst logging: Add prefixed_warnings() helper 2018-10-17 11:21:22 +09:00
markupapi.rst Fix typo 2017-12-20 00:11:28 +09:00
nodes.rst Drop deprecated termsep node 2017-01-05 13:44:04 +09:00
parserapi.rst DOC: Fix typo: add_source_parsers() -> add_source_parser() 2018-07-17 10:00:05 +02:00
projectapi.rst Add sphinx.project; a manipulator for project and documents 2018-10-16 10:34:58 +09:00
tutorial.rst Update docs 2017-03-10 16:43:27 +09:00
utils.rst doc: Add ImageConverter to utils 2018-04-21 11:21:27 +09:00