Message319881
I think if we can get a confirmation from @Prawin that adding an alias fixed the issue or a minimal test case then it will be helpful. The minimal I can come up with is as below :
import codecs
# Fails without alias being added other cases like 1252 pass because of alias
assert codecs.encode('a', '874') == codecs.encode('a', 'cp874')
# Below assertion passes after search_function patch though alias is not added since I prepend cp in search_function
assert codecs.encode('a', '874') == codecs.encode('a', 'cp874')
Thanks |
|
Date |
User |
Action |
Args |
2018-06-18 13:16:22 | xtreak | set | recipients:
+ xtreak, ronaldoussoren, vstinner, ezio.melotti, steven.daprano, serhiy.storchaka, winvinc |
2018-06-18 13:16:22 | xtreak | set | messageid: <1529327782.56.0.56676864532.issue33865@psf.upfronthosting.co.za> |
2018-06-18 13:16:22 | xtreak | link | issue33865 messages |
2018-06-18 13:16:22 | xtreak | create | |
|