➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 vstinner
收信人 Michael.Felt, michael-o, terry.reedy, vstinner
日期 2018-08-28.11:20:06
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1535455206.96.0.56676864532.issue34403@psf.upfronthosting.co.za>
In-reply-to
内容
> -            check('utf8=0', [arg.decode(encoding, 'surrogateescape')],
> +            check('utf8=0', [arg.decode('ascii', 'surrogateescape')],
>                    LC_ALL='C')
>  (...)
> == Tests result: SUCCESS ==

Good, it works.

I updated my PR 8969 to implement properly my idea. With this PR, on HP-UX with C or POSIX locale, Python now uses ASCII for its "filesystem encoding": sys.getfilesystemencoding() returns "ascii".

Michael: can you please try my updated PR 8969?

* apply the updated change
* recompile Python
* run the test suite using: LC_ALL=C ./python -m test -j0 -r

You may also test with the current locale: ./python -m test -j0 -r

If everything is good on your side, I will merge my PR.
历史
日期 用户 动作 参数
2018-08-28 11:20:07vstinner修改recipients: + vstinner, terry.reedy, Michael.Felt, michael-o
2018-08-28 11:20:06vstinner修改messageid: <1535455206.96.0.56676864532.issue34403@psf.upfronthosting.co.za>
2018-08-28 11:20:06vstinner链接issue34403 messages
2018-08-28 11:20:06vstinner创建