Message114357
Well, that's what BytesWarning is for. I agree it is annoying in normal use, but it is meant to ease porting of 2.x code. That's why it is only enabled when you use the corresponding command-line switch.
The warning in the dict case is especially important: otherwise it is easy to get a dict with duplicate bytes and unicode keys (say b"xxx" and "xxx"), and potentially different values. |
|
Date |
User |
Action |
Args |
2010-08-19 12:36:09 | pitrou | set | recipients:
+ pitrou, vstinner, ezio.melotti, flox |
2010-08-19 12:36:09 | pitrou | set | messageid: <1282221369.21.0.910449827697.issue9636@psf.upfronthosting.co.za> |
2010-08-19 12:36:08 | pitrou | link | issue9636 messages |
2010-08-19 12:36:07 | pitrou | create | |
|