bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows#27161
Conversation
|
Disabling |
|
Looks like this is an Azure Pipelines problem. All the passing PRs that don't trip over
While all the PRs that fail in
|
db40e30 to
fbbb3c3
Compare
|
OK, back to square one. There are newer PRs on image 20210711.1 that pass. Knowing my luck, the failures are because my name is Łukasz. |
THIS WAS SUPPOSED TO BE A JOKE |
|
Thanks @ambv for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
Thanks @ambv for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
|
GH-27169 is a backport of this pull request to the 3.10 branch. |
…nviron on Windows (pythonGH-27161) pythonGH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test. (cherry picked from commit 82b218f) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
GH-27170 is a backport of this pull request to the 3.9 branch. |
…nviron on Windows (pythonGH-27161) pythonGH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test. (cherry picked from commit 82b218f) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
…nviron on Windows (GH-27161) (#27169) GH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test. (cherry picked from commit 82b218f) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
…nviron on Windows (GH-27161) (#27170) GH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test. (cherry picked from commit 82b218f) Co-authored-by: Łukasz Langa <lukasz@langa.pl>

GH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of
os.environon the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test.Check the issue for more details, and the comments in this PR for hunting the root cause down. This was first encountered when working on GH-27115.
https://bugs.python.org/issue44647