##// END OF EJS Templates
Fix for unicode in inputsplitter.
Thomas Kluyver -
Show More
@@ -603,7 +603,9 b' class InputSplitter(object):'
603 603
604 604 If input lines are not newline-terminated, a newline is automatically
605 605 appended."""
606
606 if not isinstance(lines, unicode):
607 lines = lines.decode(self.encoding)
608
607 609 if buffer is None:
608 610 buffer = self._buffer
609 611
General Comments 0
You need to be logged in to leave comments. Login now