Message396625
Irit, the problem is that if you pass the bs parameter equal to None to the quote_from_bytes function, then the bs parameter will not be checked for existence, because a TypeError exception will be raised, and an empty string needs to be returned in this case. The check "if not bs" should be earlier than "if not isinstance (bs, (bytes, bytearray))", because "if bs = None", then the code will not reach this check |
|
Date |
User |
Action |
Args |
2021-06-28 09:44:13 | asicscwcs | set | recipients:
+ asicscwcs, iritkatriel |
2021-06-28 09:44:13 | asicscwcs | set | messageid: <1624873453.01.0.429317870252.issue44520@roundup.psfhosted.org> |
2021-06-28 09:44:13 | asicscwcs | link | issue44520 messages |
2021-06-28 09:44:12 | asicscwcs | create | |
|