[Python-checkins] cpython (3.3): Issue #19728: Fix sys.getfilesystemencoding() documentation
Nick Coghlan
ncoghlan at gmail.com
Mon Dec 2 13:18:10 CET 2013
On 2 Dec 2013 21:18, "victor.stinner" <python-checkins at python.org> wrote:
>
> http://hg.python.org/cpython/rev/b231e0c3fd26
> changeset: 87692:b231e0c3fd26
> branch: 3.3
> parent: 87690:7d3297f127ae
> user: Victor Stinner <victor.stinner at gmail.com>
> date: Mon Dec 02 12:16:46 2013 +0100
> summary:
> Issue #19728: Fix sys.getfilesystemencoding() documentation
This doesn't appear to be the right issue number (ironically, this number
refers to the PEP 453 Windows installer one I was trying to reference when
I got a commit message wrong the other day and ended up referencing an
asyncio bug instead).
Cheers,
Nick.
>
> files:
> Doc/library/sys.rst | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>
>
> diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
> --- a/Doc/library/sys.rst
> +++ b/Doc/library/sys.rst
> @@ -409,7 +409,7 @@
> * On Mac OS X, the encoding is ``'utf-8'``.
>
> * On Unix, the encoding is the user's preference according to the
result of
> - nl_langinfo(CODESET), or ``'utf-8'`` if ``nl_langinfo(CODESET)``
failed.
> + nl_langinfo(CODESET).
>
> * On Windows NT+, file names are Unicode natively, so no conversion is
> performed. :func:`getfilesystemencoding` still returns ``'mbcs'``,
as
> @@ -420,8 +420,7 @@
> * On Windows 9x, the encoding is ``'mbcs'``.
>
> .. versionchanged:: 3.2
> - On Unix, use ``'utf-8'`` instead of ``None`` if
``nl_langinfo(CODESET)``
> - failed. :func:`getfilesystemencoding` result cannot be ``None``.
> + :func:`getfilesystemencoding` result cannot be ``None`` anymore.
>
>
> .. function:: getrefcount(object)
>
> --
> Repository URL: http://hg.python.org/cpython
>
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> https://mail.python.org/mailman/listinfo/python-checkins
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-checkins/attachments/20131202/a75dc2c6/attachment.html>
More information about the Python-checkins
mailing list