Message153847
Aside: I, too, at first thought this would be a bad idea because it brings back the Python 2 issue of accepting some but not all Unicode strings. But then I realized that by their nature these functions only accepts a very specific set of characters -- so the restriction to (a subset of) ASCII is intrinsic to the functionality, and there is no possibility of confusion. If anything, accepting bytes is more likely to be confusing (they could be EBCDIC! :-). So no objection here. And a slight preference for ValueError. |
|
Date |
User |
Action |
Args |
2012-02-21 04:18:16 | gvanrossum | set | recipients:
+ gvanrossum, pitrou, eric.araujo, r.david.murray, catalin.iacob, python-dev, petri.lehtinen, poq, Anthony.Kong, berker.peksag |
2012-02-21 04:18:16 | gvanrossum | set | messageid: <1329797896.42.0.766721068075.issue13641@psf.upfronthosting.co.za> |
2012-02-21 04:18:15 | gvanrossum | link | issue13641 messages |
2012-02-21 04:18:15 | gvanrossum | create | |
|