Skip to content

[3.10] bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161) - #27169

Merged
ambv merged 1 commit into
python:3.10from
miss-islington:backport-82b218f-3.10
Jul 15, 2021
Merged

[3.10] bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161)#27169
ambv merged 1 commit into
python:3.10from
miss-islington:backport-82b218f-3.10

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jul 15, 2021

Copy link
Copy Markdown
Contributor

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

https://bugs.python.org/issue44647

…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>
@miss-islington

Copy link
Copy Markdown
ContributorAuthor

@ambv: Status check is done, and it's a success ✅ .

2 similar comments
@miss-islington

Copy link
Copy Markdown
ContributorAuthor

@ambv: Status check is done, and it's a success ✅ .

@miss-islington

Copy link
Copy Markdown
ContributorAuthor

@ambv: Status check is done, and it's a success ✅ .

@ambv
ambv merged commit 356bdff into python:3.10Jul 15, 2021
@bedevere-bot

Copy link
Copy Markdown

@ambv: Please replace # with GH- in the commit message next time. Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@bedevere-bot@ambv@the-knights-who-say-ni