Skip to content

bpo-13153: Use OS native encoding for converting between Python and Tcl. #16545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Oct 4, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix a refleak.
  • Loading branch information
serhiy-storchaka committed Oct 3, 2019
commit 8eb7361241459876e63625eaca460640266d72cb
1 change: 1 addition & 0 deletions Modules/_tkinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,7 @@ AsObj(PyObject *value)
}
size = PyBytes_GET_SIZE(encoded);
if (size > INT_MAX) {
Py_DECREF(encoded);
PyErr_SetString(PyExc_OverflowError, "string is too long");
return NULL;
}
Expand Down