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

gh-107954, PEP 741: Add PyConfig_Get() function #123472

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Sep 2, 2024
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
Update Python/initconfig.c
Co-authored-by: B茅n茅dikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
vstinner and picnixz authored Aug 30, 2024
commit 0c20c8a14934479d8ae107865e240f8fe1f3accc
2 changes: 1 addition & 1 deletion 2 Python/initconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -3792,7 +3792,7 @@ PyConfig_Set(const char *name, PyObject *value)
case PyConfig_MEMBER_UINT:
case PyConfig_MEMBER_BOOL:
if (!PyLong_Check(value)) {
PyErr_Format(PyExc_TypeError, "expect int or bool, got %T", value);
PyErr_Format(PyExc_TypeError, "expected int or bool, got %T", value);
return -1;
}
int_value = PyLong_AsInt(value);
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.