Message105879
PySSL_RAND_add() uses PyArg_ParseTuple(args, "s#d:RAND_add", ...) and so converts implicitly str to bytes using UTF-8. I would prefer that this function only accepts bytes: the user will have to encode str to bytes *explicitly*.
Attached patch replace s# format by y# format. |
|
Date |
User |
Action |
Args |
2010-05-16 21:31:24 | vstinner | set | recipients:
+ vstinner |
2010-05-16 21:31:24 | vstinner | set | messageid: <1274045484.85.0.763677080971.issue8737@psf.upfronthosting.co.za> |
2010-05-16 21:31:23 | vstinner | link | issue8737 messages |
2010-05-16 21:31:23 | vstinner | create | |
|