Lines Matching refs:TextIOWrapper
452 return self.TextIOWrapper(UnseekableReader(), "ascii")
458 return self.TextIOWrapper(UnseekableWriter(), "ascii")
2512 t = self.TextIOWrapper(b)
2524 t = self.TextIOWrapper.__new__(self.TextIOWrapper)
2526 t = self.TextIOWrapper.__new__(self.TextIOWrapper)
2541 self.TextIOWrapper(b, encoding="hex")
2546 t = self.TextIOWrapper(b)
2549 t = self.TextIOWrapper(b, encoding="ascii")
2566 t = self.TextIOWrapper(b, encoding="utf-8")
2567 modname = self.TextIOWrapper.__module__
2586 t = self.TextIOWrapper(raw)
2596 t = self.TextIOWrapper(b, newline="\n", line_buffering=True)
2607 t = self.TextIOWrapper(b, newline="\n", line_buffering=False)
2644 t = self.TextIOWrapper(b)
2657 self.assertRaises(OverflowError, self.TextIOWrapper, b)
2659 self.assertRaises(OverflowError, self.TextIOWrapper, b)
2664 t = self.TextIOWrapper(b, encoding="utf-8")
2666 t = self.TextIOWrapper(b)
2673 t = self.TextIOWrapper(b, encoding="ascii")
2677 t = self.TextIOWrapper(b, encoding="ascii", errors="strict")
2681 t = self.TextIOWrapper(b, encoding="ascii", errors="ignore")
2685 t = self.TextIOWrapper(b, encoding="ascii", errors="replace")
2691 t = self.TextIOWrapper(b, encoding="ascii")
2695 t = self.TextIOWrapper(b, encoding="ascii", errors="strict")
2699 t = self.TextIOWrapper(b, encoding="ascii", errors="ignore",
2706 t = self.TextIOWrapper(b, encoding="ascii", errors="replace",
2737 textio = self.TextIOWrapper(bufio, newline=newline,
2765 txt = self.TextIOWrapper(buf, encoding="ascii", newline=newline)
2780 txt = self.TextIOWrapper(buf, encoding="ascii", newline=newline)
2796 t = self.TextIOWrapper(b, encoding="ascii")
2804 class MyTextIO(self.TextIOWrapper):
2830 self.TextIOWrapper(rawio).xyzzy
2998 f = self.TextIOWrapper(buf, encoding=encoding)
3012 txt = self.TextIOWrapper(UnReadable())
3016 txt = self.TextIOWrapper(self.BytesIO(b"AA\r\nBB"))
3026 txt = self.TextIOWrapper(self.BytesIO(b"AA\nBB\nCC"))
3036 txt = self.TextIOWrapper(self.BytesIO(b"A" * 127 + b"\r\nB"))
3048 txt = self.TextIOWrapper(buf)
3056 txt = self.TextIOWrapper(buf)
3062 txt = self.TextIOWrapper(self.BytesIO())
3068 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3080 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3092 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3103 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3111 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3122 txt = self.TextIOWrapper(buffer, encoding="ascii")
3196 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3217 txt = self.TextIOWrapper(buffer, encoding="ascii")
3234 txt = self.TextIOWrapper(buffer, encoding="ascii")
3244 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3251 txt = self.TextIOWrapper(self.MockUnseekableIO(self.testdata))
3256 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3266 txt = self.TextIOWrapper(raw, encoding='ascii', newline='\n')
3275 txt = self.TextIOWrapper(raw, encoding='ascii', newline='\n',
3297 textio = self.TextIOWrapper(bufio, encoding='ascii',
3316 t = self.TextIOWrapper(raw, encoding='ascii', newline='\n')
3340 t = self.TextIOWrapper(self.StringIO('a'))
3342 t = self.TextIOWrapper(self.StringIO('a'))
3344 t = self.TextIOWrapper(self.StringIO('a'))
3352 t = io.TextIOWrapper(io.BytesIO(b'foo'), encoding="rot13")
3362 t = self.TextIOWrapper(self.BytesIO(b'aaaaaa'),
3435 t = self.TextIOWrapper(r, 'utf-8')
3452 self.TextIOWrapper(F(), encoding='utf-8')
3457 t = self.TextIOWrapper(F(), encoding='utf-8')
3464 txt = self.TextIOWrapper(raw, encoding='latin1', newline='\n')
3476 txt = self.TextIOWrapper(raw, encoding='ascii', newline='\n')
3486 txt = self.TextIOWrapper(raw, encoding='latin1', newline='\n')
3497 txt = self.TextIOWrapper(raw, encoding='ascii', newline='\n')
3508 txt = self.TextIOWrapper(raw, encoding='ascii', newline='\n')
3518 txt = self.TextIOWrapper(self.BytesIO(), 'ascii', 'replace', '\n')
3542 txt = self.TextIOWrapper(raw, 'ascii', newline='\n')
3546 txt = self.TextIOWrapper(raw, 'ascii', newline='\n')
3550 txt = self.TextIOWrapper(raw, 'ascii', newline='\r')
3554 txt = self.TextIOWrapper(raw, 'ascii', newline='\n')
3558 txt = self.TextIOWrapper(raw, 'ascii', newline='\r')
3562 txt = self.TextIOWrapper(self.BytesIO(), 'ascii', newline='\r')
3578 t = self.TextIOWrapper(self.BytesIO(b'test'), encoding='ascii')
3582 t = self.TextIOWrapper(self.BytesIO(b'test'), encoding='ascii')
3614 t = self.TextIOWrapper(b)
3618 t = self.TextIOWrapper.__new__(self.TextIOWrapper)
3628 t = self.TextIOWrapper(b, encoding="ascii")
3644 t1 = self.TextIOWrapper(b1, encoding="ascii")
3646 t2 = self.TextIOWrapper(b2, encoding="ascii")
3653 t = self.TextIOWrapper(self.BytesIO(), encoding='ascii')