Mercurial > cpython-lru_cache-weakref
diff Python/_warnings.c @ 53079:f221fce3d6ba
Merged revisions 71024,71058 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71024 | georg.brandl | 2009-04-02 04:47:44 +0200 (Do, 02 Apr 2009) | 4 lines
In PyErr_GivenExceptionMatches, temporarily bump the recursion
limit, so that in the most common case PyObject_IsSubclass will
not raise a recursion error we have to ignore anyway.
........
r71058 | georg.brandl | 2009-04-02 20:09:04 +0200 (Do, 02 Apr 2009) | 3 lines
PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject
call on hitting the recursion limit into just assigning it to the arguments provided.
........
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sat, 11 Apr 2009 21:24:37 +0000 |
| parents | 287df3a09f35 |
| children | 8511c7c0d3ef |
