Skip to content

Conversation

@Carreau
Copy link
Member

@Carreau Carreau commented Jun 14, 2021

Closes #682

Remove the piece of logic that handle not isinstance(str) it is a
leftover from Python 2, in pure Python, sys.stdout.write only accepts
str, therefore we have no reason not to do the same.

Closes ipython#682

Remove the piece of logic that handle `not isinstance(str)` it is a
leftover from Python 2, in pure Python, sys.stdout.write only accepts
str, therefore we have no reason not to do the same.
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@blink1073 blink1073 added this to the 6.0 milestone Jun 14, 2021
@blink1073 blink1073 added the bug label Jun 14, 2021
@blink1073 blink1073 merged commit 42e691b into ipython:master Jun 14, 2021
@Carreau
Copy link
Member Author

Carreau commented Jun 15, 2021

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ipykernel.iostream.OutStream.write() fails to return the number of characters written

2 participants