Home
last modified time | relevance | path

Searched refs:a2b_qp (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/test/
Dtest_binascii.py263 a2b_qp = binascii.a2b_qp
266 a2b_qp(data=b"", header=False) # Keyword arguments allowed
270 a2b_qp(b"", **{1:1})
276 self.assertEqual(a2b_qp(type2test(b"=")), b"")
277 self.assertEqual(a2b_qp(type2test(b"= ")), b"= ")
278 self.assertEqual(a2b_qp(type2test(b"==")), b"=")
279 self.assertEqual(a2b_qp(type2test(b"=\nAB")), b"AB")
280 self.assertEqual(a2b_qp(type2test(b"=\r\nAB")), b"AB")
281 self.assertEqual(a2b_qp(type2test(b"=\rAB")), b"") # ?
282 self.assertEqual(a2b_qp(type2test(b"=\rAB\nCD")), b"CD") # ?
[all …]
Dtest_quopri.py51 if quopri.b2a_qp is not None or quopri.a2b_qp is not None:
53 olddecode = quopri.a2b_qp
56 quopri.a2b_qp = None
60 quopri.a2b_qp = olddecode
/third_party/python/Lib/
Dquopri.py15 from binascii import a2b_qp, b2a_qp
17 a2b_qp = None variable
122 if a2b_qp is not None:
124 odata = a2b_qp(data, header=header)
161 if a2b_qp is not None:
162 return a2b_qp(s, header=header)
/third_party/python/Doc/library/
Dbinascii.rst69 .. function:: a2b_qp(data, header=False)
/third_party/python/Misc/NEWS.d/
D3.6.0b2.rst578 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
D3.5.3rc1.rst879 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
D3.7.0a1.rst4571 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
/third_party/python/Misc/
DHISTORY23874 - binascii has now two quopri support functions, a2b_qp and b2a_qp.