Message193330
Python 3 is supposed to make it easier to do Unicode correctly. str(bytes) does not. I felt strongly enough about that to write this patch.
With this feature my library can have control in a way that is much more practical than ensuring a particular flag has been passed to the interpreter.
It might make sense to modify the patch so str(bytes) can throw a regular exception instead of a warning while under the influence of the new flag. The reason being that the warning will be suppressed the second time around but for this use case you wouldn't want that. |
|
Date |
User |
Action |
Args |
2013-07-18 21:57:41 | dholth | set | recipients:
+ dholth, pitrou, vstinner, r.david.murray, serhiy.storchaka |
2013-07-18 21:57:41 | dholth | set | messageid: <1374184661.92.0.294639601488.issue18373@psf.upfronthosting.co.za> |
2013-07-18 21:57:41 | dholth | link | issue18373 messages |
2013-07-18 21:57:41 | dholth | create | |
|