Message116235
> If we choose to keep this behaviour, I will have to revert my commit on mbcs
> codec to be consistent with os.listdir(). Or at least patch
> PyUnicode_EncodeFSDefault and os.fsencode() (use replace error handler) and
> PyUnicode_DecodeFSDefault and os.fsdecode() (use igrore error handler).
I think trying to emulate, in Python, what the *A functions do is
futile. IIUC, disables WC_NO_BEST_FIT_CHARS, and may do other stuff
which apparently is undocumented.
However, I fail to see the relationship to this issue. Having the MBCS
codec support strict mode is a good thing. |
|
Date |
User |
Action |
Args |
2010-09-12 21:45:02 | loewis | set | recipients:
+ loewis, vstinner |
2010-09-12 21:45:00 | loewis | link | issue9820 messages |
2010-09-12 21:44:59 | loewis | create | |
|