[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-27 Thread STINNER Victor


STINNER Victor  added the comment:

Ah ok, in this case, everything is fine :-)

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-27 Thread Alexey Izbyshev


Alexey Izbyshev  added the comment:

Victor, but sys.flags docs *do* contain the note[1]:

Changed in version 3.7: Added dev_mode attribute for the new -X dev flag and 
utf8_mode attribute for the new -X utf8 flag.

I've tried to express that in msg324086, but obviously failed.

[1] https://docs.python.org/3/library/sys.html#sys.flags

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-27 Thread STINNER Victor


Change by STINNER Victor :


--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-27 Thread STINNER Victor


STINNER Victor  added the comment:

Yes, it's a note for sys.flags. Can you please add it back to sys.flags?

Sorry, I added the note at the wrong place.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-25 Thread miss-islington


miss-islington  added the comment:


New changeset 42a1ca65d00ba59fe63cc65df0ff297a885e61b8 by Miss Islington (bot) 
in branch '3.7':
closes bpo-34502: Remove a note about utf8_mode from sys.exit() docs. (GH-8928)
https://github.com/python/cpython/commit/42a1ca65d00ba59fe63cc65df0ff297a885e61b8


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-25 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8401

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-25 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset 44838be9f79870ff3c9e04b7398a1dc3d56d53ed by Benjamin Peterson 
(Alexey Izbyshev) in branch 'master':
closes bpo-34502: Remove a note about utf8_mode from sys.exit() docs. (GH-8928)
https://github.com/python/cpython/commit/44838be9f79870ff3c9e04b7398a1dc3d56d53ed


--
nosy: +benjamin.peterson
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-25 Thread Alexey Izbyshev


Change by Alexey Izbyshev :


--
keywords: +patch
pull_requests: +8400
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-25 Thread Alexey Izbyshev


New submission from Alexey Izbyshev :

Docs for sys.exit() contain the following note added in 
https://github.com/python/cpython/blame/1871a4a35123b278443b960255cb14314ce196f6/Doc/library/sys.rst#L336

Changed in version 3.7: Added utf8_mode attribute for the new -X utf8 flag.

Does it belong to the adjacent docs for sys.flags (though they mention 
utf8_mode too)?

--
assignee: docs@python
components: Documentation
messages: 324086
nosy: docs@python, izbyshev, vstinner
priority: normal
severity: normal
status: open
title: Docs of sys.exit() mention utf8_mode for an unclear reason
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com