homepage

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.

Author vstinner
Recipients Michael.Felt, michael-o, terry.reedy, vstinner
Date 2018年08月28日.11:20:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535455206.96.0.56676864532.issue34403@psf.upfronthosting.co.za>
In-reply-to
Content
> - 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.
History
Date User Action Args
2018年08月28日 11:20:07vstinnersetrecipients: + vstinner, terry.reedy, Michael.Felt, michael-o
2018年08月28日 11:20:06vstinnersetmessageid: <1535455206.96.0.56676864532.issue34403@psf.upfronthosting.co.za>
2018年08月28日 11:20:06vstinnerlinkissue34403 messages
2018年08月28日 11:20:06vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /