[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-26 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-26 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset f5e8f71fe339fe5e47c4d24ac2e5177fa3c02922 by Mariatta in branch '2.7': [2.7] bpo-32640: Clarify the behavior of str.join and unicode object (GH-5333)

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-25 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: GH-5333 clarifies that str.join can return a Unicode object if iterable contains a Unicode object, and that it will raise TypeError if there is any non string or non unicode object. --

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-25 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- keywords: +patch pull_requests: +5179 stage: needs patch -> patch review ___ Python tracker

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-25 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Oops. Thanks, I will work on reverting the change later today. -- assignee: docs@python -> Mariatta ___ Python tracker

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: Looks like this happened in PR1898. -- nosy: +Mariatta, csabella stage: -> needs patch ___ Python tracker

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-23 Thread Malcolm Smith
New submission from Malcolm Smith : At some point the Python 3 documentation of str.join has been copied to Python 2. This includes the sentence "A TypeError will be raised if there are any non-string values in iterable, including bytes objects." The second half of