Searched refs:b2a_qp (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Lib/test/ |
D | test_binascii.py | 264 b2a_qp = binascii.b2a_qp 292 self.assertRaises(TypeError, b2a_qp, foo="bar") 294 self.assertEqual(b2a_qp(type2test(b"\xff\r\n\xff\n\xff")), 296 self.assertEqual(b2a_qp(type2test(b"0"*75+b"\xff\r\n\xff\r\n\xff")), 299 self.assertEqual(b2a_qp(type2test(b'\x7f')), b'=7F') 300 self.assertEqual(b2a_qp(type2test(b'=')), b'=3D') 302 self.assertEqual(b2a_qp(type2test(b'_')), b'_') 303 self.assertEqual(b2a_qp(type2test(b'_'), header=True), b'=5F') 304 self.assertEqual(b2a_qp(type2test(b'x y'), header=True), b'x_y') 305 self.assertEqual(b2a_qp(type2test(b'x '), header=True), b'x=20') [all …]
|
D | test_quopri.py | 51 if quopri.b2a_qp is not None or quopri.a2b_qp is not None: 52 oldencode = quopri.b2a_qp 55 quopri.b2a_qp = None 59 quopri.b2a_qp = oldencode
|
/third_party/python/Lib/ |
D | quopri.py | 15 from binascii import a2b_qp, b2a_qp 18 b2a_qp = None variable 53 if b2a_qp is not None: 55 odata = b2a_qp(data, quotetabs=quotetabs, header=header) 107 if b2a_qp is not None: 108 return b2a_qp(s, quotetabs=quotetabs, header=header)
|
/third_party/python/Lib/email/ |
D | contentmanager.py | 238 data = binascii.b2a_qp(data, istext=False, header=False, quotetabs=True)
|
/third_party/python/Doc/library/ |
D | binascii.rst | 76 .. function:: b2a_qp(data, quotetabs=False, istext=True, header=False)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a4.rst | 344 Fix possible integer overflow in binascii.b2a_qp.
|
D | 3.6.0b2.rst | 578 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
|
D | 3.5.3rc1.rst | 879 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 1214 Fix possible integer overflow in binascii.b2a_qp.
|
D | 3.7.0a1.rst | 4571 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
|
/third_party/python/Misc/ |
D | HISTORY | 46 - Issue #27760: Fix possible integer overflow in binascii.b2a_qp. 23874 - binascii has now two quopri support functions, a2b_qp and b2a_qp.
|