FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[WIP] gh-73858: Save and restore module warning registries in catch_warnings by segevfiner · Pull Request #8232 · python/cpython · GitHub

Repository navigation

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .c  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Fix another issue introduced by the merge
  • Loading branch information
segevfiner committed Feb 21, 2022
commit d6217a4e7cde317b985f194ca0ef73b55cb2978a
3 changes: 1 addition & 2 deletions Python/_warnings.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,7 @@ warnings_filters_mutated(PyObject *self, PyObject *args)
if (st == NULL) {
return NULL;
}
st->filters_version++;
Py_RETURN_NONE;
return PyLong_FromLong(st->filters_version++);
}

static PyObject *
Expand Down

Back | FazBrowse Home | New Git URL