Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.8] bpo-13153: Use OS native encoding for converting between Python and Tcl. (GH-16545)#16580

Merged
miss-islington merged 1 commit into
python:3.8python/cpython:3.8from
miss-islington:backport-06cb94b-3.8miss-islington/cpython:backport-06cb94b-3.8Copy head branch name to clipboard
Oct 4, 2019
Merged

[3.8] bpo-13153: Use OS native encoding for converting between Python and Tcl. (GH-16545)#16580
miss-islington merged 1 commit into
python:3.8python/cpython:3.8from
miss-islington:backport-06cb94b-3.8miss-islington/cpython:backport-06cb94b-3.8Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 4, 2019

Copy link
Copy Markdown
Contributor

On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the
"surrogatepass" error handler for converting to/from Tcl Unicode objects.

On Linux use UTF-8 with the "surrogateescape" error handler for converting
to/from Tcl String objects.

Converting strings from Tcl to Python and back now never fails
(except MemoryError).
(cherry picked from commit 06cb94b)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue13153

…cl. (pythonGH-16545)

On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the
"surrogatepass" error handler for converting to/from Tcl Unicode objects.

On Linux use UTF-8 with the "surrogateescape" error handler for converting
to/from Tcl String objects.

Converting strings from Tcl to Python and back now never fails
(except MemoryError).
(cherry picked from commit 06cb94b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit dc19124 into python:3.8 Oct 4, 2019
@miss-islington miss-islington deleted the backport-06cb94b-3.8 branch October 4, 2019 10:28
@miss-islington

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

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

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.