Message177749
In Python 2 there was no 'binary data' type - everything was a string. Now we have string, str, bytearray, array, list of ints. If hexlify is not accepting anything except bytes, it is better be explicit.
When porting code from Python 2 the argument was passed as a string with escapes inside, so it took some time to figure out why it didn't work in Py3k (actually it took a lot of time, because the research path turned wrong way at this point). |
|
Date |
User |
Action |
Args |
2012-12-19 15:51:41 | techtonik | set | recipients:
+ techtonik, amaury.forgeotdarc, docs@python |
2012-12-19 15:51:41 | techtonik | set | messageid: <1355932301.18.0.48188686616.issue16724@psf.upfronthosting.co.za> |
2012-12-19 15:51:41 | techtonik | link | issue16724 messages |
2012-12-19 15:51:39 | techtonik | create | |
|