Message96394
I agree, we need consistency between all functions of this package.
I've run a small script to check what happens for all 16 functions of
the binascii package when they receive unicode input...
See attached script (and sample output).
IMHO 4 functions should be fixed to raise the same TypeError:
- a2b_hex
- a2b_qp
- unhexlify
- rledecode_hqx
Documentation says that the functions in `binary` module « convert
between binary and various ASCII-encoded binary representations »
So... it's all binary.
Implicit encoding should not happen, never. |
|
Date |
User |
Action |
Args |
2009-12-14 19:03:30 | flox | set | recipients:
+ flox, beazley, amaury.forgeotdarc, vstinner |
2009-12-14 19:03:30 | flox | set | messageid: <1260817410.57.0.0454124927922.issue4770@psf.upfronthosting.co.za> |
2009-12-14 19:03:28 | flox | link | issue4770 messages |
2009-12-14 19:03:28 | flox | create | |
|