Message193270
> if
> (perhaps someone is calling your library and passing it the wrong type)
> they would be guarded against this common error.
OTOH, if your library is concerned about unwanted bytes objects, you can add an explicit type check.
That said, I don't see any counter-argument against this proposal; only that I'm not sure it's very useful. |
|
Date |
User |
Action |
Args |
2013-07-18 08:21:00 | pitrou | set | recipients:
+ pitrou, vstinner, r.david.murray, dholth, serhiy.storchaka |
2013-07-18 08:21:00 | pitrou | set | messageid: <1374135660.44.0.941678151006.issue18373@psf.upfronthosting.co.za> |
2013-07-18 08:21:00 | pitrou | link | issue18373 messages |
2013-07-18 08:21:00 | pitrou | create | |
|