Message145789
Added a patch that implements two things:
setlocale now raises locale.Error('Locale must be None, a string, or an iterable of two strings -- language code, encoding.'). I decided to remove the proposed .format(locale), as it wasa a bit confusing when passing a tuple containing invalid items.
I also added two tests, one for bytes and another for a tuple of two bytes. |
|
Date |
User |
Action |
Args |
2011-10-18 09:44:45 | nailor | set | recipients:
+ nailor, lemburg, loewis, terry.reedy, vstinner, ezio.melotti, vincent.chute, skrah, python-dev |
2011-10-18 09:44:45 | nailor | set | messageid: <1318931085.63.0.286627314543.issue3067@psf.upfronthosting.co.za> |
2011-10-18 09:44:45 | nailor | link | issue3067 messages |
2011-10-18 09:44:44 | nailor | create | |
|