Files
sphinx/doc
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
..
2018-06-19 23:39:23 +09:00
2014-09-21 20:23:24 +02:00
2014-09-19 13:18:29 +02:00
2018-11-16 15:23:33 +01:00
2008-06-23 12:35:22 +00:00
2018-11-16 15:23:33 +01:00
2018-06-17 15:24:23 +09:00
2018-06-21 15:11:35 +01:00