mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Merged revisions 84172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84172 | martin.v.loewis | 2010-08-18 18:12:23 +0200 (Mi, 18 Aug 2010) | 2 lines Restore GIL in nis_cat in case of error. ........
This commit is contained in:
parent
72994f6df3
commit
a5154ad179
2 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ What's New in Python 3.1.3?
|
|||
Core and Builtins
|
||||
-----------------
|
||||
|
||||
- Restore GIL in nis_cat in case of error.
|
||||
|
||||
- Issue #5319: Print an error if flushing stdout fails at interpreter
|
||||
shutdown.
|
||||
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@ nis_foreach (int instatus, char *inkey, int inkeylen, char *inval,
|
|||
PyErr_Clear();
|
||||
Py_XDECREF(key);
|
||||
Py_XDECREF(val);
|
||||
indata->state = PyEval_SaveThread();
|
||||
return 1;
|
||||
}
|
||||
err = PyDict_SetItem(indata->dict, key, val);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue