[issue36416] bytes.rpartition bug in online documentation

2019-04-11 Thread Inada Naoki


Change by Inada Naoki :


--
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



[issue36416] bytes.rpartition bug in online documentation

2019-04-11 Thread miss-islington


miss-islington  added the comment:


New changeset 04b114eede82c7ffd7b3d9b40e8bf707780b022b by Miss Islington (bot) 
in branch '3.7':
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
https://github.com/python/cpython/commit/04b114eede82c7ffd7b3d9b40e8bf707780b022b


--
nosy: +miss-islington

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-04-11 Thread miss-islington


Change by miss-islington :


--
pull_requests: +12708

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-04-10 Thread Inada Naoki


Inada Naoki  added the comment:


New changeset efc48701496ef020e896fc6a91af3c0c612ac69a by Inada Naoki 
(pewscorner) in branch 'master':
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
https://github.com/python/cpython/commit/efc48701496ef020e896fc6a91af3c0c612ac69a


--
nosy: +inada.naoki

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-03-25 Thread PEW's Corner


Change by PEW's Corner :


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

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-03-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

You can find more information about the process at https://devguide.python.org/

--

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-03-24 Thread PEW's Corner


PEW's Corner  added the comment:

OK, I can give it a try. I need to read up on the procedures for doing so, 
first, though, so it may take a while.

--

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-03-24 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +easy

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-03-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Thanks for the report. Would you like to create a PR for this?

The test for this behavior is at 
https://github.com/python/cpython/blob/3d07c1ee1d2d475b74816117981d6ec752c26c23/Lib/test/test_bytes.py#L655
Doc file to be changed : 
https://github.com/python/cpython/blob/master/Doc/library/stdtypes.rst

--
nosy: +xtreak
versions: +Python 3.8

___
Python tracker 

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



[issue36416] bytes.rpartition bug in online documentation

2019-03-24 Thread PEW's Corner


New submission from PEW's Corner :

The online Python 3 documentation for bytes.rpartition and bytearray.rpartition 
(https://docs.python.org/3/library/stdtypes.html#bytes.rpartition) incorrectly 
states:

"If the separator is not found, return a 3-tuple containing a copy of the 
original sequence, followed by two empty bytes or bytearray objects."

This seems to have been copied without modification from bytes.partition where 
the statement is correct. The statement for rpartition should be:

"If the separator is not found, return a 3-tuple containing two empty bytes or 
bytearray objects, followed by a copy of the original sequence."

--
assignee: docs@python
components: Documentation
messages: 338734
nosy: docs@python, pewscorner
priority: normal
severity: normal
status: open
title: bytes.rpartition bug in online documentation
type: behavior
versions: Python 3.7

___
Python tracker 

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